Mon, 18 Jan 2010 19:59:51 +0100
Introduce ISN formatting and lookup logic into the ENUM module.
A detailed description of these changes is provided in enum-isn.txt.
michael@13 | 1 | ISN (ITAD Subscriber Number) lookup integration contribution code |
michael@13 | 2 | |
michael@13 | 3 | Contribution |
michael@13 | 4 | |
michael@13 | 5 | This contribution introduces ISN formatting logic into the OpenSIPS |
michael@13 | 6 | ENUM module, allowing it to perform NAPTR based ISN lookups on the |
michael@13 | 7 | user part of the Request-URI in addition to the existing ENUM lookups. |
michael@13 | 8 | |
michael@13 | 9 | Rationale |
michael@13 | 10 | |
michael@13 | 11 | This extends the utility of the existing E.164 formatting logic which |
michael@13 | 12 | previously caused valid ISN lookups to fail (although the OpenSIPS |
michael@13 | 13 | documentation did suggest that lookups to freenum.org would succeed.) |
michael@13 | 14 | |
michael@13 | 15 | Compliance |
michael@13 | 16 | |
michael@13 | 17 | The author believes that the introduced logic complies with the |
michael@13 | 18 | relevant ITAD standards as defined by RFC 3872 and RFC 2871, however |
michael@13 | 19 | it seems that at this time ISN is rather loosely defined according to |
michael@13 | 20 | nonstandard documentation provided by freenum.org. |
michael@13 | 21 | |
michael@13 | 22 | Location |
michael@13 | 23 | |
michael@13 | 24 | http://scm.europalab.com/contrib/opensips/ |
michael@13 | 25 | http://scm.europalab.com/contrib/file/tip/opensips/ |
michael@13 | 26 | |
michael@13 | 27 | Instructions |
michael@13 | 28 | |
michael@13 | 29 | To integrate this contributed logic into the source code tree of |
michael@13 | 30 | a OpenSIPS distribution, download the unified diff and use the |
michael@13 | 31 | patch(1) command: |
michael@13 | 32 | |
michael@13 | 33 | $ cd /tmp && mkdir enum-patch && cd enum-patch |
michael@13 | 34 | $ wget http://scm.europalab.com/contrib/raw-file/tip/opensips/enum-isn.diff |
michael@13 | 35 | $ tar zxf /tmp/opensips-<version>-tls.tar.gz |
michael@13 | 36 | $ cd opensips-<version>-tls |
michael@13 | 37 | $ patch -p0 <../enum-isn.diff |
michael@13 | 38 | |
michael@13 | 39 | Disclaimer |
michael@13 | 40 | |
michael@13 | 41 | This software contribution is based on source code from OpenSIPS SVN |
michael@13 | 42 | revision 6511. The author makes no guarantees as to this contribution. |
michael@13 | 43 | A user who downloads and executes it does so at his own risk. |
michael@13 | 44 | |
michael@13 | 45 | Michael Schloh von Bennewitz |
michael@13 | 46 | http://michael.schloh.com/ |
michael@13 | 47 | Monday, 18. January 2010 |