On 1/3/24 04:53, Henning Follmann wrote:


On Jan 2, 2024, at 23:17, the...@sys-concept.com wrote:

On 1/2/24 15:13, aster...@phreaknet.org wrote:
On 1/2/2024 4:03 PM, the...@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



--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

Check out the new Asterisk community forum at: https://community.asterisk.org/

New to Asterisk? Start here:
     https://wiki.asterisk.org/wiki/display/AST/Getting+Started

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to