Mon, 18 Jan 2010 20:35:22 +0100
Correct FTP URLs.
1 ISN (ITAD Subscriber Number) lookup integration contribution code
3 Contribution
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.
9 Rationale
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.)
15 Compliance
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.
22 Location
24 http://scm.europalab.com/contrib/opensips/
25 http://scm.europalab.com/contrib/file/tip/opensips/
27 Instructions
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:
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
39 Testing
41 A basic test of this contribution
42 Once compiled and installed, a basic test of this contributed software
43 involves calling the new exported function in the routing script of the
44 OpenSIPS configuration file:
46 # dial '1234*256' from a UAC first
47 isn_query();
48 t_relay();
50 According to the freenum.org cookbook, the ISN '1234*256' is being
51 provided for testing. After dialing the caller hears monkeys screaming.
53 Disclaimer
55 This software contribution is based on source code from OpenSIPS SVN
56 revision 6511. The author makes no guarantees as to this contribution.
57 A user who downloads and executes it does so at his own risk.
59 Michael Schloh von Bennewitz
60 http://michael.schloh.com/
61 Monday, 18. January 2010