Hello folks!

I registered my cell phone number in ENUM and a lookup via
www.enum-center.de works as requested.

But with CW it does not work because it ignores the SIP request.

This is the part of my extensions.conf:
exten =>
_556Z.,1,Set(number=${ENUMLOOKUP(+49${EXTEN:3},sip,1,e164.arpa)})
exten => _556Z.,2,NoOp(Dial zu ${number})
exten => _556Z.,3,Dial(SIP/${number}|60|tr)

All done after reading README.enum.

In debug log I found this while trying to dial my number:
Aug 18 15:10:47 DEBUG[3049241520]: enum.c:162 parse_naptr: NAPTR
input='+49178884ANONYM', flags='u', services='E2U+tel',
regexp='!^.*$!tel:+49178884ANONYM!', repl=''
Aug 18 15:10:47 DEBUG[3049241520]: pbx.c:1901
pbx_substitute_variables_helper_full: Function result is
'+49178884ANONYM'
    -- Executing Set("SIP/1000-af22", number=+49178884ANONYM)

Note: ANONYM means: Not everyone shall know the whole number ;)

So ENUMLOOKUP does not look for type SIP. The result should be nothing
because there is only service TEL configured for the number.

TIA and regards,
Hauke
-- 
phone-talk.de - Chats und Konferenzen
Mail: [EMAIL PROTECTED]
Tel.: 0221 / 355337474 (ENUM-registriert)
WWW : http://www.phone-talk.de
_______________________________________________
Callweaver-dev mailing list
[email protected]
http://lists.callweaver.org/mailman/listinfo/callweaver-dev

Reply via email to