34 $ wget http://scm.europalab.com/contrib/raw-file/tip/opensips/enum-isn.diff |
34 $ wget http://scm.europalab.com/contrib/raw-file/tip/opensips/enum-isn.diff |
35 $ tar zxf /tmp/opensips-<version>-tls.tar.gz |
35 $ tar zxf /tmp/opensips-<version>-tls.tar.gz |
36 $ cd opensips-<version>-tls |
36 $ cd opensips-<version>-tls |
37 $ patch -p0 <../enum-isn.diff |
37 $ patch -p0 <../enum-isn.diff |
38 |
38 |
|
39 Testing |
|
40 |
|
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: |
|
45 |
|
46 # dial '1234*256' from a UAC first |
|
47 isn_query(); |
|
48 t_relay(); |
|
49 |
|
50 According to the freenum.org cookbook, the ISN '1234*256' is being |
|
51 provided for testing. After dialing the caller hears monkeys screaming. |
|
52 |
39 Disclaimer |
53 Disclaimer |
40 |
54 |
41 This software contribution is based on source code from OpenSIPS SVN |
55 This software contribution is based on source code from OpenSIPS SVN |
42 revision 6511. The author makes no guarantees as to this contribution. |
56 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. |
57 A user who downloads and executes it does so at his own risk. |