Hmmm, I would call this a well-dressed bug. My application shares call resources with a state agent server. As such, it must send a NOTIFY message to reserve the call resource and wait for the 200 OK confirmation, prior to sending out an INVITE message.
With the current sofia-sip implementation, I will need to create a timer and always wait some fixed period of time for an error response before I can send the INVITE. The problem with this is that any chosen time period can be prone to error due to slow network response. Obviously, I would like to send the INVITE as soon as the network will allow (i.e. when the 200 OK is received). Best Regards, Jerry -----Original Message----- From: Pekka Pessi [mailto:[EMAIL PROTECTED] Sent: Wednesday, October 17, 2007 7:06 AM To: Jerry Richards Cc: sofia-sip-devel@lists.sourceforge.net Subject: Re: [Sofia-sip-devel] 1.12.4 Bug In nua_r_notifier Event? 2007/10/2, Jerry Richards <[EMAIL PROTECTED]>: > Is this a bug in 1.12.4? It has a jacket and tie, so it looks like a feature.. > I'm calling nua_notifier() for a dialog subscription and sofia-sip > immediately returns with an "nua_r_notifier 200 OK" event (and NULL sip > message pointer), which is reported PRIOR TO the phone's receipt of the real > 200 OK message from the server. Then when the actual 200 OK is received, > the sofia-sip is not reporting anything to the application. The notifier works a bit like local event server. You publish event content using nua_notifier(), but the event server takes care of delivering the event content to authorized recipients on its own. The nua_r_notifier is sent after the notifier state is successfully updated. Depending on the event, the actual NOTIFY is sent immediately or after a certain delay. The 200 OK from the subscriber is not reported. However, I believe, error responses terminating the subscription are reported with nua_i_subscriber event. -- Pekka.Pessi mail at nokia.com ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Sofia-sip-devel mailing list Sofia-sip-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sofia-sip-devel