hi, did you try *auth-username *? or *extension*? you can check the gateway parameters here: https://freeswitch.org/confluence/display/FREESWITCH/Sofia+Gateway+Authentic... also take a look at: https://freeswitch.org/confluence/display/FREESWITCH/Gateways+Configuration On 04/28/2016 10:31 PM, Arun K wrote:
Dear Group,
I'm a novice with FreeSwitch and the below doubt is very basic. But I could not able to resolve it for the past whole week. Kindly assist me.
1. I'm trying to register my Free switch gateway with my SIP provider. the external profile is configured at C:\Program Files\FreeSWITCH\conf\sip_profiles\external\example.xml as below: 2. 3. <include> 4. <gateway name="Rcom"> 5. <param name="username" value="+914438000100"/> 6. <param name="password" value="xxxxxxx"/> 7. <param name="from-domain" value="bangalore.relianceims.in <http://bangalore.relianceims.in>"/> 8. <param name="proxy" value="10.237.246.225"/> 9. </gateway> 10. </include> 11. 12. Registering attempts failed with below logs: 13. 14. 15. 2016-04-28 23:08:27.905875 [NOTICE] sofia_reg.c:448 Registering bangalore.relianceims.in <http://bangalore.relianceims.in> 16. 2016-04-28 23:08:28.905875 [NOTICE] sofia_reg.c:448 Registering Rcom 17. send 596 bytes to udp/[10.237.246.225]:5060 at 17:38:28.921500: 18. ------------------------------------------------------------------------ 19. REGISTER sip:10.237.246.225;transport=udp SIP/2.0 20. Via: SIP/2.0/UDP 10.16.83.21;rport;branch=z9hG4bK11QceD1pmcUjN 21. Max-Forwards: 70 22. From: <sip:+914438000100@bangalore.relianceims.in <http://bangalore.relianceims.in>>;tag=1H4KN7By10r8D 23. To: <sip:+914438000100@bangalore.relianceims.in <http://bangalore.relianceims.in>> 24. Call-ID: e6089137-443f-4b24-8375-37fa7617e1c2 25. CSeq: 90596490 REGISTER 26. Contact: <sip:gw+Rcom@10.16.83.21 <mailto:sip%3Agw%2BRcom@10.16.83.21>:5060;transport=udp;gw=Rcom> 27. Expires: 3600 28. User-Agent: FreeSWITCH-mod_sofia/1.5.15b~32bit 29. Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, UPDATE, REGISTER, REFER, NOTIFY 30. Supported: timer, path, replaces 31. Content-Length: 0 32. 33. ------------------------------------------------------------------------ 34. recv 456 bytes from udp/[10.237.246.225]:5060 at 17:38:28.937125: 35. ------------------------------------------------------------------------ 36. SIP/2.0 404 Not Found 37. Via: SIP/2.0/UDP 10.16.83.21;received=10.16.83.21;rport=5060;branch=z9hG4bK11QceD1pmcUjN 38. To: <sip:+914438000100@bangalore.relianceims.in <http://bangalore.relianceims.in>>;tag=ztesipZcoVXTKT0*1-7-16648*ijib.1 39. From: <sip:+914438000100@bangalore.relianceims.in <http://bangalore.relianceims.in>>;tag=1H4KN7By10r8D 40. Call-ID: e6089137-443f-4b24-8375-37fa7617e1c2 41. CSeq: 90596490 REGISTER 42. X-ZTE-Cause: "CSCF-1.7.BC005000-BC00DA26-BC005319-BC00521F.icscf1.bangalore.relianceims.in <http://BC005000-BC00DA26-BC005319-BC00521F.icscf1.bangalore.relianceims.in>" 43. Content-Length: 0 44. 45. ------------------------------------------------------------------------ 46. 2016-04-28 23:08:28.937125 [ERR] sofia_reg.c:2367 Rcom Failed Registration with status Not Found [404]. failure #4 47. 48. 49. IF i try to register x-lite with SIP Provider with the following parameters it is getting registered successfully.
1. username : +914438000100 2. password : xxxxxx 3. domain : bangalore.relianceims.in <http://bangalore.relianceims.in> 4. Authorisation user name: +914438000100@bangalore.relianceims.in <http://bangalore.relianceims.in> 5. Proxy : 10.237.246.225 6. 7. Only thing i do not use at Free switch configuration that i use at X-lite is Authorisation user name. without this parameter, x-lite registeration also fails. So can any of the experts assist me as where should i provide this parameter at free switch. Else how to solve this problem. Kindly advice.
_________________________________________________________________________ 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