[Asterisk-Users] How to test enum?

Duane duane at e164.org
Sat Dec 11 04:41:30 MST 2004


Michael Vogel wrote:

I dumped some sample enum configs to http://www.asterisk.net.au/tutorial/7/

and more on e164.org

> Are there any test numbers where I can see if ENUM lookup is working?

18005558355 (1800 555 tell, news and weather service etc)

> And is it possible as well to test if a number of a SIP or IAX provider 
> exists?

Just do a if goto call...

exten => s,2,GotoIf($[$[${ENUM:0:3} = SIP] | $[${ENUM:0:3} = IAX]] ? 3 : 52)

That traps both, but obviously can be altered to trap one or the other 
and handle them seperately...

-- 

Best regards,
  Duane

http://www.cacert.org - Free Security Certificates
http://www.nodedb.com - Think globally, network locally
http://www.sydneywireless.com - Telecommunications Freedom
http://happysnapper.com.au - Sell your photos over the net!
http://e164.org - Using Enum.164 to interconnect asterisk servers

"I do not try to dance better than anyone else.
	I only try to dance better than myself."



More information about the asterisk-users mailing list