I support both subscribed and non-subscribed NOTIFY. If the NOTIFY is subscribed, i.e. the handle is the same as my SUBSCRIBE handle, you do not need to respond. If the NOTIFY is a non-subscribed I respond with: nua_respond( nh, SIP_200_OK, NUTAG_WITH_THIS(nua_agent), TAG_END() ); nua_handle_destroy( nh ); nua_agent is your nua_t * from nua_create(). I also use SIP_481_NO_CALL if the NOTIFY is something I do not want. Colin.. Jerry Richards wrote:
Jerry Richards wrote: Hello All, Is there a way to accept inbound NOTIFY messages that were not previously subscribed to via nua_subscribe()? I have a server that wants to send unsolicited message-summary events. Right now, sofia-sip will reply to the unsolicited NOTIFY messages with 481 Subscription Does Not Exist. Best Regards, Jerry ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Sofia-sip-devel mailing list Sofia-sip-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sofia-sip-devel |
------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________ Sofia-sip-devel mailing list Sofia-sip-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sofia-sip-devel