27 Aug
2012
27 Aug
'12
11:03 a.m.
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 etc?
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. http://wiki.freeswitch.org/wiki/Misc._Dialplan_Tools_info Regards, Patrick