[asterisk-users] chan_iax2.c:4739 __auto_congest: Auto-congesting call due to slow response

thelma at sys-concept.com thelma at sys-concept.com
Wed Jan 3 11:20:14 CST 2024


On 1/3/24 04:53, Henning Follmann wrote:
> 
> 
>> On Jan 2, 2024, at 23:17, thelma at sys-concept.com wrote:
>>
>> On 1/2/24 15:13, asterisk at phreaknet.org wrote:
>>>> On 1/2/2024 4:03 PM, thelma at sys-concept.com wrote:
>>>> I'm using asterisk-16.30.1
>>>>
>>>> When I try to call another asterisk server over IAX I get a busy signal,
>>>>
>>>> chan_iax2.c:4739 __auto_congest: Auto-congesting call due to slow response
>>>>      -- IAX2/192.168.143.1:4569-656 is circuit-busy
>>>>
>>>> Asterisk-16.16 is working normally, no congestion error.
>>> There is not enough information for anyone to really help or comment on this.
>>> Dialplan and IAX2 configuration on both sides of the trunk?
>>> CLI output on both sides with iax2 debug enabled?
>>
>> It is very simple:
>>
>> Local Asterisk, iax.conf:
>>
>> [clinic_server]
>> type=friend
>> host=dynamic
>> context=internal
>> disallow=all
>> allow=ulaw
>> allow=alaw
>> requirecalltoken=no
>> callgroup=1
>> pickupgroup=1
>>
>> extension.conf:
>>
>> exten => 4,1,Dial(IAX2/home_server:xxxxxxxx@${clinic_server}/${EXTEN},60,rw)
>> exten => 4,n,Hangup() Remote Asterisk iax.conf:
>>
>> [home_server]
>> type=friend
>> host=dynamic
>> secret=xxxxxxxx
>> context=extensions
>> disallow=all
>> allow=ulaw
>> allow=alaw
>> callgroup=1
>> pickupgroup=1
>>
>> Remote extension.conf:
>>
>> exten => 4,1,Dial(SIP/4,15,trw)
>> exten => 4,n,GotoIf($["${DIALSTATUS}"="BUSY"]?vmail:line2)
>> exten => 4,n(line2),Dial(SIP/54,20,rw)
>> exten => 4,n(vmail),Voicemail(4)
>> exten => 4,n,Voicemail(4)
>> exten => 4,n,Hangup()
>>
>>
> 
> You have no internal context in your dialplan. But in your iax.conf you specify internal as your context.
> 
> 
> -H

I forgot to write, the remote asterisk has:

[internal]
...
include => extensions

[extensions]
exten => 4,1,Dial(SIP/4,15,trw)
exten => 4,n,GotoIf($["${DIALSTATUS}"="BUSY"]?vmail:line2)
exten => 4,n(line2),Dial(SIP/54,20,rw)
exten => 4,n(vmail),Voicemail(4)
exten => 4,n,Voicemail(4)
exten => 4,n,Hangup()

So on the remote asterisk there is context [internal]

I even noticed starting asterisk-16.30 is much slower than starting Asterisk-16.16





More information about the asterisk-users mailing list