Solved Issue with outbound routing via bridge

Status
Not open for further replies.

leonp

Free User
Joined
Jan 21, 2018
Messages
47
Reaction score
4
Hi,

I have setup two bridges to two different asterisk servers. Both are registered ok and both can dial into my 3CX phone system.

I have setup two outbound routing rules as followings...

Prefix: 3, Length: 4, Route: Asterisk1.
Prefix: 61, Length: 5, Route: Asterisk2.

I can then successfully dial 3333 which is a valid extension on Asterisk1

When I attempt to dial 61102 (valid extension on Asterisk2), my client kind of hangs until I end the call. I have reviewed 3CXQueueManager.log and 3CXDialer.log which are the only two logs which contain "61102" but there are no clues, other than the following from the QueueManager.log file which seems to suggest the second call is not being correctly routed.

The successful call via Asterisk1 (Some details sanitised)

Code:
18/09/06 11:39:13.509|100034| Trc|75|0009|: Call update(Ins): cid=26, dn=Ext.2470 Leon, internal=<empty>, external=3333, ac_stat=Dialing, leg=208; att=',40b00dc9b97b4995994de93abef58ebf'
18/09/06 11:39:13.510|100047| Trc|75|0009|: DBG: : [208]
18/09/06 11:39:13.597|100034| Trc|75|0009|: Call update(Ins): cid=26, dn=Asterisk1, internal=<empty>, external=3333, ac_stat=Ringing, leg=209; att=','
18/09/06 11:39:13.597|100047| Trc|75|0009|: DBG: : [208, 209]
18/09/06 11:39:13.602|100034| Trc|75|0009|: Call update(Upd): cid=26, dn=Ext.2470 Leon, internal=<empty>, external=3333, ac_stat=Connected, leg=208; att=',40b00dc9b97b4995994de93abef58ebf'
18/09/06 11:39:13.602|100047| Trc|75|0009|: DBG: : [208, 209]
18/09/06 11:39:13.604|100034| Trc|75|0009|: Call update(Upd): cid=26, dn=Asterisk1, internal=<empty>, external=3333, ac_stat=Connected, leg=209; att=','
18/09/06 11:39:13.604|100047| Trc|75|0009|: DBG: : [208, 209]
18/09/06 11:39:15.558|100034| Trc|75|0009|: Call update(Del): cid=26, dn=Ext.2470 Leon, internal=<empty>, external=3333, ac_stat=Connected, leg=208; att=',40b00dc9b97b4995994de93abef58ebf'
18/09/06 11:39:15.558|100047| Trc|75|0009|: DBG: : [209]
18/09/06 11:39:15.561|100034| Trc|75|0009|: Call update(Del): cid=26, dn=Asterisk1, internal=<empty>, external=3333, ac_stat=Connected, leg=209; att=','
18/09/06 11:39:15.561|100047| Trc|75|0009|: DBG: : []

The failed called via Asterisk2 (Some details sanitised). The first two lines occur when I hit dial, the second two lines when I hit end.

Code:
18/09/06 11:39:31.212|100034| Trc|75|0009|: Call update(Ins): cid=27, dn=Ext.2470 Leon, internal=<empty>, external=61102, ac_stat=Dialing, leg=210; att=',e189150bf1f840b7a9713eeaf17ef561'
18/09/06 11:39:31.212|100047| Trc|75|0009|: DBG: : [210]
18/09/06 11:39:33.971|100034| Trc|75|0009|: Call update(Del): cid=27, dn=Ext.2470 Leon, internal=<empty>, external=61102, ac_stat=Dialing, leg=210; att=',e189150bf1f840b7a9713eeaf17ef561'
18/09/06 11:39:33.971|100047| Trc|75|0009|: DBG: : []
I should also mention that I see no attempt by the server to connect the call to the IP of Asterisk2, verified by tcpdump.

I'm a bit stuck for how to debug this further - any ideas?

Thanks.
 
Hi,

I figured this out in the end - it transpired to be a NAT issue with the one of the other systems and my PBX was trying to route to the other systems internal IP.

Perhaps showing somewhere what the IP is would have been helpful.

Thanks.
 
Glad to see the issue has been resolved and thank you for updating the thread with your solution.
 
Status
Not open for further replies.

Latest Posts

Forum statistics

Threads
111,894
Messages
589,601
Members
164,763
Latest member
Techmansam