[asterisk-users] Stupid Macro question

unserossi at aol.com unserossi at aol.com
Mon Aug 2 11:29:59 CDT 2010


Hi all,

I am just trying to implement DUNDi-Routing like described here

http://www.voip-info.org/wiki/view/DUNDi+Enterprise+Configuration+SIP+with+no+passwords

and have a most probably stupid question:

My config is exactly like described except that instead of

exten => _91NXXNXXXXXX,1,Macro(dundi-priv,${EXTEN:1})
exten => _91NXXNXXXXXX,2,Dial(Zap/g1/${EXTEN:1}) ; This is fall through example to a PSTN such a as PRI

I have

exten => _X.,1,Macro(dundi-priv,${EXTEN})
exten => _X.,2,DIAL(CAPI/contr1/${EXTEN})

to check every dialed number via DUNDi and if not reachable via DUNDi, call via PSTN.

Now my problem is, that after hanging up a call, the call is instantly re-established using the h-extension which is almost a loop.
I am sure this is a stupid question, but what am I doing wrong?

Thanks for advice
Oliver
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20100802/6d88a97e/attachment.htm 


More information about the asterisk-users mailing list