<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">&lt;<a href="mailto:my.post@hotmail.com" target="_blank">my.post@hotmail.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><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>&lt;profile name=&quot;external&quot;&gt;</div><div>  &lt;gateways&gt;</div>
<div>     &lt;gateway name=&quot;gw1&quot;&gt;</div><div>         &lt;param name=&quot;username&quot; value=&quot;username&quot;/&gt;</div><div>         &lt;param name=&quot;realm&quot; value=&quot;192.168.1.1&quot;/&gt;</div>
<div>         &lt;param name=&quot;password&quot; value=&quot;password&quot;/&gt;</div><div>         &lt;param name=&quot;proxy&quot; value=&quot;192.168.1.1&quot;/&gt;</div><div>         &lt;param name=&quot;register&quot; value=&quot;false&quot;/&gt;</div>
<div>         &lt;param name=&quot;context&quot; value=&quot;gw1&quot;/&gt;</div><div>     &lt;/gateway&gt;</div><div>     &lt;gateway name=&quot;gw2&quot;&gt;</div><div>         &lt;param name=&quot;username&quot; value=&quot;username&quot;/&gt;</div>
<div>         &lt;param name=&quot;realm&quot; value=&quot;192.168.1.2&quot;/&gt;</div><div>         &lt;param name=&quot;password&quot; value=&quot;password&quot;/&gt;</div><div>         &lt;param name=&quot;proxy&quot; value=&quot;192.168.1.2&quot;/&gt;</div>
<div>         &lt;param name=&quot;register&quot; value=&quot;false&quot;/&gt;</div><div>         &lt;param name=&quot;context&quot; value=&quot;gw2&quot;/&gt;</div><div>     &lt;/gateway&gt;<span style="white-space:pre-wrap">        </span> </div>
<div>  &lt;/gateways&gt;</div><div>  &lt;aliases&gt;</div><div>        &lt;alias name=&quot;outbound&quot;/&gt;</div><div>        &lt;alias name=&quot;nat&quot;/&gt;</div><div>  &lt;/aliases&gt;</div><div>  &lt;domains&gt;</div>
<div>    &lt;domain name=&quot;all&quot; alias=&quot;false&quot; parse=&quot;true&quot;/&gt;</div><div>  &lt;/domains&gt;</div><div>  &lt;settings&gt;</div><div>    &lt;param name=&quot;debug&quot; value=&quot;0&quot;/&gt;</div>
<div>    &lt;param name=&quot;sip-trace&quot; value=&quot;no&quot;/&gt;</div><div>    &lt;param name=&quot;sip-capture&quot; value=&quot;no&quot;/&gt;</div><div>    &lt;param name=&quot;rfc2833-pt&quot; value=&quot;101&quot;/&gt;</div>
<div>    &lt;param name=&quot;sip-port&quot; value=&quot;$${external_sip_port}&quot;/&gt;</div><div>    &lt;param name=&quot;dialplan&quot; value=&quot;XML&quot;/&gt;</div><div>    &lt;param name=&quot;context&quot; value=&quot;public&quot;/&gt;</div>
<div>    &lt;param name=&quot;dtmf-duration&quot; value=&quot;2000&quot;/&gt;</div><div>    &lt;param name=&quot;inbound-codec-prefs&quot; value=&quot;$${global_codec_prefs}&quot;/&gt;</div><div>    &lt;param name=&quot;outbound-codec-prefs&quot; value=&quot;$${outbound_codec_prefs}&quot;/&gt;</div>
<div>    &lt;param name=&quot;hold-music&quot; value=&quot;$${hold_music}&quot;/&gt;</div><div>    &lt;param name=&quot;rtp-timer-name&quot; value=&quot;soft&quot;/&gt;</div><div>    &lt;param name=&quot;local-network-acl&quot; value=&quot;localnet.auto&quot;/&gt;</div>
<div>    &lt;param name=&quot;manage-presence&quot; value=&quot;false&quot;/&gt;</div><div>    &lt;param name=&quot;inbound-codec-negotiation&quot; value=&quot;generous&quot;/&gt;</div><div>    &lt;param name=&quot;nonce-ttl&quot; value=&quot;60&quot;/&gt;</div>
<div>    &lt;param name=&quot;auth-calls&quot; value=&quot;false&quot;/&gt;</div><div>    &lt;param name=&quot;inbound-late-negotiation&quot; value=&quot;true&quot;/&gt;</div><div>    &lt;param name=&quot;inbound-zrtp-passthru&quot; value=&quot;true&quot;/&gt; &lt;!-- (also enables late negotiation) --&gt;</div>
<div>    &lt;param name=&quot;rtp-ip&quot; value=&quot;$${local_ip_v4}&quot;/&gt;</div><div>    &lt;param name=&quot;sip-ip&quot; value=&quot;$${local_ip_v4}&quot;/&gt;</div><div>    &lt;param name=&quot;ext-rtp-ip&quot; value=&quot;auto-nat&quot;/&gt;</div>
<div>    &lt;param name=&quot;ext-sip-ip&quot; value=&quot;auto-nat&quot;/&gt;</div><div>    &lt;param name=&quot;rtp-timeout-sec&quot; value=&quot;300&quot;/&gt;</div><div>    &lt;param name=&quot;rtp-hold-timeout-sec&quot; value=&quot;1800&quot;/&gt;</div>
<div>    &lt;param name=&quot;tls&quot; value=&quot;$${external_ssl_enable}&quot;/&gt;</div><div>    &lt;param name=&quot;tls-only&quot; value=&quot;false&quot;/&gt;</div><div>    &lt;param name=&quot;tls-bind-params&quot; value=&quot;transport=tls&quot;/&gt;</div>
<div>    &lt;param name=&quot;tls-sip-port&quot; value=&quot;$${external_tls_port}&quot;/&gt;</div><div>    &lt;param name=&quot;tls-passphrase&quot; value=&quot;&quot;/&gt;</div><div>    &lt;param name=&quot;tls-verify-date&quot; value=&quot;true&quot;/&gt;</div>
<div>    &lt;param name=&quot;tls-verify-policy&quot; value=&quot;none&quot;/&gt;</div><div>    &lt;param name=&quot;tls-verify-depth&quot; value=&quot;2&quot;/&gt;</div><div>    &lt;param name=&quot;tls-verify-in-subjects&quot; value=&quot;&quot;/&gt;</div>
<div>    &lt;param name=&quot;tls-version&quot; value=&quot;$${sip_tls_version}&quot;/&gt;</div><div>  &lt;/settings&gt;</div><div>&lt;/profile&gt;</div></div><div><br></div><div><br></div><div>Incoming unauthenticated calls from either gw1 or gw2 keep hitting context &quot;public&quot;. Any way to place them in the appropriate contexts (eg. &quot;gw1&quot; and &quot;gw2&quot;).</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>