Configure Gateway Auth username
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
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
Are you needing to set the auth-username different than the username? On Tue, Dec 27, 2016 at 11:00 AM, 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
-- *Brian West* brian@freeswitch.org *Twitter: @FreeSWITCH , @briankwest* http://www.freeswitchbook.com (50% Discount using code FreeSwitch50) http://www.freeswitchcookbook.com (50% Discount using code FreeSwitch50) https://www.gofundme.com/freeswitch_ubuntu Got Bugs? Report them here <https://freeswitch.org/jira>! | Reddit: /r/freeswitch <https://www.reddit.com/r/freeswitch> *T:*+19184209001 | *F:*+19184209002 | *M:*+1918424WEST (9378) *Skype:*briankwest
Thanks of your Reply, yes i am using following info in Zoiper username: trunkusername password:trunkpassword domain:bangalore.reliancedcims.com proxy:10.27.234.235 Auth username: trunkusername@bangalore.relianceims.com On Wed, Dec 28, 2016 at 11:52 PM, Brian West <brian@freeswitch.org> wrote:
Are you needing to set the auth-username different than the username?
On Tue, Dec 27, 2016 at 11:00 AM, 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
--
*Brian West* brian@freeswitch.org
*Twitter: @FreeSWITCH , @briankwest* http://www.freeswitchbook.com (50% Discount using code FreeSwitch50) http://www.freeswitchcookbook.com (50% Discount using code FreeSwitch50) https://www.gofundme.com/freeswitch_ubuntu
Got Bugs? Report them here <https://freeswitch.org/jira>! | Reddit: /r/freeswitch <https://www.reddit.com/r/freeswitch>
*T:*+19184209001 | *F:*+19184209002 | *M:*+1918424WEST (9378) *Skype:*briankwest
_________________________________________________________________________ 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
Use the param auth-username in your gateway params. /b On Wed, Dec 28, 2016 at 11:09 PM, Murugan Pandian <manpower13.cse@gmail.com> wrote:
Thanks of your Reply,
yes i am using following info in Zoiper
username: trunkusername password:trunkpassword domain:bangalore.reliancedcims.com proxy:10.27.234.235 Auth username: trunkusername@bangalore.relianceims.com
On Wed, Dec 28, 2016 at 11:52 PM, Brian West <brian@freeswitch.org> wrote:
Are you needing to set the auth-username different than the username?
On Tue, Dec 27, 2016 at 11:00 AM, 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
--
*Brian West* brian@freeswitch.org
*Twitter: @FreeSWITCH , @briankwest* http://www.freeswitchbook.com (50% Discount using code FreeSwitch50) http://www.freeswitchcookbook.com (50% Discount using code FreeSwitch50) https://www.gofundme.com/freeswitch_ubuntu
Got Bugs? Report them here <https://freeswitch.org/jira>! | Reddit: /r/freeswitch <https://www.reddit.com/r/freeswitch>
*T:*+19184209001 <(918)%20420-9001> | *F:*+19184209002 <(918)%20420-9002> | *M:*+1918424WEST (9378) *Skype:*briankwest
_________________________________________________________________________ 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
_________________________________________________________________________ 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
-- *Brian West* brian@freeswitch.org *Twitter: @FreeSWITCH , @briankwest* http://www.freeswitchbook.com (50% Discount using code FreeSwitch50) http://www.freeswitchcookbook.com (50% Discount using code FreeSwitch50) https://www.gofundme.com/freeswitch_ubuntu Got Bugs? Report them here <https://freeswitch.org/jira>! | Reddit: /r/freeswitch <https://www.reddit.com/r/freeswitch> *T:*+19184209001 | *F:*+19184209002 | *M:*+1918424WEST (9378) *Skype:*briankwest
participants (3)
-
Brian West
-
Murugan Pandian
-
Tihomir Culjaga