[OpenSIPS-Devel] [ opensips-Bugs-2173727 ] presence: NOTIFY to tel: URI fails

SourceForge.net noreply at sourceforge.net
Fri Oct 17 05:45:46 CEST 2008


Bugs item #2173727, was opened at 2008-10-16 23:45
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=1086410&aid=2173727&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: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Phil Vandry (vandry)
Assigned to: Nobody/Anonymous (nobody)
Summary: presence: NOTIFY to tel: URI fails

Initial Comment:
The presence module must remember the URI in the To: header of a SUBSCRIBE request and copy it to the From: header of an outgoing NOTIFY request. This works for sip URIs but fails for tel URIs.

Actually it parses the URI as user at domain and stores the user & domain seperately in the database so it looks like it was not designed to work with tel: URIs.

The attached patch implements a workaround: a tel: URI will be saved with the telephone number in the username field and a blank domain; when this information needs to be converted back to a URI, a blank domain signals that a tel: URI should be generated. Actually this is OK since a sip: URI can never contain a blank domain.

With this patch, it is possible to subscribe to a presentity for presence using a tel: URI.

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

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



More information about the Devel mailing list