[Freeswitch-users] Configure Gateway Auth username
Tihomir Culjaga
tculjaga at gmail.com
Wed Dec 28 19:57:55 MSK 2016
try this... it works for me (not on your network of course :P) ... your
example should work as well.
<include>
<gateway name="mySIPtrunk">
<param name="username" value="trunkusername"/>
<param name="password" value="trunkpassword"/>
<param name="register" value="true"/>
<param name="caller-id-in-from" value="true"/>
<param name="realm" value="bangalore.relianceims.in"/>
<param name="proxy" value="10.21.254.231"/>
<param name="ping" value="25"/>
</gateway>
</include>
if it doesn't work, provide siptrace
sofia profile <profile> siptrace on
On 27 December 2016 at 18:00, Murugan Pandian <manpower13.cse at gmail.com>
wrote:
> Hi,
>
> 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.
>
>
> SIP TRUNK details (Examples):
>
>
> Username: trunkusername at bangalore.relianceims.in
> Password: trunkpassword
> outbound proxy: 10.21.254.231
>
>
> Bellow is my reliancegateway.xml
>
>
>
>
> <include>
> <gateway name="reliance">
> <param name="realm" value="bangalore.relianceims.in" />
> <param name="username" value="trunkusername" />
> <param name="password" value="trunkpassword" />
> <param name="proxy" value="10.21.254.231" />
> <param name="register" value="true" />
> <param name="ping" value="5" />
> <param name="ping-max" value="3" />
> <param name="retry-seconds" value="5" />
> <param name="expire-seconds" value="60" />
> <param name="context" value="public"/>
> <variables>
> <variable name="verbose_sdp" value="true"/>
> </variables>
> </gateway>
> </include>
>
>
> Is there any way to use Auth username in gateway config xml
>
>
>
>
>
>
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
>
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://confluence.freeswitch.org
> http://www.cluecon.com
>
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20161228/801603a7/attachment-0001.html
Join us at ClueCon 2016 Aug 8-12, 2016
More information about the FreeSWITCH-users
mailing list