Enum lookup

Hi,
How can i enable enum in asterisk.
Please reply

Thanks and regards
shafeeq.

try

core show function ENUMLOOKUP

from asterisk console.

yes it’s there.
But am not able to execute the dialplan function ‘enumlookup’.
My dialplan is
exten=> _0[1-9]XXX.,1,BackGround(nic.at/enum-doing)
exten=> _0[1-9]XXX.,2,EnumLookup(+431${EXTEN:1})
; ${EXTEN:1} is the number dialedby user with the leading 0 stripped.
; Thus “431${EXTEN:1}” is the E.164 number.
;EnumLookupsets ${ENUM} on success. On failure jumps to priority+101.
exten=> _0[1-9]XXX.,3,BackGround(nic.at/enum-successful)

exten=> _0[1-9]XXX.,4,Dial(${ENUM},30)
exten=> _0[1-9]XXX.,5,Goto(104); No answer on SIP, fallback to PSTN
exten=> _0[1-9]XXX.,103,BackGround(nic.at/enum-failed)
exten=> _0[1-9]XXX.,104,Dial,${TRUNK}/${EXTEN:1}

when call finishes the first priority , it just hangs up.
What will be the reason

Regards
shafeeq

It’s a function, not an application.

Hi

So how can i run the enumlookup function

Please do reply.

Thanks and Regards
Shafeeq

core show function ENUMLOOKUP

for the specifics, then you use it like any other Asterisk dial plan function (page 148 of Asterisk: The Future of Telephony).