[asterisk-users] Function ENUMLOOKUP

Watkins, Bradley Bradley.Watkins at compuware.com
Mon Oct 9 14:32:53 MST 2006


Does that entry exist also in e164.arpa (the default)?  Have you tried
explicitly pointing it at e164.org instead?
 
FWIW, I see nothing in particular wrong about your usage, but make sure
we're talking about the right trees here.
 
Regards,
- Brad


________________________________

	From: asterisk-users-bounces at lists.digium.com
[mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Douglas
Garstang
	Sent: Monday, October 09, 2006 5:13 PM
	To: Asterisk Users Mailing List - Non-Commercial Discussion
	Subject: [asterisk-users] Function ENUMLOOKUP
	
	
	Just playing around with Enum. What's wrong with this in
Asterisk?
	 
	exten => 555,1,Set(foo=${ENUMLOOKUP(+16049586111)})
	 
	   -- Executing Set("SIP/3254101-081e8c58", "foo=") in new stack
	   -- Executing NoOp("SIP/3254101-081e8c58", "") in new stack
	   -- Executing Hangup("SIP/3254101-081e8c58", "") in new stack
	 
	... because dig resolves it.... That's the number e164.org has
as a callerid readback on their website.
	 
	dig +short 1.1.1.6.8.5.9.4.0.6.1.e164.org any
	100 10 "u" "E2U+ADDRESS" "!^.*$!ADDRESS:CN=Matthew
Asham\;STREET=Eduard-Bodem-Gasse 9\;L=Burnaby\;ST=BC\;C=Canada!" .
	100 10 "u" "E2U+SIP"
"!^\\+16049586111$!sip:16049586111 at mutual.bcwireless.net!" .
	 
	Doug.
	 
	 

The contents of this e-mail are intended for the named addressee only. It contains information that may be confidential. Unless you are the named addressee or an authorized designee, you may not copy or use it, or disclose it to anyone else. If you received it in error please notify us immediately and then destroy it. 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20061009/d22802cc/attachment-0001.htm


More information about the asterisk-users mailing list