Not Logged in - No Account?
Don't have an account? Registering an account with us allows you to post to the forums, easily track new posts, subscribe to threads, pm (private message) other forum members, and receive periodic news letters (you can opt out if you desire). Once you are logged in this message will no longer appear. If you don't have an account, you can create one by registering here. Lost your password, request a new password. We respect your privacy which means we collect minimal information when you register and we do not resell that information or use it in any objectionable way. You can review our privacy policy for full details.
ENUM lookup not working

Hi
Just been playing around with ENUM after watching Kerry's video tutorial.
I set up two trixboxes, one in the UK and one in France and registered and tested everything with e164.org
I could not get the enum to lookup, and the logs seem to suggest it was coming back with zero results, so I started to put some debug in /var/lib/asterisk/agi-bin/enumlookup.agi
What it seems is that the real number that is dialed is passed over to this script so
01962 555555 gets passed to the script as 01962 555555
and
0044 1962 555555 gets passed as 0044 1962 555555
from what I can work out the script wants
441962 555555 to do the lookup
I forced an Outbound Route to do enum only and dialed 441962555555 and sure enough it worked.
So I guess my questions are
Is the script supposed to be given the numbers correctly formated.
Or should the script be reformating them.
Apologies if I am being thick here, or missing something obvios.
If the script needs to be altered I am happy to write a quick regex, but I may need some help to know what has to happen for other countries as my knowledge extends to UK and France.
Thanks
Tom
In your dial rules for your
In your dial rules for your Enum trunk, try putting:
00|X.
This should strip the 00 before it goes out.
John Mullinix, Cohutta.Com, Inc.
1-706-632-3343 -- sip://17066323343@qth.cohutta.org
Looking for Dundi peers in Baltimore, MD and Lake Wales, FL USA