[Freeswitch-users] Script ends when originate receives INVALID_NUMBER_FORMAT
Oscav
oscav at hotmail.fr
Fri Jan 22 09:53:25 PST 2010
Hi,
My script ends when I received a 484 INVALID_NUMBER_FORMAT, and doesn't
continue even the script or a hangup Hook.
Here is the script :
session.setVariable("hangup_after_bridge",false);
...
session.setVariable("continue_on_fail","true");
...
session.preAnswer();
...
new_session = new Session(route,session);
new_session.waitForAnswer(15000);
if (new_session.ready()) {
bridge(session, new_session);
}
...
console_log("info","call ended")
...
Is there something missing on my script ??
Thanks.
--
View this message in context: http://old.nabble.com/Script-ends-when-originate-receives-INVALID_NUMBER_FORMAT-tp27277429p27277429.html
Sent from the Freeswitch-users mailing list archive at Nabble.com.
More information about the FreeSWITCH-users
mailing list