Thanks, Michael.  By the way, do you know how to convert a sip_t pointer into a 
msg_t pointer?  My callback function gets a sip_t pointer.

Regards,
Jerry

From: Michael Jerris [mailto:m...@jerris.com]
Sent: Thursday, May 08, 2014 11:07 AM
To: Jerry Richards
Cc: sofia-sip-devel@lists.sourceforge.net
Subject: Re: [Sofia-sip-devel] How To Respond To In-Dialog NOTIFY?

use NUTAG_WITH_THIS_MSG(msg) where msg is the msg passed to the original 
callback.

On May 8, 2014, at 12:21 PM, Jerry Richards 
<jerry.richa...@teotech.com<mailto:jerry.richa...@teotech.com>> wrote:


Hello,

I'm trying to handle an in-dialog NOTIFY Event hold/talk message (i.e. to put a 
call on-hold and take off-hold) from a SIP server.  The NOTIFY has no 
subscription and sofia-sip reports the nua_i_notify event with the same 
nua_handle as the INVITE.

The problem is when I invoke nua_respond(nh, status, phrase) from the callback 
function in response to the NOTIFY message, sofia-sip comes back with "500 
Responding to a Non-Existing Request".

What would be the proper way to respond to this?

Thanks,
Jerry

------------------------------------------------------------------------------
Is your legacy SCM system holding you back? Join Perforce May 7 to find out:
&#149; 3 signs your SCM is hindering your productivity
&#149; Requirements for releasing software faster
&#149; Expert tips and advice for migrating your SCM now
http://p.sf.net/sfu/perforce
_______________________________________________
Sofia-sip-devel mailing list
Sofia-sip-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sofia-sip-devel

Reply via email to