[Freeswitch-users] Does execute_extension terminate a javascript/ lua script?

Mathieu Rene mrene_lists at avgs.ca
Sat Sep 4 11:16:58 PDT 2010


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 at 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 at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100904/ddbe81d5/attachment-0001.html 


More information about the FreeSWITCH-users mailing list