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

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

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

Bugs item #2219574, was opened at 2008-11-03 23:43
Message generated for change (Comment added) made by ibc_sf
You can respond by visiting:

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: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Norm Brandinger (norm_brandinger)
Assigned to: Nobody/Anonymous (nobody)
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".


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.



Comment By: IƱaki Baz (ibc_sf)
Date: 2008-11-04 00:35

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:[hidden email] SIP/2.0
  From: <sip:[hidden email]>;tag=1636248422222257
  To: <sip:[hidden email]>;tag=925A3CAD-CEBB276E
  Call-ID: [hidden email]
  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:[hidden email]>
  Content-Length: 162

  <?xml version="1.0"?>
  <dialog-info xmlns="urn:ietf:params:xml:ns:dialog-info"
               entity="sip:[hidden email]">


You can respond by visiting:

Devel mailing list
[hidden email]