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
_______________________________________________
Freeswitch-users mailing list
[email protected]
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org

Reply via email to