[asterisk-users] IAX2: Incoming calls answered prematurely?

Eric "ManxPower" Wieling eric at fnords.org
Fri Oct 19 15:34:36 CDT 2007


Voicemail will answer the line.  10 seconds is a pretty short timeout.

What you need to do is copy the CLI output of your failed calls from 
BOTH servers and put them in this thread.  Then we can SEE what Asterisk 
is ACTUALLY doing.

Alan Lord wrote:
> Eric "ManxPower" Wieling wrote:
>> Alan Lord wrote:
>>> Eric "ManxPower" Wieling wrote:
>>>> The remote server is where your problem is.
>>>>
>>> Thanks for the reply but I can call the extension in question normally
>>> and it works fine. The problem is that the IAX trunk appears to be
>>> answering before it knows if the physical destination is available or
>>> not. I have read through every option I can find on IAX and elsewhere
>>> and I can't see how this functionality can be changed or influenced.
>> How do you know that the far end is not answering and then providing an 
>> ringing tone.  Asterisk does not magically answer IAX calls.  Playback 
>> and Background as well as other apps will answer the line unless told 
>> not to.
>>
> 
> When I tried this test today, I know the far end wasn't answering 
> because my colleague, his computer and his SIP phone were not there. So 
> there is no way that that call should have been answered.
> 
> His extension definition is:
> 
> [internal]
> exten=>201,1,Dial(${ALANB},10)
> exten=>201,2,VoiceMail(u201)
> exten=>201,3,Hangup()
> 
> 
> The call was cleared down almost as soon as it was answered so I am 
> unclear as to why this occurred.
> 
> Thanks
> 
> Alan
> 




More information about the asterisk-users mailing list