[asterisk-users] Fwd: Stupid Macro question
unserossi at aol.com
unserossi at aol.com
Tue Aug 3 02:47:17 CDT 2010
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.
--
Thanks, but that is not the problem, DUNDi is answering and is forwarding the call to the remote box.
hat works fine.
ut immediately after hanging up the call by the client registered on the remote box the call is re-established
sing the h-extension.
his is my problem.
ere is the console output. Any tipps are highly appreciated.
Thanks, but that is not the problem, DUNDi is answering and is forwarding the call to the remote box.
That works fine.
But immediately after hanging up the call by the client registered on the remote box the call is re-established
using the h-extension.
This is my problem.
Here is the console output. Any tipps are highly appreciated.
-- Accepting AUTHENTICATED call from 10.28.191.147:
> requested format = alaw,
> requested prefs = (alaw|ulaw|gsm),
> actual format = alaw,
> host prefs = (alaw|ulaw|gsm),
> priority = mine
-- Executing [1400 at dundi-priv-local:1] Dial("IAX2/iaxuser-829", "SIP/1400,30,Ttr") in new stack
== Using SIP RTP TOS bits 184
== Using SIP RTP CoS mark 5
-- Called 1400
-- SIP/1400-0000006c is ringing
-- SIP/1400-0000006c answered IAX2/iaxuser-829
-- Executing [h at dundi-priv-local:1] Dial("IAX2/iaxuser-829", "SIP/1400,30,Ttr") in new stack
== Using SIP RTP TOS bits 184
== Using SIP RTP CoS mark 5
-- Called 1400
-- SIP/1400-0000006d is ringing
-- SIP/1400-0000006d answered IAX2/iaxuser-829
-- Executing [h at dundi-priv-local:1] Dial("IAX2/iaxuser-829", "SIP/1400,30,Ttr") in new stack
== Using SIP RTP TOS bits 184
== Using SIP RTP CoS mark 5
-- Called 1400
-- SIP/1400-0000006e is ringing
-- SIP/1400-0000006e answered IAX2/iaxuser-829
-- Executing [h at dundi-priv-local:1] Dial("IAX2/iaxuser-829", "SIP/1400,30,Ttr") in new stack
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20100803/a5923241/attachment.htm
More information about the asterisk-users
mailing list