<div dir="ltr">Pavel gateways do not have a context property.<div>Transfer calls to the desired context via the dialplan.</div><div><br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, Sep 3, 2014 at 7:35 AM, Pavel <span dir="ltr"><<a href="mailto:my.post@hotmail.com" target="_blank">my.post@hotmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div><div dir="ltr"><div><div dir="ltr">Hello Everyone !<div><br></div><div>My /sip_profiles/external.xml looks like:</div><div><br></div><div><div><profile name="external"></div><div> <gateways></div>
<div> <gateway name="gw1"></div><div> <param name="username" value="username"/></div><div> <param name="realm" value="192.168.1.1"/></div>
<div> <param name="password" value="password"/></div><div> <param name="proxy" value="192.168.1.1"/></div><div> <param name="register" value="false"/></div>
<div> <param name="context" value="gw1"/></div><div> </gateway></div><div> <gateway name="gw2"></div><div> <param name="username" value="username"/></div>
<div> <param name="realm" value="192.168.1.2"/></div><div> <param name="password" value="password"/></div><div> <param name="proxy" value="192.168.1.2"/></div>
<div> <param name="register" value="false"/></div><div> <param name="context" value="gw2"/></div><div> </gateway><span style="white-space:pre-wrap">        </span> </div>
<div> </gateways></div><div> <aliases></div><div> <alias name="outbound"/></div><div> <alias name="nat"/></div><div> </aliases></div><div> <domains></div>
<div> <domain name="all" alias="false" parse="true"/></div><div> </domains></div><div> <settings></div><div> <param name="debug" value="0"/></div>
<div> <param name="sip-trace" value="no"/></div><div> <param name="sip-capture" value="no"/></div><div> <param name="rfc2833-pt" value="101"/></div>
<div> <param name="sip-port" value="$${external_sip_port}"/></div><div> <param name="dialplan" value="XML"/></div><div> <param name="context" value="public"/></div>
<div> <param name="dtmf-duration" value="2000"/></div><div> <param name="inbound-codec-prefs" value="$${global_codec_prefs}"/></div><div> <param name="outbound-codec-prefs" value="$${outbound_codec_prefs}"/></div>
<div> <param name="hold-music" value="$${hold_music}"/></div><div> <param name="rtp-timer-name" value="soft"/></div><div> <param name="local-network-acl" value="localnet.auto"/></div>
<div> <param name="manage-presence" value="false"/></div><div> <param name="inbound-codec-negotiation" value="generous"/></div><div> <param name="nonce-ttl" value="60"/></div>
<div> <param name="auth-calls" value="false"/></div><div> <param name="inbound-late-negotiation" value="true"/></div><div> <param name="inbound-zrtp-passthru" value="true"/> <!-- (also enables late negotiation) --></div>
<div> <param name="rtp-ip" value="$${local_ip_v4}"/></div><div> <param name="sip-ip" value="$${local_ip_v4}"/></div><div> <param name="ext-rtp-ip" value="auto-nat"/></div>
<div> <param name="ext-sip-ip" value="auto-nat"/></div><div> <param name="rtp-timeout-sec" value="300"/></div><div> <param name="rtp-hold-timeout-sec" value="1800"/></div>
<div> <param name="tls" value="$${external_ssl_enable}"/></div><div> <param name="tls-only" value="false"/></div><div> <param name="tls-bind-params" value="transport=tls"/></div>
<div> <param name="tls-sip-port" value="$${external_tls_port}"/></div><div> <param name="tls-passphrase" value=""/></div><div> <param name="tls-verify-date" value="true"/></div>
<div> <param name="tls-verify-policy" value="none"/></div><div> <param name="tls-verify-depth" value="2"/></div><div> <param name="tls-verify-in-subjects" value=""/></div>
<div> <param name="tls-version" value="$${sip_tls_version}"/></div><div> </settings></div><div></profile></div></div><div><br></div><div><br></div><div>Incoming unauthenticated calls from either gw1 or gw2 keep hitting context "public". Any way to place them in the appropriate contexts (eg. "gw1" and "gw2").</div>
<div><br></div><div><br></div><div>Thanks for your attention.</div><div><br></div><div><br></div><div>Rergards,</div><div>Pavel.</div>                                            </div></div>                                            </div></div>
<br>_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://confluence.freeswitch.org" target="_blank">http://confluence.freeswitch.org</a><br>
<a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
<a href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br></blockquote></div><br></div>