[Kamailio-Devel] SF.net SVN: openser:[5700] trunk/modules/siputils/checks.c
Inaki Baz Castillo
ibc at aliax.net
Sat Mar 14 02:20:00 CET 2009
Revision: 5700
http://openser.svn.sourceforge.net/openser/?rev=5700&view=rev
Author: ibc_sf
Date: 2009-03-14 01:20:00 +0000 (Sat, 14 Mar 2009)
Log Message:
-----------
- Improved 'tel2sip()' according to RFC 3261 section 19.1.6:
- Compare "tel:" case insensitive (allows "TEL:")
- Remove TEL number visual separators ( "-", ".", "(", ")" ) before converting to SIP URI userinfo
- Downcase TEL parameters before appending them to SIP URI userinfo
- Example:
TEL:+12-(34)-56-78;Ext=200;ISUB=+123-456 becomes: sip:+12345678;ext=200;isub=+123-456 at foo.com;user=phone
- TODO:
- Sort alphabetically TEL parameters before appending them to SIP URI userinfo (but "isub" and "ext" params must be at the beginning)
- Improve the conversion with possible new rules in RFC's 4715, 4759, 4694 and 4904 (all of them define new TEL URI params)
Modified Paths:
--------------
trunk/modules/siputils/checks.c
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the Devel
mailing list