For all Enum testers
I' ve tested Jiri's code and I think, there shoudl be an * behind
numbers && uri=~"sip:\+[0-9]*@iptel\.org
(if I use the domain [not only uri=~"sip:\+[0-9]*@] it doesn't work.
It's my fault,I think, but I can't figure it out)
Depends on script, but sometimes could be usefull to test CANCEL and ACK
too (method=="INVITE" || method=="CANCEL" ||
method=="ACK").
I'm not sure, but in my script it depends whether I cover all other
redirections and lookup("location") with (method=="INVITE") or not
Don't forget to put the code BEFORE lookup("location");
Jan
On Wed, 2003-08-20 at 12:03, radan wrote:
On Tue, 19 Aug 2003, Jiri Kuthan wrote:
Well, you need to use the enum feature in your
script, not just to load
the module. For example at iptel, we resolve all numbers beginning with +
by ENUM:
# is this an ENUM destination (leading +?)
if (method=="INVITE" && uri=~"sip:\+[0-9]+@iptel\.org")
{
if (!enum_query("voice")) # if parameter empty, it defaults to
"e2u+sip"
enum_query(""); # E2U+sip
};
Thanks Jiri but it still doesn't works.
Ser does't send query about NAPTR record
to my DNS :(
Is still have 404 :(
The zone is correct (received from dns query for my DNS enum)
7.7.0.1.7.4.3.8.5.8.4.e164.arpa. 259200 IN NAPTR 100 10 "u" "sip+e2u"
"!^.*$!sip:radan@gda.pl!"
_______________________________________________
Serusers mailing list
serusers(a)lists.iptel.org
http://lists.iptel.org/mailman/listinfo/serusers