1.1 --- a/opensips/enum-isn.txt Wed Feb 10 21:25:01 2010 +0100 1.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 1.3 @@ -1,61 +0,0 @@ 1.4 -ISN (ITAD Subscriber Number) lookup integration contribution code 1.5 - 1.6 -Contribution 1.7 - 1.8 -This contribution introduces ISN formatting logic into the OpenSIPS 1.9 -ENUM module, allowing it to perform NAPTR based ISN lookups on the 1.10 -user part of the Request-URI in addition to the existing ENUM lookups. 1.11 - 1.12 -Rationale 1.13 - 1.14 -This extends the utility of the existing E.164 formatting logic which 1.15 -previously caused valid ISN lookups to fail (although the OpenSIPS 1.16 -documentation did suggest that lookups to freenum.org would succeed.) 1.17 - 1.18 -Compliance 1.19 - 1.20 -The author believes that the introduced logic complies with the 1.21 -relevant ITAD standards as defined by RFC 3872 and RFC 2871, however 1.22 -it seems that at this time ISN is rather loosely defined according to 1.23 -nonstandard documentation provided by freenum.org. 1.24 - 1.25 -Location 1.26 - 1.27 -http://scm.europalab.com/contrib/opensips/ 1.28 -http://scm.europalab.com/contrib/file/tip/opensips/ 1.29 - 1.30 -Instructions 1.31 - 1.32 -To integrate this contributed logic into the source code tree of 1.33 -a OpenSIPS distribution, download the unified diff and use the 1.34 -patch(1) command: 1.35 - 1.36 - $ cd /tmp && mkdir enum-patch && cd enum-patch 1.37 - $ wget http://scm.europalab.com/contrib/raw-file/tip/opensips/enum-isn.diff 1.38 - $ tar zxf /tmp/opensips-<version>-tls.tar.gz 1.39 - $ cd opensips-<version>-tls 1.40 - $ patch -p0 <../enum-isn.diff 1.41 - 1.42 -Testing 1.43 - 1.44 -A basic test of this contribution 1.45 -Once compiled and installed, a basic test of this contributed software 1.46 -involves calling the new exported function in the routing script of the 1.47 -OpenSIPS configuration file: 1.48 - 1.49 - # dial '1234*256' from a UAC first 1.50 - isn_query(); 1.51 - t_relay(); 1.52 - 1.53 -According to the freenum.org cookbook, the ISN '1234*256' is being 1.54 -provided for testing. After dialing the caller hears monkeys screaming. 1.55 - 1.56 -Disclaimer 1.57 - 1.58 -This software contribution is based on source code from OpenSIPS SVN 1.59 -revision 6511. The author makes no guarantees as to this contribution. 1.60 -A user who downloads and executes it does so at his own risk. 1.61 - 1.62 -Michael Schloh von Bennewitz 1.63 -http://michael.schloh.com/ 1.64 -Monday, 18. January 2010