<div dir="ltr"><div>hi steven,</div><div><br></div>yes i was enable &lt;param name=&quot;auth-calls&quot; value=&quot;true&quot;/&gt; in my internal profile<div>my internal profile as follows</div><div><br></div><div><div>&lt;profile name=&quot;internal&quot;&gt;</div><div>  &lt;aliases&gt;</div><div>  &lt;/aliases&gt;</div><div>  &lt;gateways&gt;</div><div>    &lt;X-PRE-PROCESS cmd=&quot;include&quot; data=&quot;internal/*.xml&quot;/&gt;</div><div>  &lt;/gateways&gt;</div><div>  &lt;domains&gt;</div><div>    &lt;domain name=&quot;all&quot; alias=&quot;true&quot; parse=&quot;false&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;watchdog-enabled&quot; value=&quot;no&quot;/&gt;</div><div>    &lt;param name=&quot;watchdog-step-timeout&quot; value=&quot;30000&quot;/&gt;</div><div>    &lt;param name=&quot;watchdog-event-timeout&quot; value=&quot;30000&quot;/&gt;</div><div>    &lt;param name=&quot;log-auth-failures&quot; value=&quot;false&quot;/&gt;</div><div>    &lt;param name=&quot;forward-unsolicited-mwi-notify&quot; value=&quot;false&quot;/&gt;</div><div>    &lt;param name=&quot;context&quot; value=&quot;public&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;$${internal_sip_port}&quot;/&gt;</div><div>    &lt;param name=&quot;dialplan&quot; value=&quot;XML&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;$${global_codec_prefs}&quot;/&gt;</div><div>    &lt;param name=&quot;rtp-timer-name&quot; value=&quot;soft&quot;/&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;hold-music&quot; value=&quot;$${hold_music}&quot;/&gt;</div><div>    &lt;param name=&quot;apply-nat-acl&quot; value=&quot;nat.auto&quot;/&gt;</div><div>    &lt;param name=&quot;apply-inbound-acl&quot; value=&quot;domainx&quot;/&gt;</div><div>    &lt;param name=&quot;local-network-acl&quot; value=&quot;localnet.auto&quot;/&gt;</div><div>    &lt;param name=&quot;record-path&quot; value=&quot;$${recordings_dir}&quot;/&gt;</div><div>    &lt;param name=&quot;record-template&quot; value=&quot;${caller_id_number}.${target_domain}.${strftime(%Y-%m-%d-%H-%M-%S)}.wav&quot;/&gt;</div><div>    &lt;param name=&quot;manage-presence&quot; value=&quot;true&quot;/&gt;</div><div>    &lt;param name=&quot;presence-hosts&quot; value=&quot;$${domain},$${local_ip_v4}&quot;/&gt;</div><div>    &lt;param name=&quot;presence-privacy&quot; value=&quot;$${presence_privacy}&quot;/&gt;</div><div>    &lt;param name=&quot;inbound-codec-negotiation&quot; value=&quot;generous&quot;/&gt;</div><div>    &lt;param name=&quot;tls&quot; value=&quot;$${internal_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;$${internal_tls_port}&quot;/&gt;</div><div>    &lt;param name=&quot;tls-cert-dir&quot; value=&quot;$${internal_ssl_dir}&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;param name=&quot;tls-ciphers&quot; value=&quot;$${sip_tls_ciphers}&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;</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;true&quot;/&gt;</div><div>    &lt;param name=&quot;inbound-reg-force-matching-username&quot; value=&quot;true&quot;/&gt;</div><div>    &lt;param name=&quot;auth-all-packets&quot; value=&quot;false&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;force-register-domain&quot; value=&quot;$${domain}&quot;/&gt;</div><div>    &lt;param name=&quot;force-subscription-domain&quot; value=&quot;$${domain}&quot;/&gt;</div><div>    &lt;param name=&quot;force-register-db-domain&quot; value=&quot;$${domain}&quot;/&gt;</div><div>  &lt;/settings&gt;</div><div>&lt;/profile&gt;</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Jul 14, 2015 at 3:55 PM, Steven Ayre <span dir="ltr">&lt;<a href="mailto:steveayre@gmail.com" target="_blank">steveayre@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 dir="ltr">Are you sure the call is getting authenticating as the user? Perhaps it&#39;s being processed as an unauthenticated user?</div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><div class="gmail_quote">On 14 July 2015 at 11:09, Achintha <span dir="ltr">&lt;<a href="mailto:achinthau@gmail.com" target="_blank">achinthau@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 dir="ltr"><div>hi steven,</div><div><br></div>i&#39;m unable to find user_context in CDR file. <div class="gmail_extra"><div><div><br><div class="gmail_quote">On Mon, Jul 13, 2015 at 8:03 PM, Steven Ayre <span dir="ltr">&lt;<a href="mailto:steveayre@gmail.com" target="_blank">steveayre@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 dir="ltr">First off verify the call is getting authenticated as the user. If you examine the XML CDR or the &#39;info&#39; output do you see the user_context variable set?</div><div class="gmail_extra"><br><div class="gmail_quote"><div><div>On 13 July 2015 at 13:38, Achintha <span dir="ltr">&lt;<a href="mailto:achinthau@gmail.com" target="_blank">achinthau@gmail.com</a>&gt;</span> wrote:<br></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div><div dir="ltr"><div><p class="MsoNormal">hi all,</p><p class="MsoNormal"><br></p><p class="MsoNormal">We are having freeswitch testing setup with Internal and
external profiles with xml_curl for Directory management. In this setup profile
context is not overridden with user_context property. </p>

<p class="MsoNormal">Kindly help me to solve
this issue.</p><p class="MsoNormal"><br></p><p class="MsoNormal"><br></p>

<p class="MsoNormal">Thanking you.</p><span><font color="#888888"><p class="MsoNormal"><br></p>Achintha <br></font></span></div>
</div>
<br></div></div>_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org" target="_blank">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" rel="noreferrer" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://confluence.freeswitch.org" rel="noreferrer" target="_blank">http://confluence.freeswitch.org</a><br>
<a href="http://www.cluecon.com" rel="noreferrer" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" rel="noreferrer" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" rel="noreferrer" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br></blockquote></div><br></div>
<br>_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org" target="_blank">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" rel="noreferrer" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://confluence.freeswitch.org" rel="noreferrer" target="_blank">http://confluence.freeswitch.org</a><br>
<a href="http://www.cluecon.com" rel="noreferrer" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" rel="noreferrer" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" rel="noreferrer" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br></blockquote></div><br><br clear="all"><div><br></div></div></div><span><font color="#888888">-- <br><div><br>Achintha <br></div>
</font></span></div></div>
<br>_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org" target="_blank">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" rel="noreferrer" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://confluence.freeswitch.org" rel="noreferrer" target="_blank">http://confluence.freeswitch.org</a><br>
<a href="http://www.cluecon.com" rel="noreferrer" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" rel="noreferrer" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" rel="noreferrer" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br></blockquote></div><br></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" rel="noreferrer" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://confluence.freeswitch.org" rel="noreferrer" target="_blank">http://confluence.freeswitch.org</a><br>
<a href="http://www.cluecon.com" rel="noreferrer" target="_blank">http://www.cluecon.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" rel="noreferrer" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" rel="noreferrer" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature">Regards..<br>Achintha<br></div>
</div></div>