FS_PATH for Gateways
Can we add an fs_path when dialing out via a gateway ? I know this has been asked before and in the archives it has been said to support and also not support fs_path in a gateway. Just wanted to confirm. thank you, Shaks.
Why not use proxy param in gateway? On 19 Oct 2017 3:11 am, "Sharath Kumar" <shakumarsoftware@gmail.com> wrote:
Can we add an fs_path when dialing out via a gateway ? I know this has been asked before and in the archives it has been said to support and also not support fs_path in a gateway. Just wanted to confirm.
thank you, Shaks.
_________________________________________________________________________ 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
Well, that is an option but I found out that the SIP Authentication breaks with certain providers while using the Proxy param. - The Request URI in the REG/INV will reflect the Proxy param. - The Proxy-Auth headers has a URI parameter that will now have the Request URI ( Proxy param). Some SIP providers have the Realm/Domain different from the Proxy. So they end up rejecting the request since the domain in the proxy is not in their white list of authenticated hosts. Eg. Proxy - sip10.voip.xyz.com Realm - xyz.com The REG/INV will have the Req URI = sip:sip10.voip.xyz.com and the Proxy Auth header will also have the same URI. The Providers I know are unwilling to add the Proxy domain sip10.voip.xyz.com into their white-list of authenticated hosts. They require the Proxy-Auth to have xyz.com. I am not sure if I made myself clear ? Anyway, I managed to set the sip_invite_route_uri as the Proxy. That seemed to work even for gateways. Thank you, Sharath On Sat, Oct 21, 2017 at 8:05 AM, Aqs Younas <aqsyounas@gmail.com> wrote:
Why not use proxy param in gateway?
On 19 Oct 2017 3:11 am, "Sharath Kumar" <shakumarsoftware@gmail.com> wrote:
Can we add an fs_path when dialing out via a gateway ? I know this has been asked before and in the archives it has been said to support and also not support fs_path in a gateway. Just wanted to confirm.
thank you, Shaks.
_________________________________________________________________________ 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
Why not use realm param in gateway? 2017-10-24 20:04 GMT+03:00 Sharath Kumar <shakumarsoftware@gmail.com>:
Well, that is an option but I found out that the SIP Authentication breaks with certain providers while using the Proxy param.
- The Request URI in the REG/INV will reflect the Proxy param. - The Proxy-Auth headers has a URI parameter that will now have the Request URI ( Proxy param).
Some SIP providers have the Realm/Domain different from the Proxy. So they end up rejecting the request since the domain in the proxy is not in their white list of authenticated hosts.
Eg. Proxy - sip10.voip.xyz.com Realm - xyz.com
The REG/INV will have the Req URI = sip:sip10.voip.xyz.com and the Proxy Auth header will also have the same URI. The Providers I know are unwilling to add the Proxy domain sip10.voip.xyz.com into their white-list of authenticated hosts. They require the Proxy-Auth to have xyz.com.
I am not sure if I made myself clear ?
Anyway, I managed to set the sip_invite_route_uri as the Proxy. That seemed to work even for gateways.
Thank you, Sharath
On Sat, Oct 21, 2017 at 8:05 AM, Aqs Younas <aqsyounas@gmail.com> wrote:
Why not use proxy param in gateway?
On 19 Oct 2017 3:11 am, "Sharath Kumar" <shakumarsoftware@gmail.com> wrote:
Can we add an fs_path when dialing out via a gateway ? I know this has been asked before and in the archives it has been said to support and also not support fs_path in a gateway. Just wanted to confirm.
thank you, Shaks.
____________________________________________________________ _____________ 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
_________________________________________________________________________ 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
Alexandr, I am using the realm and realm is correct. But some providers are using the domain Req URI to be part of their white list of domains. So I want the Req URI/URI in Proxy header to reflect "realm". INVITE* sip:bob@biloxi.example.com <sip%3Abob@biloxi.example.com>* SIP/2.0 <snip for brevity> Proxy-Authorization: Digest username="alice", realm="atlanta.example.com", nonce="wf84f1ceczx41ae6cbe5aea9c8e88d359", opaque="",* uri="sip:bob@biloxi.example.com <sip%3Abob@biloxi.example.com>",* response="42ce3cef44b22f50c6a6071bc8" On Wed, Oct 25, 2017 at 12:39 AM, Alexandr Popov < alexandr.popov@iqoption.com> wrote:
Why not use realm param in gateway?
2017-10-24 20:04 GMT+03:00 Sharath Kumar <shakumarsoftware@gmail.com>:
Well, that is an option but I found out that the SIP Authentication breaks with certain providers while using the Proxy param.
- The Request URI in the REG/INV will reflect the Proxy param. - The Proxy-Auth headers has a URI parameter that will now have the Request URI ( Proxy param).
Some SIP providers have the Realm/Domain different from the Proxy. So they end up rejecting the request since the domain in the proxy is not in their white list of authenticated hosts.
Eg. Proxy - sip10.voip.xyz.com Realm - xyz.com
The REG/INV will have the Req URI = sip:sip10.voip.xyz.com and the Proxy Auth header will also have the same URI. The Providers I know are unwilling to add the Proxy domain sip10.voip.xyz.com into their white-list of authenticated hosts. They require the Proxy-Auth to have xyz.com.
I am not sure if I made myself clear ?
Anyway, I managed to set the sip_invite_route_uri as the Proxy. That seemed to work even for gateways.
Thank you, Sharath
On Sat, Oct 21, 2017 at 8:05 AM, Aqs Younas <aqsyounas@gmail.com> wrote:
Why not use proxy param in gateway?
On 19 Oct 2017 3:11 am, "Sharath Kumar" <shakumarsoftware@gmail.com> wrote:
Can we add an fs_path when dialing out via a gateway ? I know this has been asked before and in the archives it has been said to support and also not support fs_path in a gateway. Just wanted to confirm.
thank you, Shaks.
____________________________________________________________ _____________ 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/free switch-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
_________________________________________________________________________ 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
Hi Sharath Kumar, Use the params: outbound-proxy and proxy. Eg: Outbound-proxy: sip10.voip.xyz.com Proxy: xyz.com Srigo Sent from my iPhone
On 24 Oct 2017, at 19:04, Sharath Kumar <shakumarsoftware@gmail.com> wrote:
Well, that is an option but I found out that the SIP Authentication breaks with certain providers while using the Proxy param.
- The Request URI in the REG/INV will reflect the Proxy param. - The Proxy-Auth headers has a URI parameter that will now have the Request URI ( Proxy param).
Some SIP providers have the Realm/Domain different from the Proxy. So they end up rejecting the request since the domain in the proxy is not in their white list of authenticated hosts.
Eg. Proxy - sip10.voip.xyz.com Realm - xyz.com
The REG/INV will have the Req URI = sip:sip10.voip.xyz.com and the Proxy Auth header will also have the same URI. The Providers I know are unwilling to add the Proxy domain sip10.voip.xyz.com into their white-list of authenticated hosts. They require the Proxy-Auth to have xyz.com.
I am not sure if I made myself clear ?
Anyway, I managed to set the sip_invite_route_uri as the Proxy. That seemed to work even for gateways.
Thank you, Sharath
On Sat, Oct 21, 2017 at 8:05 AM, Aqs Younas <aqsyounas@gmail.com> wrote: Why not use proxy param in gateway?
On 19 Oct 2017 3:11 am, "Sharath Kumar" <shakumarsoftware@gmail.com> wrote: Can we add an fs_path when dialing out via a gateway ? I know this has been asked before and in the archives it has been said to support and also not support fs_path in a gateway. Just wanted to confirm.
thank you, Shaks.
_________________________________________________________________________ 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
_________________________________________________________________________ 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
Srigo, You are right. The oubound-proxy works fine too. The only problem I have is it is global per profile. My gateways are defined in my SIP Profiles. So what if I have 2 gateways each having different outbound-proxies :) ? Thank you, Shaks On Wed, Oct 25, 2017 at 1:20 AM, Srigo Kanapathipillai <ksrigo@gmail.com> wrote:
Hi Sharath Kumar,
Use the params: outbound-proxy and proxy.
Eg:
Outbound-proxy: sip10.voip.xyz.com Proxy: xyz.com
Srigo
Sent from my iPhone
On 24 Oct 2017, at 19:04, Sharath Kumar <shakumarsoftware@gmail.com> wrote:
Well, that is an option but I found out that the SIP Authentication breaks with certain providers while using the Proxy param.
- The Request URI in the REG/INV will reflect the Proxy param. - The Proxy-Auth headers has a URI parameter that will now have the Request URI ( Proxy param).
Some SIP providers have the Realm/Domain different from the Proxy. So they end up rejecting the request since the domain in the proxy is not in their white list of authenticated hosts.
Eg. Proxy - sip10.voip.xyz.com Realm - xyz.com
The REG/INV will have the Req URI = sip:sip10.voip.xyz.com and the Proxy Auth header will also have the same URI. The Providers I know are unwilling to add the Proxy domain sip10.voip.xyz.com into their white-list of authenticated hosts. They require the Proxy-Auth to have xyz.com.
I am not sure if I made myself clear ?
Anyway, I managed to set the sip_invite_route_uri as the Proxy. That seemed to work even for gateways.
Thank you, Sharath
On Sat, Oct 21, 2017 at 8:05 AM, Aqs Younas <aqsyounas@gmail.com> wrote:
Why not use proxy param in gateway?
On 19 Oct 2017 3:11 am, "Sharath Kumar" <shakumarsoftware@gmail.com> wrote:
Can we add an fs_path when dialing out via a gateway ? I know this has been asked before and in the archives it has been said to support and also not support fs_path in a gateway. Just wanted to confirm.
thank you, Shaks.
____________________________________________________________ _____________ 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
_________________________________________________________________________ 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
Hi Sharath, You have to do it the following way: 1. Create the SIP profile (it will have 2 or more gateways). DO not add gateways conf inside the SIP Profiles. - On the top of the SIP profile add this: <gateways> <X-PRE-PROCESS cmd="include" data=“gateways/*.xml"/> </gateways> 2. Inside the folder sip_profiles create the folder gateways and add your 2 gateways config (1 file per provider) —> Here you can define different outboud- proxy per gateway 3. Restart/Reload your sip_profiles 4. From fs_cli, if you do 'sofia status gateway’, you should be able to see your both gateways and status. Good luck Srigo
On Oct 25, 2017, at 7:02 PM, Sharath Kumar <shakumarsoftware@gmail.com> wrote:
Srigo,
You are right. The oubound-proxy works fine too. The only problem I have is it is global per profile. My gateways are defined in my SIP Profiles. So what if I have 2 gateways each having different outbound-proxies :) ?
Thank you, Shaks
On Wed, Oct 25, 2017 at 1:20 AM, Srigo Kanapathipillai <ksrigo@gmail.com <mailto:ksrigo@gmail.com>> wrote: Hi Sharath Kumar,
Use the params: outbound-proxy and proxy.
Eg:
Outbound-proxy: sip10.voip.xyz.com <http://sip10.voip.xyz.com/> Proxy: xyz.com <http://xyz.com/>
Srigo
Sent from my iPhone
On 24 Oct 2017, at 19:04, Sharath Kumar <shakumarsoftware@gmail.com <mailto:shakumarsoftware@gmail.com>> wrote:
Well, that is an option but I found out that the SIP Authentication breaks with certain providers while using the Proxy param.
- The Request URI in the REG/INV will reflect the Proxy param. - The Proxy-Auth headers has a URI parameter that will now have the Request URI ( Proxy param).
Some SIP providers have the Realm/Domain different from the Proxy. So they end up rejecting the request since the domain in the proxy is not in their white list of authenticated hosts.
Eg. Proxy - sip10.voip.xyz.com <http://sip10.voip.xyz.com/> Realm - xyz.com <http://xyz.com/>
The REG/INV will have the Req URI = sip:sip10.voip.xyz.com <http://sip10.voip.xyz.com/> and the Proxy Auth header will also have the same URI. The Providers I know are unwilling to add the Proxy domain sip10.voip.xyz.com <http://sip10.voip.xyz.com/> into their white-list of authenticated hosts. They require the Proxy-Auth to have xyz.com <http://xyz.com/>.
I am not sure if I made myself clear ?
Anyway, I managed to set the sip_invite_route_uri as the Proxy. That seemed to work even for gateways.
Thank you, Sharath
On Sat, Oct 21, 2017 at 8:05 AM, Aqs Younas <aqsyounas@gmail.com <mailto:aqsyounas@gmail.com>> wrote: Why not use proxy param in gateway?
On 19 Oct 2017 3:11 am, "Sharath Kumar" <shakumarsoftware@gmail.com <mailto:shakumarsoftware@gmail.com>> wrote: Can we add an fs_path when dialing out via a gateway ? I know this has been asked before and in the archives it has been said to support and also not support fs_path in a gateway. Just wanted to confirm.
thank you, Shaks.
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org <mailto:consulting@freeswitch.org> http://www.freeswitchsolutions.com <http://www.freeswitchsolutions.com/>
Official FreeSWITCH Sites http://www.freeswitch.org <http://www.freeswitch.org/> http://confluence.freeswitch.org <http://confluence.freeswitch.org/> http://www.cluecon.com <http://www.cluecon.com/>
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org <mailto:FreeSWITCH-users@lists.freeswitch.org> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users <http://lists.freeswitch.org/mailman/listinfo/freeswitch-users> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users <http://lists.freeswitch.org/mailman/options/freeswitch-users> http://www.freeswitch.org <http://www.freeswitch.org/>
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org <mailto:consulting@freeswitch.org> http://www.freeswitchsolutions.com <http://www.freeswitchsolutions.com/>
Official FreeSWITCH Sites http://www.freeswitch.org <http://www.freeswitch.org/> http://confluence.freeswitch.org <http://confluence.freeswitch.org/> http://www.cluecon.com <http://www.cluecon.com/>
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org <mailto:FreeSWITCH-users@lists.freeswitch.org> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users <http://lists.freeswitch.org/mailman/listinfo/freeswitch-users> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users <http://lists.freeswitch.org/mailman/options/freeswitch-users> http://www.freeswitch.org <http://www.freeswitch.org/>
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org <mailto:consulting@freeswitch.org> http://www.freeswitchsolutions.com <http://www.freeswitchsolutions.com/>
Official FreeSWITCH Sites http://www.freeswitch.org <http://www.freeswitch.org/> http://confluence.freeswitch.org <http://confluence.freeswitch.org/> http://www.cluecon.com <http://www.cluecon.com/>
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org <mailto:FreeSWITCH-users@lists.freeswitch.org> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users <http://lists.freeswitch.org/mailman/listinfo/freeswitch-users> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users <http://lists.freeswitch.org/mailman/options/freeswitch-users> http://www.freeswitch.org <http://www.freeswitch.org/>
Professional FreeSWITCH Consulting Services: consulting@freeswitch.org <mailto:consulting@freeswitch.org> http://www.freeswitchsolutions.com <http://www.freeswitchsolutions.com/>
Official FreeSWITCH Sites http://www.freeswitch.org <http://www.freeswitch.org/> http://confluence.freeswitch.org <http://confluence.freeswitch.org/> http://www.cluecon.com <http://www.cluecon.com/>
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org <mailto:FreeSWITCH-users@lists.freeswitch.org> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users <http://lists.freeswitch.org/mailman/listinfo/freeswitch-users> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users <http://lists.freeswitch.org/mailman/options/freeswitch-users> http://www.freeswitch.org <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
Srigo, Thank you! It worked!! Shaks On Thu, Oct 26, 2017 at 1:53 AM, KSrigo <ksrigo@gmail.com> wrote:
Hi Sharath,
You have to do it the following way: 1. Create the SIP profile (it will have 2 or more gateways). DO not add gateways conf inside the SIP Profiles. - On the top of the SIP profile add this: <gateways> <X-PRE-PROCESS cmd="include" data=“gateways/*.xml"/> </gateways> 2. Inside the folder sip_profiles create the folder gateways and add your 2 gateways config (1 file per provider) —> Here you can define different outboud- proxy per gateway 3. Restart/Reload your sip_profiles 4. From fs_cli, if you do 'sofia status gateway’, you should be able to see your both gateways and status.
Good luck
Srigo
On Oct 25, 2017, at 7:02 PM, Sharath Kumar <shakumarsoftware@gmail.com> wrote:
Srigo,
You are right. The oubound-proxy works fine too. The only problem I have is it is global per profile. My gateways are defined in my SIP Profiles. So what if I have 2 gateways each having different outbound-proxies :) ?
Thank you, Shaks
On Wed, Oct 25, 2017 at 1:20 AM, Srigo Kanapathipillai <ksrigo@gmail.com> wrote:
Hi Sharath Kumar,
Use the params: outbound-proxy and proxy.
Eg:
Outbound-proxy: sip10.voip.xyz.com Proxy: xyz.com
Srigo
Sent from my iPhone
On 24 Oct 2017, at 19:04, Sharath Kumar <shakumarsoftware@gmail.com> wrote:
Well, that is an option but I found out that the SIP Authentication breaks with certain providers while using the Proxy param.
- The Request URI in the REG/INV will reflect the Proxy param. - The Proxy-Auth headers has a URI parameter that will now have the Request URI ( Proxy param).
Some SIP providers have the Realm/Domain different from the Proxy. So they end up rejecting the request since the domain in the proxy is not in their white list of authenticated hosts.
Eg. Proxy - sip10.voip.xyz.com Realm - xyz.com
The REG/INV will have the Req URI = sip:sip10.voip.xyz.com and the Proxy Auth header will also have the same URI. The Providers I know are unwilling to add the Proxy domain sip10.voip.xyz.com into their white-list of authenticated hosts. They require the Proxy-Auth to have xyz.com.
I am not sure if I made myself clear ?
Anyway, I managed to set the sip_invite_route_uri as the Proxy. That seemed to work even for gateways.
Thank you, Sharath
On Sat, Oct 21, 2017 at 8:05 AM, Aqs Younas <aqsyounas@gmail.com> wrote:
Why not use proxy param in gateway?
On 19 Oct 2017 3:11 am, "Sharath Kumar" <shakumarsoftware@gmail.com> wrote:
Can we add an fs_path when dialing out via a gateway ? I know this has been asked before and in the archives it has been said to support and also not support fs_path in a gateway. Just wanted to confirm.
thank you, Shaks.
____________________________________________________________ _____________ 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/free switch-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
_________________________________________________________________________ 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
_________________________________________________________________________ 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
participants (5)
-
Alexandr Popov
-
Aqs Younas
-
KSrigo
-
Sharath Kumar
-
Srigo Kanapathipillai