[OpenSIPS-Devel] [ opensips-Bugs-2219574 ] pua_bla/notify.c breaks RFC3265

SourceForge.net noreply at sourceforge.net
Tue Nov 4 14:29:17 CET 2008


Bugs item #2219574, was opened at 2008-11-03 22:43
Message generated for change (Comment added) made by norm_brandinger
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=1086410&aid=2219574&group_id=232389

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: modules
Group: trunk
>Status: Closed
Resolution: None
Priority: 5
Private: No
Submitted By: Norm Brandinger (norm_brandinger)
Assigned to: Anca Vamanu (anca_vamanu)
Summary: pua_bla/notify.c breaks RFC3265

Initial Comment:
pua_bla/notify.c requires the Subscription-State header value "active" to have an "expires" parameter and throws an error if it's not present.

RFC3265 (the important section listed below indicates that the "expires" is optional by use of the conditional "If".

RFC3265:

3.2.4. Subscriber NOTIFY Behavior

... If the header also contains an "expires" parameter, the subscriber ...

Note that Polycom phones appear to contain an "expires" parameter while Aastra phones to not.

Regards,
Norm


----------------------------------------------------------------------

>Comment By: Norm Brandinger (norm_brandinger)
Date: 2008-11-04 13:29

Message:
The fix by Anca resolves this issue.

Thank you.
Norm

----------------------------------------------------------------------

Comment By: Anca Vamanu (anca_vamanu)
Date: 2008-11-04 13:04

Message:
Hi Norman,

Please test and reply with the results.

regards,
Anca

----------------------------------------------------------------------

Comment By: Iñaki Baz (ibc_sf)
Date: 2008-11-03 23:35

Message:
Also, draft-anil-sipping-bla-04 shows some flow examples in which
Subscription-State header doesn't contain "expires" parameter:

[Page 16]

F9 Appearance Agent ----> Alice

  NOTIFY sip:alice at ua1.example.com SIP/2.0
  From: <sip:sa at stateagent.example.com>;tag=1636248422222257
  To: <sip:alice at example.com>;tag=925A3CAD-CEBB276E
  Call-ID: ef4704d9-bb68aa0b-474c9d94 at ua1.example.com
  CSeq: 2 NOTIFY
  Via: SIP/2.0/UDP stateagent.example.com;branch=z9hG4bK1846984327225734
  Max-Forwards: 70
  Content-Type: application/dialog-info+xml
  Event: dialog;ma
  Subscription-State: active
  Contact: <sip:sa at stateagent.example.com>
  Content-Length: 162

  <?xml version="1.0"?>
  <dialog-info xmlns="urn:ietf:params:xml:ns:dialog-info"
               version="40"
               state="full"
               entity="sip:alice at example.com">
  </dialog-info>

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=1086410&aid=2219574&group_id=232389



More information about the Devel mailing list