SOLVED IAX2 trunk between two servers

Joined
May 23, 2013
Messages
223
Reaction score
28
Okay so tonight I'm feeling beat :) I connected two PBX together one PBX here with the SIP trunks to the rest of the world and another PBX to this one that needs to dial out and receive its calls from this one. I got it working where the outside TN will dial through to the other box, and it can make calls out, but when it does the outgoing caller ID on the second box always gets changed to the trunk CID.

So on PBX A the one with the trunks Looks like this
Trunk Name:blah
Outbound CallerID 260xxxxxxx

Outgoing Settings:
Trunk Name:trunkone
under PEER Details:
host=dynamic
username=260xxwwwwq
secret=jfkldjfljkljerk23jrio2r
type=friend
qualify=yes
trunk=yes
insecure=port,invite
context=from-trunk
requirecalltoken=no

Under Incoming
USER Context 2jskslksajdkfla

Under User Details
secret=9efjdkfjsdfklas
type=friend
context=from-internal

PBX B the remote PBX

Trunk Name:blah
Outbound Caller ID: 260xxxxxxx

Outgoing Settings:
Trunk Name:trunkone
Under PEER Details:
host=fff.fffff.com
username=260xxwwwwq
secret=jfkldjfljkljerk23jrio2r
type=friend
qualify=yes
trunk=yes
insecure=port,invite
requirecalltoken=no

Under Incoming
USER Context 2jskslksajdkfla

Under User Details
secret=9efjdkfjsdfklas
type=friend
context=from-internal

Everything works, calls both ways, just calls from the remote PBX out to the rest of the world show the trunk CID they are going out rather then what is being sent by the remote PBX.
 
Joined
May 23, 2013
Messages
223
Reaction score
28
Oh as usual fixed my own problem. In outbound routes you need to have the box Intra-Company checked for it to preserve the CID sent.
 

via9

New Member
Joined
Apr 18, 2011
Messages
7
Reaction score
0
Hello Chris
are you still running the bridged piaf hosts?
if so, any probs? how are calls?
if working well, please more detail in trunks, sip? iax? firewall and ports
 

Members online

Forum statistics

Threads
25,782
Messages
167,512
Members
19,203
Latest member
frapu
Get 3CX - Absolutely Free!

Link up your team and customers Phone System Live Chat Video Conferencing

Hosted or Self-managed. Up to 10 users free forever. No credit card. Try risk free.

3CX
A 3CX Account with that email already exists. You will be redirected to the Customer Portal to sign in or reset your password if you've forgotten it.
Top