are the logs any different?
Thanks,
Stephen C
-All of my email addresses go to the same place
-Save Paper, think before you print
Stephen - I wrapped everything in a try/catch block like you suggested. The script does not throw an exception.On Sat, Jun 26, 2010 at 7:20 AM, Stephen Cattaneo <stephen@mymessage.us> wrote:
I would do the following:
try
{
new_session = new Session( "sofia/internal/1000%192.168.1.10" );catch (e)
console_log( "info", "Call connected.\n" );
// play audio....
}
{
// the causecode is 0 when this fails on a successful call attempt
console_log("err", "Call not connected. Cause: " + new_session.cause + "[" + new_session.causecode + "]\n" );
}
_______________________________________________
FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org