<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content=text/html;charset=iso-8859-1>
<META content="MSHTML 6.00.6000.16643" name=GENERATOR></HEAD>
<BODY id=MailContainerBody
style="PADDING-RIGHT: 10px; PADDING-LEFT: 10px; PADDING-TOP: 15px"
bgColor=#ffffff leftMargin=0 topMargin=0 CanvasTabStop="true"
name="Compose message area">
<DIV><FONT face=Arial size=2>Is there anyway to execute a perl file from a
javascript file.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>What I am doing is this. </FONT></DIV>
<DIV><FONT face=Arial size=2>I am making a originate command from a perl file
passing a javascript file to execute when the call is answered.</FONT></DIV>
<DIV><FONT face=Arial size=2>Like this:</FONT></DIV>
<DIV><FONT face=Arial size=2>$fs->sendmsg({'command' => 'bgapi originate
{ignore_early_media}sofia/gateway/asterisk/9192117290
&javascript(test.js)'});</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>What I want is from this javascript file execute a
.pl file. </FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Thanks</FONT></DIV>
<DIV><FONT face=Arial size=2>Leonardo Alves</FONT></DIV></BODY></HTML>