[Freeswitch-users] How to tell if 100 Trying received

2009-04-21 Thread John Dalgliesh
Hi, I am trying to use FS to make outgoing SIP calls. I have a number of gateways that can make the call. However, if one of them is down or has some other problem then I would like to detect that quickly. I intended to use the provisional '100 Trying' message for this... if it hasn't been

Re: [Freeswitch-users] How to tell if 100 Trying received

2009-04-21 Thread Anthony Minessale
That 100 trying is handled deep in the sip stack. The author of sofia said it would be a big job to bring that up to the even callback. Someone may be able to persuade him to allow you to pass a global timeout waiting for 100 or something but no solution exists atm On Tue, Apr 21, 2009 at 3:32

Re: [Freeswitch-users] How to tell if 100 Trying received

2009-04-21 Thread John Dalgliesh
Hi Anthony, Thanks for the reply! While waiting for my question to appear on the list yesterday (6H delay at yoda.ostag.org... is first post moderated?) I went deep into the SIP stack and figured out the solution: You just have to give NTATAG_PASS_100(1) as one of the tags for nua_create.

Re: [Freeswitch-users] How to tell if 100 Trying received

2009-04-21 Thread Brian West
Patches should be posted to http://jira.freeswitch.org, Thanks for digging in. /b On Apr 21, 2009, at 10:22 PM, John Dalgliesh wrote: Hi Anthony, Thanks for the reply! While waiting for my question to appear on the list yesterday (6H delay at yoda.ostag.org... is first post moderated?)

Re: [Freeswitch-users] How to tell if 100 Trying received

2009-04-21 Thread Anthony Minessale
I guess maybe he added it as a result of our last conversation and never told me. yes, if you do it elegantly we can add that patch. submit what you have to jira in we can do code review. On Tue, Apr 21, 2009 at 10:38 PM, Brian West br...@freeswitch.org wrote: Patches should be posted to