2008/4/8, Jarkko Riekki <[EMAIL PROTECTED]>:
> I would like to create a nua_notifier on an incoming nua_i_subscribe event
> (initial subscribe). Is there some way how to respond to this incoming event
> (initial subscribe) with a new nua_notifier, and add this subscription to
> the notifier? If there is no way doing this, I guess I have to generate
> appropriate notify and ok responses to accept the subscription. Then, how
> can I add this newly accepted subscription to the new notifier, so that it
> will get notify messages when updating the notifier? The thing is that I
> cannot create nua_notifier until an initial subscribe arrives.

Sure you can, it just have no subscribers, Or that is its intended
usage. There is no event/payload negotiation between application and
the subscriber, so you have to send nua_notifier() with all the
payload formats you plan to support.

> I could not
> find any solution for this. Can you, please, help me with this problem?

If you reallyreally need to create notifier after initial
subscription, do create nua_notifier() and then ask client to
re-subscribe with 500 and SIPTAG_RETRY_AFTER_STR("0").

-- 
Pekka.Pessi mail at nokia.com

-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
Sofia-sip-devel mailing list
Sofia-sip-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sofia-sip-devel

Reply via email to