[Serusers] ENUM service

Jiri Kuthan jiri at iptel.org
Tue Aug 19 18:45:06 CEST 2003


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
    };

-jiri

At 04:30 PM 8/19/2003, radan wrote:
>Hello all !
>This time I have problem with enum (ver 0.8.11pre29)
>I've loaded a module enum.so and did ENUM NAPTR Records like this 
>(according with draft-ietf-sipping-e164-02)
>
>$TTL 259200
>@       IN      SOA     dns.gda.pl. dns.gda.pl. (
>        3
>        1D 2H 4W 4D
>)
>        IN      NS      dns.gda.pl.
>
>$ORIGIN 7.7.0.1.7.4.3.8.5.8.4.e164.arpa.
>
>IN      NAPTR   100     10      "u" "sip+e2u"           "!^.*$!sip:anji at mydomian.pl!"   .
>IN      NAPTR   100     20      "u" "mailto+e2u"        "!^.*$mailto:radan at .mydomian.pl!" .
>
>
>The zone is loaded correctly.
>When i dial to +48583471077 or 48583471077 I have 404 (User nod found)
>Do I need some special parameters or commands in ser.cfg ?
>I saw all archive and did't find information.
>
>Any help will be appreciate.
>
>Greetings
>Andrzej
>
>_______________________________________________
>Serusers mailing list
>serusers at lists.iptel.org
>http://lists.iptel.org/mailman/listinfo/serusers

--
Jiri Kuthan            http://iptel.org/~jiri/ 




More information about the sr-users mailing list