<div dir="ltr"><div>hi steven,</div><div><br></div>yes i was enable <param name="auth-calls" value="true"/> in my internal profile<div>my internal profile as follows</div><div><br></div><div><div><profile name="internal"></div><div> <aliases></div><div> </aliases></div><div> <gateways></div><div> <X-PRE-PROCESS cmd="include" data="internal/*.xml"/></div><div> </gateways></div><div> <domains></div><div> <domain name="all" alias="true" parse="false"/></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="watchdog-enabled" value="no"/></div><div> <param name="watchdog-step-timeout" value="30000"/></div><div> <param name="watchdog-event-timeout" value="30000"/></div><div> <param name="log-auth-failures" value="false"/></div><div> <param name="forward-unsolicited-mwi-notify" value="false"/></div><div> <param name="context" value="public"/></div><div> <param name="rfc2833-pt" value="101"/></div><div> <param name="sip-port" value="$${internal_sip_port}"/></div><div> <param name="dialplan" value="XML"/></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="$${global_codec_prefs}"/></div><div> <param name="rtp-timer-name" value="soft"/></div><div> <param name="rtp-ip" value="$${local_ip_v4}"/></div><div> <param name="sip-ip" value="$${local_ip_v4}"/></div><div> <param name="hold-music" value="$${hold_music}"/></div><div> <param name="apply-nat-acl" value="nat.auto"/></div><div> <param name="apply-inbound-acl" value="domainx"/></div><div> <param name="local-network-acl" value="localnet.auto"/></div><div> <param name="record-path" value="$${recordings_dir}"/></div><div> <param name="record-template" value="${caller_id_number}.${target_domain}.${strftime(%Y-%m-%d-%H-%M-%S)}.wav"/></div><div> <param name="manage-presence" value="true"/></div><div> <param name="presence-hosts" value="$${domain},$${local_ip_v4}"/></div><div> <param name="presence-privacy" value="$${presence_privacy}"/></div><div> <param name="inbound-codec-negotiation" value="generous"/></div><div> <param name="tls" value="$${internal_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="$${internal_tls_port}"/></div><div> <param name="tls-cert-dir" value="$${internal_ssl_dir}"/></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> <param name="tls-ciphers" value="$${sip_tls_ciphers}"/></div><div> <param name="inbound-late-negotiation" value="true"/></div><div> <param name="inbound-zrtp-passthru" value="true"/></div><div> <param name="nonce-ttl" value="60"/></div><div> <param name="auth-calls" value="true"/></div><div> <param name="inbound-reg-force-matching-username" value="true"/></div><div> <param name="auth-all-packets" value="false"/></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="force-register-domain" value="$${domain}"/></div><div> <param name="force-subscription-domain" value="$${domain}"/></div><div> <param name="force-register-db-domain" value="$${domain}"/></div><div> </settings></div><div></profile></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"><<a href="mailto:steveayre@gmail.com" target="_blank">steveayre@gmail.com</a>></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'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"><<a href="mailto:achinthau@gmail.com" target="_blank">achinthau@gmail.com</a>></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'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"><<a href="mailto:steveayre@gmail.com" target="_blank">steveayre@gmail.com</a>></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 'info' 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"><<a href="mailto:achinthau@gmail.com" target="_blank">achinthau@gmail.com</a>></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>