<div dir="ltr">try this... it works for me (not on your network of course :P) ... your example should work as well.<br><div><br></div><div><div>&lt;include&gt;</div><div>  &lt;gateway name=&quot;mySIPtrunk&quot;&gt;</div><div>  &lt;param name=&quot;username&quot; value=&quot;<span style="font-size:12.8px">trunkusername</span>&quot;/&gt;</div><div>  &lt;param name=&quot;password&quot; value=&quot;<span style="font-size:12.8px">trunkpassword</span>&quot;/&gt; </div><div>  &lt;param name=&quot;register&quot; value=&quot;true&quot;/&gt;</div><div>  &lt;param name=&quot;caller-id-in-from&quot; value=&quot;true&quot;/&gt;</div><div>  &lt;param name=&quot;realm&quot; value=&quot;<a href="http://bangalore.relianceims.in">bangalore.relianceims.in</a>&quot;/&gt;  </div><div>  &lt;param name=&quot;proxy&quot; value=&quot;<span style="font-size:12.8px">10.21.254.231</span>&quot;/&gt;</div><div>  &lt;param name=&quot;ping&quot; value=&quot;25&quot;/&gt;</div><div>&lt;/gateway&gt;</div><div>&lt;/include&gt;</div></div><div><br></div><div><br></div><div>if it doesn&#39;t work, provide siptrace</div><div><br></div><div>sofia profile &lt;profile&gt; siptrace on</div><div><br></div><div><br></div><div><br></div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On 27 December 2016 at 18:00, Murugan Pandian <span dir="ltr">&lt;<a href="mailto:manpower13.cse@gmail.com" target="_blank">manpower13.cse@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">Hi,<div><br></div><div>     I am using following sip trunk detail in my xlite it work fine and i can able to make call but when i use with my freeswitch in gateway ,I am always getting 403 error i understand have problem in my gateway config xml.</div><div><br></div><div><br></div><div>SIP TRUNK details (Examples):</div><div><br></div><div><br></div><div>Username: <a href="mailto:trunkusername@bangalore.relianceims.in" target="_blank">trunkusername@bangalore.<wbr>relianceims.in</a></div><div>Password: trunkpassword</div><div>outbound proxy: 10.21.254.231</div><div><br></div><div><br></div><div>Bellow is my reliancegateway.xml</div><div><br></div><div><br></div><div><br></div><div><br></div><div><div>&lt;include&gt;</div><div>  &lt;gateway name=&quot;reliance&quot;&gt;</div><div>  &lt;param name=&quot;realm&quot; value=&quot;<a href="http://bangalore.relianceims.in" target="_blank">bangalore.relianceims.<wbr>in</a>&quot; /&gt;</div><div>  &lt;param name=&quot;username&quot; value=&quot;trunkusername&quot; /&gt;</div><div>  &lt;param name=&quot;password&quot; value=&quot;trunkpassword&quot; /&gt;</div><div> &lt;param name=&quot;proxy&quot; value=&quot;10.21.254.231&quot; /&gt;<br></div><div>  &lt;param name=&quot;register&quot; value=&quot;true&quot; /&gt;</div><div>  &lt;param name=&quot;ping&quot; value=&quot;5&quot; /&gt;</div><div>  &lt;param name=&quot;ping-max&quot; value=&quot;3&quot; /&gt;</div><div>  &lt;param name=&quot;retry-seconds&quot; value=&quot;5&quot; /&gt;</div><div>  &lt;param name=&quot;expire-seconds&quot; value=&quot;60&quot; /&gt;</div><div>  &lt;param name=&quot;context&quot; value=&quot;public&quot;/&gt;</div><div>  &lt;variables&gt;</div><div>        &lt;variable name=&quot;verbose_sdp&quot; value=&quot;true&quot;/&gt;</div><div>  &lt;/variables&gt;</div><div>  &lt;/gateway&gt;</div><div>&lt;/include&gt;</div></div><div><br></div><div><br></div><div>Is there any way to use Auth username in gateway config xml</div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div></div>
<br>______________________________<wbr>______________________________<wbr>_____________<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.<wbr>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.<wbr>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.<wbr>freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" rel="noreferrer" target="_blank">http://lists.freeswitch.org/<wbr>mailman/listinfo/freeswitch-<wbr>users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" rel="noreferrer" target="_blank">http://lists.<wbr>freeswitch.org/mailman/<wbr>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>