On 1/31/07, Colin Whittaker <[EMAIL PROTECTED]> wrote:
> When you said should not be too hard, which approach do you think is best /
> easiest ?
Pushed to darcs:
Fri Feb 2 02:12:21 EET 2007 [EMAIL PROTECTED]
* nua: allow unsolicited NOTIFY.
When NUTAG_NEWSUB(1) is included in nua_notify() tags, notifier will allow
sending unsolicited NOTIFY without existing subscription.
When NUTAG_APPL_METHOD("NOTIFY") is included in nua_set_params() tags,
incoming NOTIFYs are to be processed and accepted by application.
A usage example is in test_simple.c. Comments?
--Pekka
> Pekka Pessi wrote:
> On 1/31/07, Colin Whittaker <[EMAIL PROTECTED]> wrote:
>
>
> It appears that Sofia does not allow support for unsolicited NOTIFY events.
> This is a problem for proxies which prefer to generate message waiting
> NOTIFY packets without supporting subscription.
> The NORTEL DMS is an example of such a proxy.
> It replies 501 to a SUBSCRIBE for message-summary, but sends a NOTIFY
> when a voice-mail is available.
>
> OK. What is the event there, "message-summary"? Is there a single
> NOTIFY only, or several? And is the Subscription-State header included
> in the request? And is the NOTIFY sent within an existing dialog or
> outside them? A message trace from tcpdump/ethereal/wireshard would be
> doubleplusgood.
>
>
>
> It seems to me the stack should forward the NOTIFY to the application
> via the nua_i_notify. Then the application could handle it
> appropriately. i.e. send back the 481 if it does not want it.
> I realize this would be outside a dialog, but it still seems like it
> should be up to the application even if it has to handle the nua_handle
> differently for subscribed NOTIFYs and non-subscribed NOTIFYs. I think a
> simple check to see if the handle is the same as the subscription handle
> is an easy test.
>
>
>
> Alternatively, the application could subscribe for any NOTIFY packet
> silently somehow. Or a TAG that allows un-subscribed NOTIFY packets to
> get processed by the application.
> What do you think ?
>
> Should not be too hard..
>
>
>
> Is this such a large violation of the spec that I need to push Nortel to
> fix their side ?
>
> Nope. I think there are also other uses of unsolicitated NOTIFYs.
>
>
>
>
--
Pekka.Pessi mail at nokia.com
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Sofia-sip-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sofia-sip-devel