[Freeswitch-users] How to know inbound call arrive from which gateway?
govoiper at gmail.com
Mon Aug 27 14:54:34 MSD 2012
What you can do easily is just change the context of each gateway and then
in that dialplan code append a prefix to the destination_number received.
i.e save destination_number in another variable and append the desired
prefix to that variable. Use the new variable anywhere in your dialplan as
you want !
On Mon, Aug 27, 2012 at 9:47 AM, Pip Live <itispip-qq at hotmail.com> wrote:
> Sorry this maybe a very simple question but I checked Wiki/Dialplan
> without finding an answer.
> How can I know inbound call arrive at which sofia gateway in dialplan? My
> purpose is to add a prefix to all inbound call from a certain gateway. I
> cannot use the "destination_number" built_in variable for this purpose, as
> in my case DID bind to a specific gateway hardware is often changing. Is
> that another varialbe to be used, eg. a gateway name etc?
> 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 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users