Does execute_extension terminate a javascript/ lua script?
Hi, A quick question. If I use something like:- session.execute("execute_extension", "myExtension XML default"); inside a javascript file, should this return to the execute the following lines in the script once the extension has completed, or will the script terminate at that point. I know that is the case with a transfer, but not sure about the expected behaviour with an "execute_extension"? Similarly is this the case with an lua script? Many thanks, Neil
Hi, execute_extension won't terminate your script, it doesn't even change the channel's state. Mathieu Rene Avant-Garde Solutions Inc Office: + 1 (514) 664-1044 x100 Cell: +1 (514) 664-1044 x200 mrene@avgs.ca On 2010-09-04, at 2:12 PM, Neil Burgess wrote:
Hi,
A quick question.
If I use something like:-
session.execute(“execute_extension”, “myExtension XML default”);
inside a javascript file, should this return to the execute the following lines in the script once the extension has completed, or will the script terminate at that point.
I know that is the case with a transfer, but not sure about the expected behaviour with an “execute_extension”?
Similarly is this the case with an lua script?
Many thanks, Neil
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
participants (2)
-
Mathieu Rene
-
Neil Burgess