Dear Asterisk community,
In our company, we are using an productive PBX (PBX1) which is based on Asterisk.
On this PBX1 are around 50 SIP telephones, which are able to make internal and external calls.
For the calls to extern we have a channel (SIP Trunk) to our provider.
My goal is to add a second PBX (PBX2) via another (SIP Trunk) to the PBX1. PBX2 hast to dial to external devices (mobile phones,…) via the channel to the provider of PBX1.
So the Configuration is like that:
Provider <–TRUNK1–> PBX1 <–TRUNK2–> PBX2
In my opinion I have to configure TRUNK2 manually like that:
exten => _0X.,1,Dial(SIP/TRUNK1)
This means that everything that starts with 0 and comes from TRUNK2 should be directly forwarded to TRUNK1.
I think that I have to additionally add a user from PBX1 to the call. (PBX1 hast to know via which user it should call out)
How could I achieve that?
I hope you understand my problem. Thank you very much!