are the logs any different?<br><br clear="all">Thanks,<br>Stephen C<br>-All of my email addresses go to the same place<br>-Save Paper, think before you print<br><br>
<br><br><div class="gmail_quote">On Mon, Jun 28, 2010 at 9:51 AM, Marc Kellem <span dir="ltr"><<a href="mailto:mkellem@vontoo.com">mkellem@vontoo.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Stephen - I wrapped everything in a try/catch block like you suggested. The script does not throw an exception. <div><div></div><div class="h5"><div><div><br><div class="gmail_quote">On Sat, Jun 26, 2010 at 7:20 AM, Stephen Cattaneo <span dir="ltr"><<a href="mailto:stephen@mymessage.us" target="_blank">stephen@mymessage.us</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">I would do the following:<br><br>try<br>{<br><font face="'courier new', monospace">new_session = new Session(
"sofia/internal/1000%192.168.1.10" );<div><br><br>
console_log( "info", "Call connected.\n" );<br> // play audio....<br>}<br></div>catch (e)<div><br>{<br> // the causecode is 0 when this fails on a successful call
attempt<br> console_log("err", "Call not connected. Cause: " +
new_session.cause + "[" + new_session.causecode + "]\n" );</div></font><br>}<br><br></blockquote></div></div></div>
</div></div><br>_______________________________________________<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<br></blockquote></div><br>