[Freeswitch-users] Multiple inbound numbers on a registered trunk
ssinyagin at gmail.com
Mon May 2 06:11:01 MSD 2016
You receive a channel variable for every SIP header, and it shouldn't be a
problem to build a regular expression to extract the dialed number from
You can also call "info" application at the beginning of the dialplan and
see all the variables that are available.
On May 1, 2016 20:30, "Joseph Waite" <joelists at tm.net.uk> wrote:
> Hi Guys
> We have a Freeswitch based FusionPBX setup which registers to our main SIP
> Switch with Registering trunks.
> Outbound Calls work fine, however I’m having issues with using multiple
> inbound numbers.
> If I setup a destination with the username of the trunk then all calls
> received on the trunk goto that destination.
> If I setup each DID on its own then calls fails.
> In the invite I see To: <sip:trunkuser at providerip:5080>
> I see the DID dialled in the following in the SIP message
> Diversion: numberdialed
> Is there a setting I can add somewhere to the trunk config to tell it to
> use the value in Diversion?
> Any help greatly appreciated.
> Joseph Waite
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> Official FreeSWITCH Sites
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
-------------- next part --------------
An HTML attachment was scrubbed...
Join us at ClueCon 2016 Aug 8-12, 2016
More information about the FreeSWITCH-users