Make a call from PBX_A via another PBX_B

Hi everyone

I have a two FreePBX both version FreePBX 17 and asterisk 21. Both PBX are connected via PJSIP trunk. Name of this trunk is TSStoMAX. Calling to local extensions between PBX_A and PBX_B is working perfect.

But I need to make a call from extension 200 registered on PBX_A via trunk TSStoMAX to public network. It’s very importat use public number assingnet to PBX_B.

I think i need to modify dialplan on PBX_B.
Now i have a Outbound Route on PBX_A with prefix 665877XXXXXXXXXXX. When I looking for dialplan debug on PBX_B I found incomming call from PBX_A bud i don’t know how to forward a call to public network via outbound route.
prefix 665* I use for specific outbount route to PBX_B

log on PBX_B:
Executing [877XXXXXXXXXXXX@from-pstn:1] NoOp(“PJSIP/ToTSS-000000cb”, "Catch-All DID Match - Found 877XXXXXXXXXXXX - You probably want a DID for this.“) in new stack
– Executing [877XXXXXXXXXXXX@from-pstn:2] Set(“PJSIP/ToTSS-000000cb”, "__FROM_DID=877XXXXXXXXXXXX”) in new stack
– Executing [877*XXXXXXXXXXXX@from-pstn:3] Goto(“PJSIP/ToTSS-000000cb”, “ext-did,s,1”) in new stack
– Goto (ext-did,s,1)
– Executing [s@ext-did:1] Set(“PJSIP/ToTSS-000000cb”, “__DIRECTION=INBOUND”) in new stack

XXXXXXXXXXXX - is target public number

prefix 877* I use for specific outbount route.

Can you help me ?

Tie line trunks should be allocated to from-internal, not from-pstn.

Thx Great

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.