« Back to TCL-API

Fallback dialpeer on script failure

Combination View Flat View Tree View
Threads [ Previous | Next ]
Hi,
I'm devloping a script that does some "number2name." actitivies and fill in the name field using the "set callInfo(displayInfo) $MyText" command:
What I would like is a possibility to handle a script failure: I.e. if any incoming call hit the dialpeer that activates the script and the script, for some unknown reason, fails the call shall be setup on the same gateway but on a dialpeer without the script activated: This will allow the call to be setup even during a script failure.
Lets for example say that incoming number in the 3*** and 4*** range shal be handled by the script.
 
BR
Anders

Hi Anders,
 
In case of script failures the call will cleared, i don't think it is possible to route the call to another dial peer.
 
Thanks,
Raghavendra