I have four pbx (A;B;C;D)in separated locations connected via iax.
A pbx has 4 isdn lines to share with the others that have none, receive calls via ivr and spread to selected pbx (A,B,C,D) through iax trunk.
A pbx registers itself with B,C,D
B,C,D pbx each registers to A. So the call can flows between them
Each location has modem only, no firewall or similar. PBX has firewall disabled.
All of sudden A can’t register to B.
B can register to A and make calls through it
To make test i have tried to use my personal pbx and i could register to B without problem.
When A tries to connect to B in console i see nothing.
To get things working again I have registered C to B (no problem at all), and when i have to reach B extensions through A ivr, i first contact C (iax trunk in dialplan) and then reroute to B (iax trunk in dialplan). -----> for now no audio quality test the office are closed at the moment, i only see call flows
A pbx could connect via ssh to B so no clear evidence of network problem…
[Aug 26 16:54:16] DEBUG[4448] chan_iax2.c: Allocate call number
[Aug 26 16:54:16] DEBUG[4448] chan_iax2.c: ip callno count incremented to 2 for aaa.aaa.aaa.aaaa
[Aug 26 16:54:16] DEBUG[4448] chan_iax2.c: Registration created on call 10771
[Aug 26 16:54:17] DEBUG[4451] chan_iax2.c: schedule decrement of callno used for aaa.aaa.aaa.aaaa in 60 seconds
[Aug 26 16:54:26] DEBUG[4443] chan_iax2.c: ip callno count decremented to 1 for aaa.aaa.aaa.aaaa
[Aug 26 16:55:07] DEBUG[4449] chan_iax2.c: Allocate call number
[Aug 26 16:55:07] DEBUG[4449] chan_iax2.c: ip callno count incremented to 2 for aaa.aaa.aaa.aaaa
[Aug 26 16:55:07] DEBUG[4449] chan_iax2.c: Registration created on call 8600
[Aug 26 16:55:07] DEBUG[4452] chan_iax2.c: schedule decrement of callno used for aaa.aaa.aaa.aaaa in 60 seconds
[Aug 26 16:55:17] DEBUG[4443] chan_iax2.c: ip callno count decremented to 1 for aaa.aaa.aaa.aaaa
[Aug 26 16:55:57] DEBUG[4449] chan_iax2.c: Allocate call number
[Aug 26 16:55:57] DEBUG[4449] chan_iax2.c: ip callno count incremented to 2 for aaa.aaa.aaa.aaaa
[Aug 26 16:55:57] DEBUG[4449] chan_iax2.c: Registration created on call 8443
[Aug 26 16:55:57] DEBUG[4452] chan_iax2.c: schedule decrement of callno used for aaa.aaa.aaa.aaaa in 60 seconds
[Aug 26 16:56:07] DEBUG[4443] chan_iax2.c: ip callno count decremented to 1 for aaa.aaa.aaa.aaaa
It looks like peer and user work the same as in the SIP drivers, and you seem to know all the IP addresses, so why are you using registration at all? Registration is for when one side doesn’t know the other’s address in advance.