[reSIProcate] URI encoding - # symbol

Daniel Pocock daniel at readytechnology.co.uk
Sat Jan 21 06:46:09 CST 2006


I notice in RFC 2396, section 2.4.3, that the # symbol is supposed to be 
excluded from URIs.

This symbol is commonly used in telecoms, as it is one of the buttons on 
a DTMF keypad.

It appears that reSIProcate escapes this symbol (Uri.cxx) as %23 when 
writing the URI into a SIP header.

However, many other products behave differently - I've just tried 
sending a call to a carrier using Nextone, and they don't recognise the 
escaped #.  Asterisk sends them the # un-escaped, and they accept the call.

- is it maybe a good idea to patch Uri.cxx so that the application can 
override escaping behaviour, eg, the application could provide a \0 
terminated list of characters not to escape?

- has this issue already been discussed elsewhere?  I realise I am new 
to this list and may have missed something obvious.

Regards,

Daniel

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3214 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://list.resiprocate.org/pipermail/resiprocate-devel/attachments/20060121/6a9a5a1c/attachment.bin>


More information about the resiprocate-devel mailing list