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@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@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@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@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org