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">&lt;<a href="mailto:mkellem@vontoo.com">mkellem@vontoo.com</a>&gt;</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">&lt;<a href="mailto:stephen@mymessage.us" target="_blank">stephen@mymessage.us</a>&gt;</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="&#39;courier new&#39;, monospace">new_session = new Session( 
&quot;sofia/internal/1000%192.168.1.10&quot; );<div><br><br>
  console_log( &quot;info&quot;, &quot;Call connected.\n&quot; );<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(&quot;err&quot;, &quot;Call not connected. Cause: &quot; + 
new_session.cause + &quot;[&quot; + new_session.causecode + &quot;]\n&quot; );</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>