Freeswitch in google cloud platform
Hi Guys , Anybody using Freeswitch in Google cloud platform ? I am trying to have a multi region freeswitch installation in google cloud with Sip load balancer Kamailio . But challenge is to have a multi region load balancing. Google’s TCP load balancer looks promising but don’t support Sip ports(5060, 5061) Any thoughts on that or any other suggestion? Thanks in advance https://cloud.google.com/compute/docs/load-balancing/tcp-ssl/tcp-proxy Regards Sanooj ________________________________ The information in this Internet Email is confidential and may be legally privileged. It is intended solely for the addressee. Access to this Email by anyone else is unauthorized. If you are not the intended recipient, any disclosure, copying, distribution or any action taken or omitted to be taken in reliance on it, is prohibited and may be unlawful. When addressed to our clients any opinions or advice contained in this Email are subject to the terms and conditions expressed in any applicable governing The Home Depot terms of business or client engagement letter. The Home Depot disclaims all responsibility and liability for the accuracy and content of this attachment and for any damages or losses arising from any inaccuracies, errors, viruses, e.g., worms, trojan horses, etc., or other items of a destructive nature, which may be contained in this attachment and shall not be liable for direct, indirect, consequential or special damages in connection with this e-mail message or its attachment.
A tcp load balancer without sip support wouldn’t be sufficient. You’d need something with an understanding of sip like Kamailio or OpenSips to do that. Also, in regards to your confidentiality statement on your email, please note that no emails to the list are confidential, and we will not remove emails from the list archive. Please in the future remove your confidentiality statement from emails and take this as notice that they are not and we will take no action to remove them from the archives in the future (yes we have been asked in the past to do this, which is why i have to make this statement).
On May 24, 2018, at 12:54 PM, Karanath sachidanandan, Sanooj <SANOOJ_KARANATH_SACHIDANANDAN@homedepot.com> wrote:
Hi Guys , Anybody using Freeswitch in Google cloud platform ? I am trying to have a multi region freeswitch installation in google cloud with Sip load balancer Kamailio . But challenge is to have a multi region load balancing. Google’s TCP load balancer looks promising but don’t support Sip ports(5060, 5061)
Any thoughts on that or any other suggestion? Thanks in advance
https://cloud.google.com/compute/docs/load-balancing/tcp-ssl/tcp-proxy <https://cloud.google.com/compute/docs/load-balancing/tcp-ssl/tcp-proxy>
In gcloud docs it says: *"TCP Proxy Load Balancing supports the following ports: 25, 43, 110, 143, 195, 443, 465, 587, 700, 993, 995, 1883, 5222"* They are not mentioning protocols or applications, I don't know if you setup kamailio to listen for example on port 443 if it might work? Clients would have to connect to X.X.X.X:443 though... (which is solvable using SRV records). This is a suggestion to test, I'm really not sure myself if it would work. I don't know if google does straight TCP proxy or if it has any sort of application level awareness, in such case it would definitely not work (as the default 5060 SIP port is not listed). Giving the example they have a little further down in the docs, (talking about setting up apache (http) to listen on port 110 (pop3), and using curl to test) makes me think that it could work. Client -> Kamailio -> FreeSWITCHs = Works... widely used. Client -> GCP Load Balancer -> Kamailio -> FreeSWITCHs = No idea, best way to find out is to test, one thing for sure is you will have to mess around a lot in the config file to get the IPs right in all the headers. Does what I'm saying makes sense? Please correct me if I'm wrong. Best, Joel. On Thu, May 24, 2018 at 9:58 AM, Michael Jerris <mike@jerris.com> wrote:
A tcp load balancer without sip support wouldn’t be sufficient. You’d need something with an understanding of sip like Kamailio or OpenSips to do that.
Also, in regards to your confidentiality statement on your email, please note that no emails to the list are confidential, and we will not remove emails from the list archive. Please in the future remove your confidentiality statement from emails and take this as notice that they are not and we will take no action to remove them from the archives in the future (yes we have been asked in the past to do this, which is why i have to make this statement).
On May 24, 2018, at 12:54 PM, Karanath sachidanandan, Sanooj < SANOOJ_KARANATH_SACHIDANANDAN@homedepot.com> wrote:
Hi Guys , Anybody using Freeswitch in Google cloud platform ? I am trying to have a multi region freeswitch installation in google cloud with Sip load balancer Kamailio . But challenge is to have a multi region load balancing. Google’s TCP load balancer looks promising but don’t support Sip ports(5060, 5061)
Any thoughts on that or any other suggestion? Thanks in advance
https://cloud.google.com/compute/docs/load-balancing/tcp-ssl/tcp-proxy
_________________________________________________________________________ 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
Sorry for confidentiality statement in mail ,It is getting added by server @Joel Serrano<mailto:joel@textplus.com> yes it make sense, let me experiment more Regards Sanooj From: FreeSWITCH-users <freeswitch-users-bounces@lists.freeswitch.org> on behalf of Joel Serrano <joel@textplus.com> Reply-To: FreeSWITCH Users Help <freeswitch-users@lists.freeswitch.org> Date: Thursday, May 24, 2018 at 1:26 PM To: FreeSWITCH Users Help <freeswitch-users@lists.freeswitch.org> Subject: [EXTERNAL] Re: [Freeswitch-users] Freeswitch in google cloud platform In gcloud docs it says: "TCP Proxy Load Balancing supports the following ports: 25, 43, 110, 143, 195, 443, 465, 587, 700, 993, 995, 1883, 5222" They are not mentioning protocols or applications, I don't know if you setup kamailio to listen for example on port 443 if it might work? Clients would have to connect to X.X.X.X:443 though... (which is solvable using SRV records). This is a suggestion to test, I'm really not sure myself if it would work. I don't know if google does straight TCP proxy or if it has any sort of application level awareness, in such case it would definitely not work (as the default 5060 SIP port is not listed). Giving the example they have a little further down in the docs, (talking about setting up apache (http) to listen on port 110 (pop3), and using curl to test) makes me think that it could work. Client -> Kamailio -> FreeSWITCHs = Works... widely used. Client -> GCP Load Balancer -> Kamailio -> FreeSWITCHs = No idea, best way to find out is to test, one thing for sure is you will have to mess around a lot in the config file to get the IPs right in all the headers. Does what I'm saying makes sense? Please correct me if I'm wrong. Best, Joel. On Thu, May 24, 2018 at 9:58 AM, Michael Jerris <mike@jerris.com<mailto:mike@jerris.com>> wrote: A tcp load balancer without sip support wouldn’t be sufficient. You’d need something with an understanding of sip like Kamailio or OpenSips to do that. Also, in regards to your confidentiality statement on your email, please note that no emails to the list are confidential, and we will not remove emails from the list archive. Please in the future remove your confidentiality statement from emails and take this as notice that they are not and we will take no action to remove them from the archives in the future (yes we have been asked in the past to do this, which is why i have to make this statement). On May 24, 2018, at 12:54 PM, Karanath sachidanandan, Sanooj <SANOOJ_KARANATH_SACHIDANANDAN@homedepot.com<mailto:SANOOJ_KARANATH_SACHIDANANDAN@homedepot.com>> wrote: Hi Guys , Anybody using Freeswitch in Google cloud platform ? I am trying to have a multi region freeswitch installation in google cloud with Sip load balancer Kamailio . But challenge is to have a multi region load balancing. Google’s TCP load balancer looks promising but don’t support Sip ports(5060, 5061) Any thoughts on that or any other suggestion? Thanks in advance https://cloud.google.com/compute/docs/load-balancing/tcp-ssl/tcp-proxy<https://urldefense.proofpoint.com/v2/url?u=https-3A__cloud.google.com_compute_docs_load-2Dbalancing_tcp-2Dssl_tcp-2Dproxy&d=DwMFaQ&c=MtgQEAMQGqekjTjiAhkudQ&r=S9Crna1EYAWVa5Sef9w2iP8TMgbiCQCxyKSTDJj2DFN4Zz0WjO7sDM6LUQr35ORe&m=-dIGBsqaXbTdYgJ5Y8RL5D4401C1rPv4FztO2lHZOvA&s=2R0mGtE22wrg07XOksKS2khGDxQQ5-k0pefEQK2oFcQ&e=> _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org<mailto:consulting@freeswitch.org> http://www.freeswitchsolutions.com<https://urldefense.proofpoint.com/v2/url?u=http-3A__www.freeswitchsolutions.com&d=DwMFaQ&c=MtgQEAMQGqekjTjiAhkudQ&r=S9Crna1EYAWVa5Sef9w2iP8TMgbiCQCxyKSTDJj2DFN4Zz0WjO7sDM6LUQr35ORe&m=-dIGBsqaXbTdYgJ5Y8RL5D4401C1rPv4FztO2lHZOvA&s=3kW3iUGr1OmvkPlwd47gmvFUcEeR4S6ac4Rq5ar-D9A&e=> Official FreeSWITCH Sites http://www.freeswitch.org<https://urldefense.proofpoint.com/v2/url?u=http-3A__www.freeswitch.org&d=DwMFaQ&c=MtgQEAMQGqekjTjiAhkudQ&r=S9Crna1EYAWVa5Sef9w2iP8TMgbiCQCxyKSTDJj2DFN4Zz0WjO7sDM6LUQr35ORe&m=-dIGBsqaXbTdYgJ5Y8RL5D4401C1rPv4FztO2lHZOvA&s=vYcAn-_1LEI4QuX_AdcW-l123tlkV5EWrFN6bU_7y_8&e=> http://confluence.freeswitch.org<https://urldefense.proofpoint.com/v2/url?u=http-3A__confluence.freeswitch.org&d=DwMFaQ&c=MtgQEAMQGqekjTjiAhkudQ&r=S9Crna1EYAWVa5Sef9w2iP8TMgbiCQCxyKSTDJj2DFN4Zz0WjO7sDM6LUQr35ORe&m=-dIGBsqaXbTdYgJ5Y8RL5D4401C1rPv4FztO2lHZOvA&s=FVYEtesbxY3YvMD7SAH2KBraxrdQj7nNqYp3SSJJ6zo&e=> http://www.cluecon.com<https://urldefense.proofpoint.com/v2/url?u=http-3A__www.cluecon.com&d=DwMFaQ&c=MtgQEAMQGqekjTjiAhkudQ&r=S9Crna1EYAWVa5Sef9w2iP8TMgbiCQCxyKSTDJj2DFN4Zz0WjO7sDM6LUQr35ORe&m=-dIGBsqaXbTdYgJ5Y8RL5D4401C1rPv4FztO2lHZOvA&s=XcJ8GAwXSsKyx9in4jqQwxMwfigvUgFONyJEDwJeNrw&e=> FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org<mailto:FreeSWITCH-users@lists.freeswitch.org> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users<https://urldefense.proofpoint.com/v2/url?u=http-3A__lists.freeswitch.org_mailman_listinfo_freeswitch-2Dusers&d=DwMFaQ&c=MtgQEAMQGqekjTjiAhkudQ&r=S9Crna1EYAWVa5Sef9w2iP8TMgbiCQCxyKSTDJj2DFN4Zz0WjO7sDM6LUQr35ORe&m=-dIGBsqaXbTdYgJ5Y8RL5D4401C1rPv4FztO2lHZOvA&s=EvHZfbPU11hKkZ_HVup9cIRlGKKkWiEgdCVc7htg02U&e=> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users<https://urldefense.proofpoint.com/v2/url?u=http-3A__lists.freeswitch.org_mailman_options_freeswitch-2Dusers&d=DwMFaQ&c=MtgQEAMQGqekjTjiAhkudQ&r=S9Crna1EYAWVa5Sef9w2iP8TMgbiCQCxyKSTDJj2DFN4Zz0WjO7sDM6LUQr35ORe&m=-dIGBsqaXbTdYgJ5Y8RL5D4401C1rPv4FztO2lHZOvA&s=Gza7h_W1dD3cIn23N5fneor2PQD9Ewtj0YRGT9jVJV4&e=> http://www.freeswitch.org<https://urldefense.proofpoint.com/v2/url?u=http-3A__www.freeswitch.org&d=DwMFaQ&c=MtgQEAMQGqekjTjiAhkudQ&r=S9Crna1EYAWVa5Sef9w2iP8TMgbiCQCxyKSTDJj2DFN4Zz0WjO7sDM6LUQr35ORe&m=-dIGBsqaXbTdYgJ5Y8RL5D4401C1rPv4FztO2lHZOvA&s=vYcAn-_1LEI4QuX_AdcW-l123tlkV5EWrFN6bU_7y_8&e=> ________________________________ The information in this Internet Email is confidential and may be legally privileged. It is intended solely for the addressee. Access to this Email by anyone else is unauthorized. If you are not the intended recipient, any disclosure, copying, distribution or any action taken or omitted to be taken in reliance on it, is prohibited and may be unlawful. When addressed to our clients any opinions or advice contained in this Email are subject to the terms and conditions expressed in any applicable governing The Home Depot terms of business or client engagement letter. The Home Depot disclaims all responsibility and liability for the accuracy and content of this attachment and for any damages or losses arising from any inaccuracies, errors, viruses, e.g., worms, trojan horses, etc., or other items of a destructive nature, which may be contained in this attachment and shall not be liable for direct, indirect, consequential or special damages in connection with this e-mail message or its attachment.
No, this isn’t going to do what you need for sip regardless of port.
On May 24, 2018, at 1:25 PM, Joel Serrano <joel@textplus.com> wrote:
In gcloud docs it says:
"TCP Proxy Load Balancing supports the following ports: 25, 43, 110, 143, 195, 443, 465, 587, 700, 993, 995, 1883, 5222"
They are not mentioning protocols or applications, I don't know if you setup kamailio to listen for example on port 443 if it might work? Clients would have to connect to X.X.X.X:443 though... (which is solvable using SRV records).
This is a suggestion to test, I'm really not sure myself if it would work. I don't know if google does straight TCP proxy or if it has any sort of application level awareness, in such case it would definitely not work (as the default 5060 SIP port is not listed). Giving the example they have a little further down in the docs, (talking about setting up apache (http) to listen on port 110 (pop3), and using curl to test) makes me think that it could work.
Client -> Kamailio -> FreeSWITCHs = Works... widely used. Client -> GCP Load Balancer -> Kamailio -> FreeSWITCHs = No idea, best way to find out is to test, one thing for sure is you will have to mess around a lot in the config file to get the IPs right in all the headers.
Does what I'm saying makes sense? Please correct me if I'm wrong.
Best, Joel.
On Thu, May 24, 2018 at 9:58 AM, Michael Jerris <mike@jerris.com <mailto:mike@jerris.com>> wrote: A tcp load balancer without sip support wouldn’t be sufficient. You’d need something with an understanding of sip like Kamailio or OpenSips to do that.
Also, in regards to your confidentiality statement on your email, please note that no emails to the list are confidential, and we will not remove emails from the list archive. Please in the future remove your confidentiality statement from emails and take this as notice that they are not and we will take no action to remove them from the archives in the future (yes we have been asked in the past to do this, which is why i have to make this statement).
On May 24, 2018, at 12:54 PM, Karanath sachidanandan, Sanooj <SANOOJ_KARANATH_SACHIDANANDAN@homedepot.com <mailto:SANOOJ_KARANATH_SACHIDANANDAN@homedepot.com>> wrote:
Hi Guys , Anybody using Freeswitch in Google cloud platform ? I am trying to have a multi region freeswitch installation in google cloud with Sip load balancer Kamailio . But challenge is to have a multi region load balancing. Google’s TCP load balancer looks promising but don’t support Sip ports(5060, 5061)
Any thoughts on that or any other suggestion? Thanks in advance
https://cloud.google.com/compute/docs/load-balancing/tcp-ssl/tcp-proxy <https://cloud.google.com/compute/docs/load-balancing/tcp-ssl/tcp-proxy>
Thanks for clarifying Mike! TBH, I have always wondered if that kind of setup would work. Joel. On Thu, May 24, 2018 at 10:33 AM, Michael Jerris <mike@jerris.com> wrote:
No, this isn’t going to do what you need for sip regardless of port.
On May 24, 2018, at 1:25 PM, Joel Serrano <joel@textplus.com> wrote:
In gcloud docs it says:
*"TCP Proxy Load Balancing supports the following ports: 25, 43, 110, 143, 195, 443, 465, 587, 700, 993, 995, 1883, 5222"*
They are not mentioning protocols or applications, I don't know if you setup kamailio to listen for example on port 443 if it might work? Clients would have to connect to X.X.X.X:443 though... (which is solvable using SRV records).
This is a suggestion to test, I'm really not sure myself if it would work. I don't know if google does straight TCP proxy or if it has any sort of application level awareness, in such case it would definitely not work (as the default 5060 SIP port is not listed). Giving the example they have a little further down in the docs, (talking about setting up apache (http) to listen on port 110 (pop3), and using curl to test) makes me think that it could work.
Client -> Kamailio -> FreeSWITCHs = Works... widely used. Client -> GCP Load Balancer -> Kamailio -> FreeSWITCHs = No idea, best way to find out is to test, one thing for sure is you will have to mess around a lot in the config file to get the IPs right in all the headers.
Does what I'm saying makes sense? Please correct me if I'm wrong.
Best, Joel.
On Thu, May 24, 2018 at 9:58 AM, Michael Jerris <mike@jerris.com> wrote:
A tcp load balancer without sip support wouldn’t be sufficient. You’d need something with an understanding of sip like Kamailio or OpenSips to do that.
Also, in regards to your confidentiality statement on your email, please note that no emails to the list are confidential, and we will not remove emails from the list archive. Please in the future remove your confidentiality statement from emails and take this as notice that they are not and we will take no action to remove them from the archives in the future (yes we have been asked in the past to do this, which is why i have to make this statement).
On May 24, 2018, at 12:54 PM, Karanath sachidanandan, Sanooj < SANOOJ_KARANATH_SACHIDANANDAN@homedepot.com> wrote:
Hi Guys , Anybody using Freeswitch in Google cloud platform ? I am trying to have a multi region freeswitch installation in google cloud with Sip load balancer Kamailio . But challenge is to have a multi region load balancing. Google’s TCP load balancer looks promising but don’t support Sip ports(5060, 5061)
Any thoughts on that or any other suggestion? Thanks in advance
https://cloud.google.com/compute/docs/load-balancing/tcp-ssl/tcp-proxy
_________________________________________________________________________ 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 (3)
-
Joel Serrano
-
Karanath sachidanandan, Sanooj
-
Michael Jerris