Hello Mike and thanks for the reply. Unfortunately sip_req_host only gives me the sip host. My setup is probably not quite usual, I have a multihome system with many gateways, each gateway name assigned to a unique id. The unique id is simply a random string identifying the gateway in the whole system. The unique id is also persisted in the DB, based on the id additional call processing takes place. My initial idea was to get the gateway name in the dialplan and pass it to an ESL app. But it really looks like it is not possible to retrieve the gateway name at all, sadly. Hynek On Tue, Jan 24, 2012 at 8:42 AM, Michael Lutz <mytemike72@gmail.com> wrote:
Hi Hynek,
{sip_req_host} should give your own gateway (local), and {network_addr} should give the remote gateway.
Otherwise writing a cdr and look will help you with this.
Regards, Mike
Op 24 jan. 2012 om 08:27 heeft Hynek Cihlar <hynek.cihlar@gmail.com> het volgende geschreven:
In one of the examples on wiki I found ${sip_gateway}, but that doesn't seem to work. Also, there is ${sip_gateway_name}, but that works on outbound calls only.
Hynek
On Mon, Jan 23, 2012 at 7:03 PM, Hynek Cihlar <hynek.cihlar@gmail.com>wrote:
Dear, is there a dialplan variable that would hold the gateway name an incoming call came through? Searching through the source code and wiki didn't yield any positive result.
Thanks!
Hynek
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org