<font face="Arial, Helvetica, sans-serif">I want to run a script with a scheduler but I'm having a problem with how to set up the originate in Javascript.<br>
<br>
The originate would go something like:<br>
<br>
originate {id_name='${caller_id_name}',id_number=${caller_id_number}}sofia/gateway/spa3102PSTN/12223334444@10.0.0.5:5061 GINO_ANS<br>
<br>
I can get this to work:<br>
<br>
session = new Session("{id_name='${caller_id_name}',id_number=${caller_id_number}}sofia/gateway/spa3102PSTN/14082031170@10.0.0.5:5061");<br>
<br>
But I want to "drop" that into an extension that runs another script and can't get either of these to work:<br>
<br>
session = new Session("{id_name='${caller_id_name}',id_number=${caller_id_number}}sofia/gateway/spa3102PSTN/14082031170@10.0.0.5:5061 GINO_ANS"); <br>
<br>
</font><font face="Arial, Helvetica, sans-serif">session = new
Session("{id_name='${caller_id_name}',id_number=${caller_id_number}}sofia/gateway/spa3102PSTN/14082031170@10.0.0.5:5061
GINO_ANS XML default");<br>
<br>
Also, will I have problems running the second script from the first script?<br>
<br>
Thanks.<br>
<br>
<br>
</font><div id='MAILCIAMA017-5c6849dd30171d4' class='aol_ad_footer'><br/><font style="color:black;font:normal 10pt arial,san-serif;"> <hr style="margin-top:10px"/><A HREF=http://pr.atwola.com/promoclk/100126575x1219939010x1201342897/aol?redir=http:%2F%2Fad.doubleclick.net%2Fclk%3B213771626%3B35379597%3Bw>New Deals on Dell Netbooks - Now starting at $299</A></font> </div>