<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style></head>
<body class='hmmessage'><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 class="ecxApple-tab-span" style="white-space:pre;">        </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><style><!--
.ExternalClass .ecxhmmessage P {
padding:0px;
}
.ExternalClass body.ecxhmmessage {
font-size:12pt;
font-family:Calibri;
}
--></style>                                            </div></body>
</html>