[Serusers] ENUM service

radan radan at nasty.gda.pl
Wed Aug 20 13:42:38 CEST 2003


On Wed, 20 Aug 2003, Jiri Kuthan wrote:

> At 12:03 PM 8/20/2003, 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]+ at 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 script fragment is correct, perhaps you put it in a wrnig place in the sript.
> 
I don't think so.
When I choose ordynary user i.e anji I have in  syslog:
Aug 20 13:29:37 tel /usr/sbin/ser[1648]: running enum
Aug 20 13:29:37 tel /usr/sbin/ser[1648]: enum_query(): uri user is not an E164 number

When I choose +48583471077 - nothing in my logs and user not found
> 

> >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 at gda.pl!"
> 
> Is it some local DNS map? I can't reach it.

Yes it is my local DNS. Try host -t naptr 7.7.0.1.7.4.3.8.5.8.4.e164.arpa dns.task.gda.pl
> 
> serinstall at sipser:~> host -t naptr 7.7.0.1.7.4.3.8.5.8.4.e164.arpa
> Host 7.7.0.1.7.4.3.8.5.8.4.e164.arpa not found: 3(NXDOMAIN)
> 
> -jiri 

Andrzej




More information about the sr-users mailing list