Hi Nauman,

2011/2/10 Nauman Sulaiman <nauman762-h...@yahoo.co.uk>:
> Hi, Using latest Sofia master from git. When i get an incoming REFER the 
> stack sends NOTIFY's to the referror if i pass the event to the INVITE i 
> generate. This works very nicely.
>
> But how does the app know what NOTIFY's are being sent to the referror  ie i 
> would like to get hold of the Sipfrag, event nua_r_notify or nua_i|_state are 
> both no good.  So i need to know when 180 ringing is being sent, or if the 
> Invite generated failed eg with 486 etc.

The code is here:

http://gitorious.org/sofia-sip/sofia-sip/blobs/master/libsofia-sip-ua/nua/nua_session.c#line3019

The fragment is not sent to application. In case of autoalert or
autoanswer, the application gets the initial status from nua_i_invite.

-- 
Pekka.Pessi mail at nokia.com

------------------------------------------------------------------------------
What You Don't Know About Data Connectivity CAN Hurt You
This paper provides an overview of data connectivity, details
its effect on application quality, and explores various alternative
solutions. http://p.sf.net/sfu/progress-d2d
_______________________________________________
Sofia-sip-devel mailing list
Sofia-sip-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sofia-sip-devel

Reply via email to