[asterisk-users] Function ENUMLOOKUP

Douglas Garstang dgarstang at oneeighty.com
Mon Oct 9 14:13:26 MST 2006


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.
 
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20061009/8c53c99f/attachment.htm


More information about the asterisk-users mailing list