[Home]

Summary:ASTERISK-08208: Escaped SIP URI (RFC 3261) doesn't match in dialplan (e.g. "#" with SNOM phones)
Reporter:Robert Heel (bobosch)Labels:
Date Opened:2007-01-25 02:48:36.000-0600Date Closed:2011-06-07 14:08:26
Priority:MinorRegression?No
Status:Closed/CompleteComponents:Functions/General
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:
Description:The new firmware in SNOM phones use the optional encoding of the sip username as described in RFC 3261:

"SIP follows the requirements and guidelines of RFC 2396 [5] when defining the set of characters that must be escaped in a SIP URI, and uses its ""%" HEX HEX" mechanism for escaping."

A "#" is converted in "%23", so 2 lines in the extensions.conf are required:

exten => _#X.,...
exten => _%23X.,...

Asterisk should do the conversion.
Comments:By: thansen (thansen) 2007-03-02 01:52:12.000-0600

Did you try setting pedantic=yes in sip.conf?

By: Robert Heel (bobosch) 2007-03-02 02:24:44.000-0600

No, I didn't. Thank you very much, this works :-)

By: thansen (thansen) 2007-03-02 02:41:37.000-0600

No problem. :) - Please close the bug (if you can).