[Asterisk-Users] enum problem with latest cvs

Brian K. West brian at bkw.org
Sun Jun 20 12:50:38 MST 2004


Your regexp is WRONG

1.1.enum.blah.net       naptr = 2 40 "u" "iax2+E2U"
"!^\\+(.*)$!iax2:blahnet at peer/\\1!" .

Thats a valid enum naptr record.

It would translate into iax2:blahnet at peer/11

bkw

----- Original Message ----- 
From: "Wojciech Tryc" <wojtek at tryc.ca>
To: <asterisk-users at lists.digium.com>
Sent: Sunday, June 20, 2004 2:27 PM
Subject: [Asterisk-Users] enum problem with latest cvs


> Hi,
> I posted an error message I was getting while using enum with the latest
> CVS, but the problem disappered.
> Well, it seems to be intermitten.
> The messages below:
>
> Jun 20 15:23:30 WARNING[1218565440]: enum.c:186 parse_naptr: Regex
> compilation error (regex = "!^+16131234567$").
> Jun 20 15:23:30 WARNING[1218565440]: enum.c:264 enum_callback: Failed to
> parse naptr :(
> Jun 20 15:23:30 WARNING[1218565440]: dns.c:141 dns_parse_answer: Failed to
> parse result
> Jun 20 15:23:30 WARNING[1218565440]: dns.c:183 ast_search_dns: Parse error
>
> What is internesting is that this is happening only with 1 number, I have
2
> other numbers registered and everything works fine with the other 2.
>
> Regards,
> Wojtek
>
> _______________________________________________
> Asterisk-Users mailing list
> Asterisk-Users at lists.digium.com
> http://lists.digium.com/mailman/listinfo/asterisk-users
> To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/asterisk-users
>




More information about the asterisk-users mailing list