By the way, I am calling nua_set_params() with
SIPTAG_ALLOW_EVENTS_STR("dialog;sla;include-session-description"), which is
the same as the Event field of the incoming SUBSCRIBE request.

Jerry


-----Original Message-----
From:
Sent: Friday, October 26, 2007 10:47 AM
To: 'Pekka Pessi'
Cc: 'sofia-sip-devel@lists.sourceforge.net'
Subject: nua_i_subscribe/nua_notify/nua_r_notify


Hello,

Okay, I replaced my nua_notifier() call to nua_notify(), but when I receive
a SUBSCRIBE request from the server, sofia-sip 1.12.6work4 is sending 489
Bad Event response and not calling the callback function at all.  Do I need
to do some other initialization to get sofia-sip to inform me of the
SUBSCRIBE request?

Best Regards,
Jerry



-----Original Message-----
From: Pekka Pessi [mailto:[EMAIL PROTECTED]
Sent: Friday, October 26, 2007 3:03 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/26, Jerry Richards <[EMAIL PROTECTED]>:
> So does this mean that nua_notifier() will not be fixed and eventually
> become extinct?  Is the nua_i_subscribe/nua_notify/nua_r_notify scheme the
> way of the future?  Will this work in my version 1.12.6work4?

They serve different purposes. The nua_notifier suits better for more
traditional event data distribution, handling SUBSCRIBE/NOTIFY more or
less directly with nua_i_subscribe/nua_notify/nua_r_notify suits
better cases where there are some other semantics associated with SIP
events, like in your application.

Of course, the nua_notifier() thing has its downsides, it uses nea
module, which has zero unit tests and unclear semantics.

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