Hey Everyone,
I've set this up on a FusionPBX 4.5 box and it works as expected.
Trying to set this up on a FusionPBX 5.3.4 box and it isn't working for me.
What I did on the old server, was create a trunk domain (ie. trunkxxx.xxxxx.com)
Created a 9999 extension, which the end client registers with as their SIP Trunk.
I then created a Brige with the following:
sofia/internal/sip:$1${regex(${sofia_contact(9999@trunkexxx.xxxxx.com)}|^[^@]+(.*)|%1)}
The in Destinations create a destination for the DID numnber and routed it to the Bridge
All works great.
On the new box, I have done the same thing ( create domain, create extension).
I might be stuck on the Bridge idea on the new server as now we have different options for the bridge (User, Gateway, Profile, Loopback)
I've tried User and Loopback to no avail. Not sure what I would choose for Gateway or Profile to use them.
What does concern me, is when I use say User and put in the regex. If I try to edit it, all I get is sofia, the rest of the line is gone.
When I look at the CDR records for the calls it shows user/sofia/internal..... where as on the old server it is just sofia/internal.....
Not really sure what to change on this.
Any help would be greatly appreciated.
Thanks,
Bob
I've set this up on a FusionPBX 4.5 box and it works as expected.
Trying to set this up on a FusionPBX 5.3.4 box and it isn't working for me.
What I did on the old server, was create a trunk domain (ie. trunkxxx.xxxxx.com)
Created a 9999 extension, which the end client registers with as their SIP Trunk.
I then created a Brige with the following:
sofia/internal/sip:$1${regex(${sofia_contact(9999@trunkexxx.xxxxx.com)}|^[^@]+(.*)|%1)}
The in Destinations create a destination for the DID numnber and routed it to the Bridge
All works great.
On the new box, I have done the same thing ( create domain, create extension).
I might be stuck on the Bridge idea on the new server as now we have different options for the bridge (User, Gateway, Profile, Loopback)
I've tried User and Loopback to no avail. Not sure what I would choose for Gateway or Profile to use them.
What does concern me, is when I use say User and put in the regex. If I try to edit it, all I get is sofia, the rest of the line is gone.
When I look at the CDR records for the calls it shows user/sofia/internal..... where as on the old server it is just sofia/internal.....
Not really sure what to change on this.
Any help would be greatly appreciated.
Thanks,
Bob