And I don’t want that !
Hi there, and thanks in advance for all the help you’ll be able to give me !
Here is my question/problem :
When my asterisks receives call using chan-capi and Dialogic Diva card, I want to forward those calls to a SIP User Agent, but it immediatly answers before the SIP UA does accept or reject the call.
In order to accentuate the problem I used the following context :
exten => _XXX,1,Ringing()
exten => _XXX,n,Wait(20)
And i got the following logs :
– Executing [102@isdn-in:1] Ringing(“CAPI/ISDN1#03/102-2”, “”) in new stack
– Executing [102@isdn-in:2] Wait(“CAPI/ISDN1#03/102-2”, “20”) in new stack
– CAPI/ISDN1#04/0296XXXXXX-0 answered SIP/101-00000000
Of course the line saying the call was answerd appears immediatly (not 20s afterwards).
Other than that, everything is fine. I know that asterisk can send it’s own ringing tone while waiting for the SIP UA to answer, however, I don’t want the caller to be paying fees even if nobody answers.
So how can I get asterisk (1.6.2.16.1) not to automatically answer the call as soon as it enters the context ?
Many thanks in advance if you can help me with this