[asterisk-users] Stupid Macro question

Danny Nicholas danny at debsinc.com
Mon Aug 2 11:36:21 CDT 2010


From: asterisk-users-bounces at lists.digium.com
[mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of
unserossi at aol.com
Subject: [asterisk-users] Stupid Macro question

 

Hi all,

 

I have

 

exten => _X.,1,Macro(dundi-priv,${EXTEN})

exten => _X.,2,DIAL(CAPI/contr1/${EXTEN})

 

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

This might fix you up

exten => _X.,1,Macro(dundi-priv,${EXTEN})

exten => _X.,2,DIAL(CAPI/contr1/${EXTEN})

exten => _x_NOANSWER,1,Dial(Zap/g1/${EXTEN:1}) ;

 

This way the Zap call only occurs on a DUNDI noanswer.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20100802/85dc0100/attachment.htm 


More information about the asterisk-users mailing list