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,MikeIn 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