[ 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
|  
Report Content as Inappropriate

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

SourceForge.net
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:
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: 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".

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: IƱaki Baz (ibc_sf)
Date: 2008-11-04 00: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:[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"
               version="40"
               state="full"
               entity="sip:[hidden email]">
  </dialog-info>

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

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

_______________________________________________
Devel mailing list
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/devel
Loading...