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