[Freeswitch-users] Execute perl file from javascript

Leonardo Alves leoalves at teltec.com.br
Fri Apr 11 05:40:05 PDT 2008


Is there anyway to execute a perl file from a javascript file.

What I am doing is this. 
I am making a originate command from a perl file passing a javascript file to execute when the call is answered.
Like this:
$fs->sendmsg({'command' => 'bgapi originate {ignore_early_media}sofia/gateway/asterisk/9192117290 &javascript(test.js)'});

What I want is from this javascript file execute a .pl file.  

Thanks
Leonardo Alves
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20080411/020520cc/attachment-0002.html 


More information about the FreeSWITCH-users mailing list