[Freeswitch-users] How to know inbound call arrive from which gateway?
avi at avimarcus.net
Mon Aug 27 15:21:17 MSD 2012
A separate context for each sounds messy.
Indeed, try INFO, but I don't think we actually have a variable for the
However, you can *set* a channel variable on inbound calls on the gateway:
e.g.<variables> <variable name="gateway" data="flowroute"
On Mon, Aug 27, 2012 at 2:03 PM, Patrick Lists <
freeswitch-list at puzzled.xs4all.nl> wrote:
> On 27-08-12 06:47, Pip Live 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
> Until someone comes up with a better answer, have you tried running the
> info app on the incoming call? It gives a ton of info about the channel.
> 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