From: [email protected]
[mailto:[email protected]] On Behalf Of
[email protected]
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.
--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
http://www.asterisk.org/hello
asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users