2007/10/17, Jerry Richards <[EMAIL PROTECTED]>:
> 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).

The current (1.12.7) Sofia SIP has almost usable SUBSCRIBE/NOTIFY
implementation with nua_i_subscribe/nua_notify()/nua_r_notify. Instead
of using nua_notifier(), you change SUBSCRIBE to an
application-handled method with NUTAG_APPL_METHOD("SUBSCRIBE"). You
can also use NUTAG_SUBSTATE() to manage the way Subscribtion-State
header is generated.

-- 
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

Reply via email to