<html><head></head><body bgcolor="#FFFFFF"><div>Hi Hynek,</div><div><br></div><div>{sip_req_host} should give your own gateway (local), and {network_addr} should give the remote gateway.</div><div><br></div><div>Otherwise writing a cdr and look will help you with this.</div><div><br></div><div>Regards,</div><div>Mike</div><div><br>Op 24 jan. 2012 om 08:27 heeft Hynek Cihlar &lt;<a href="mailto:hynek.cihlar@gmail.com">hynek.cihlar@gmail.com</a>&gt; het volgende geschreven:<br><br></div><div><span></span></div><blockquote type="cite"><div><div>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.</div><br clear="all">Hynek<br><br>
<br><br><div class="gmail_quote">On Mon, Jan 23, 2012 at 7:03 PM, Hynek Cihlar <span dir="ltr">&lt;<a href="mailto:hynek.cihlar@gmail.com">hynek.cihlar@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

<div>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.</div><div><br></div><div>Thanks!</div>

<span class="HOEnZb"><font color="#888888">
<div><br></div>Hynek<br><br>
</font></span></blockquote></div><br>
</div></blockquote><blockquote type="cite"><div><span>_________________________________________________________________________</span><br><span>Professional FreeSWITCH Consulting Services:</span><br><span><a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a></span><br><span><a href="http://www.freeswitchsolutions.com">http://www.freeswitchsolutions.com</a></span><br><span></span><br><span>FreeSWITCH-powered IP PBX: The CudaTel Communication Server</span><br><span><a href="http://www.cudatel.com">http://www.cudatel.com</a></span><br><span></span><br><span>Official FreeSWITCH Sites</span><br><span><a href="http://www.freeswitch.org">http://www.freeswitch.org</a></span><br><span><a href="http://wiki.freeswitch.org">http://wiki.freeswitch.org</a></span><br><span><a href="http://www.cluecon.com">http://www.cluecon.com</a></span><br><span></span><br><span>FreeSWITCH-users mailing list</span><br><span><a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a></span><br><span><a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a></span><br><span>UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users</span><br><span><a href="http://www.freeswitch.org">http://www.freeswitch.org</a></span><br></div></blockquote></body></html>