isn-discuss - Fwd: Re: OpenSER ENUM module now has ISN functionality
Subject: Discussion List for Freenum/ITAD Subscriber Number (ISN) Project
List archive
- From: John Todd <>
- To:
- Subject: Fwd: Re: OpenSER ENUM module now has ISN functionality
- Date: Mon, 13 Nov 2006 16:49:00 -0800
Title: Fwd: Re: OpenSER ENUM module now has ISN functionality
Good news! Looks like openSER might have native ISN
lookups in it shortly. If anyone is interested in this patch,
please try it out and let me know. I don't run openSER in a
non-production environment right now, so I don't have a handy
testbed.
JT
Date: Mon, 13 Nov 2006 14:40:48 -0800
From: Christian Rees <>
Organization: sipcall.com, Inc.
To: John Todd <>
Subject: Re: OpenSER ENUM module now has ISN functionality
John,
I don't think Juha has updated the README / docs yet. However, this is what he sent me:
enclosed find a modified openser cvs HEAD enum module that includes
isn_query(suffix) and isn_query(suffix, service) functions. README has
not been updated yet.
here is usage example:
if (uri =~ "sip:[0-9]+\*[0-9]+@") {
isn_query("test.fi");
}
you can replace "test.fi" with "freenum.org".
this test version of isn_query produces some extra debugs so that you
see in syslog what happens. for example, call to sip:1234*
produces:
May 9 12:59:50 rautu /usr/sbin/openser[9111]: isn_query(): Name is 4.3.2.1.260.test.fi.
May 9 12:59:50 rautu /usr/sbin/openser[9111]: isn_query(): resulted in replacement: 'sip:'
when dns has in test.fi zone entry:
*.260IN NAPTR 1 1 "u" "E2U+sip" "!^\\+*([^\\*]*)!sip:\\!i" .
I'm also not sure the debug has been disabled yet. Will let you know.
I've attached the source for your perusal.
Cheers,
-Christian
P.S. If you could mention that we sponsored this, would be greatly appreciated.
---
John Todd wrote:
Re: OpenSER ENUM module now has ISN functionalityExcellent! This is great news. How do I send you and Juha a case of your favorite beer/candy/etc?Do you have any documentation on the additions to the module?JT
Hi John,
like mentioned earlier, I had contacted Juha Christensen, the author and maintainer of the (Open)SER ENUM module, about the possibility to add ISN lookup functionality to it.
Juha graciously agreed, and he has now implemented this. Hopefully he'll be able to commit it into CVS, granted he does get the go ahead from the project leads. Until then, I can provide it for download.
We hope that having ISN lookups as a standard feature of OpenSER will increase it's usage in the community.
Let us know what you think.
Cheers,
-Christian
--
Christian A. Rees
President
sipcall.com, Inc.
Email:Phone: +1-650-688-5755
Attachment:
enum.tgz
Description: Binary data
- Fwd: Re: OpenSER ENUM module now has ISN functionality, John Todd, 11/13/2006
Archive powered by MHonArc 2.6.16.