[opensuse] VOIP solution?
Dear List We are a tiny business running in China. In China ISP competition is not very healthy, 2 major ISPs: China Telcom, China Netcom both defend their own business by limiting network access to other ISP. We have an office in Beijing, in Beijing there is only one ISP company (monoplay business) that is China Netcom so they "choose" to use it. We have an office in Xiamen, in Xiamen there is only one ISP company (monoplay business) that is China Telcom, so we "choose" to use it. We also have a server hosted by a hosting company, that company is very smart, using some very special technology to connect both ISP. Transfer data from our Xiamen Office to Beijing => 3 ~ 10 KB/s, no connection can maintain 10 minutes. Transfer data from Beijing to Xiamen is the same slow. In Xiamen, transfer data from / to our server is 100KB/s; in Beijing exactly the same. We used to use skype, but quality isn't very high nor very realiable because only a few super-nodes have fast access to both ISP. Besides we got a few other problems too related to skype / gizmo. I am thinking perhaps it's not difficult to set up some software on the server that do the "routing", e.g. it serve as a call center that both office login to a VOIP software and it connects to the server, the server talk to both sides. This is the fastest solution and it should work. That's only my imagination, I am still searching for such software. Both offices use OpenSuSE as desktop computer and the server runs Gentoo Linux. Both offices are behind each one's NAT firewall. -- Zhang Weiwu Real Softservice http://www.realss.com +86 592 2091112 -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Fri, 2007-03-23 at 10:22 +0800, Zhang Weiwu wrote:
I am thinking perhaps it's not difficult to set up some software on the server that do the "routing", e.g. it serve as a call center that both office login to a VOIP software and it connects to the server, the server talk to both sides. This is the fastest solution and it should work. That's only my imagination, I am still searching for such software.
Certainly THIS would work: set up VPN on the server and both office dial into the VPN before they start to use some SIP software. This can solve the problem, but I think it's over complicated. Besides, I never tried VPN on Linux, only did it on Windows: on windows the downside is once a host has dialed up VPN, local network connection is "hidden" for it, that I can no longer access the hosts in the same office that has not yet dialed in the same VPN. This is not acceptable for us. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On 3/22/07, Zhang Weiwu
On Fri, 2007-03-23 at 10:22 +0800, Zhang Weiwu wrote:
I am thinking perhaps it's not difficult to set up some software on the server that do the "routing", e.g. it serve as a call center that both office login to a VOIP software and it connects to the server, the server talk to both sides. This is the fastest solution and it should work. That's only my imagination, I am still searching for such software.
Certainly THIS would work: set up VPN on the server and both office dial into the VPN before they start to use some SIP software. This can solve the problem, but I think it's over complicated.
Besides, I never tried VPN on Linux, only did it on Windows: on windows the downside is once a host has dialed up VPN, local network connection is "hidden" for it, that I can no longer access the hosts in the same office that has not yet dialed in the same VPN. This is not acceptable for us.
If you go with VPN solution you can use openvpn - that way you can setup exactly which IPs you want to route trough the vpn, and then any p2p VOIP software should work. Plenty of them for linux (including GAIM). You can setup Jabber server and use it. servers: http://www.jabber.org/software/servers.shtml, clients: http://www.jabber.org/software/clients.shtml Or you can take a look at http://www.asterisk.org/ -- Svetoslav Milenov (Sunny) Even the most advanced equipment in the hands of the ignorant is just a pile of scrap. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Thu, 2007-03-22 at 21:54 -0500, Sunny wrote:
You can setup Jabber server and use it. servers: http://www.jabber.org/software/servers.shtml, clients: http://www.jabber.org/software/clients.shtml
We have a jabber server installed there and running for several years. Question: how can jabber server help VOIP at all? -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Sunny wrote:
On 3/22/07, Zhang Weiwu
wrote: On Fri, 2007-03-23 at 10:22 +0800, Zhang Weiwu wrote:
I am thinking perhaps it's not difficult to set up some software on the server that do the "routing", e.g. it serve as a call center that both office login to a VOIP software and it connects to the server, the server talk to both sides. This is the fastest solution and it should work. That's only my imagination, I am still searching for such software.
Certainly THIS would work: set up VPN on the server and both office dial into the VPN before they start to use some SIP software. This can solve the problem, but I think it's over complicated.
Besides, I never tried VPN on Linux, only did it on Windows: on windows the downside is once a host has dialed up VPN, local network connection is "hidden" for it, that I can no longer access the hosts in the same office that has not yet dialed in the same VPN. This is not acceptable for us.
If you go with VPN solution you can use openvpn - that way you can setup exactly which IPs you want to route trough the vpn, and then any p2p VOIP software should work. Plenty of them for linux (including GAIM). You can setup Jabber server and use it. servers: http://www.jabber.org/software/servers.shtml, clients: http://www.jabber.org/software/clients.shtml
Or you can take a look at http://www.asterisk.org/
For me it seems that the bandwith shortage is the first problem to solve or cope with. If Skype does not work solely because of bad connections to the Skype Network, this is ok and you might try with a peer to peer client for testing, if direct connectivity works better. A quick google showed IHU (I hear you). There is also an rpm for 10.2 on packman. The description says, that it works without using any session protocol. Otherwise, imho, if Skype does not work ok, hardly anything else will do, especially not a SIP connection, not to mention multiple concurrent SIP connections at the same time. With Asterisk you get a superior PBX Solution that handles anything you can imagine. So you might benefit from Asterix in your internal networks at the respective locations, but, sadly, the IAX (Inter Asterix Protocol), from what I saw, does not offer you better bandwith usage than SIP, so Asterix might not be the obvious solution to handly your bandwith issues. kind regards Eberhard -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Eberhard Roloff wrote:
Or you can take a look at http://www.asterisk.org/
For me it seems that the bandwith shortage is the first problem to solve or cope with. ... With Asterisk you get a superior PBX Solution that handles anything you can imagine. So you might benefit from Asterix in your internal networks at the respective locations, but, sadly, the IAX (Inter Asterix Protocol), from what I saw, does not offer you better bandwith usage than SIP, so Asterix might not be the obvious solution to handly your bandwith issues.
I agree that it looks like a good idea to put an Asterisk server in each office. They will handle local calls within each office so you don't use any external bandwidth. It can also connect your phone lines. Then you need to connect the two Asterisk servers via your hosted server. I guess you could put another copy of Asterisk on that server, or just setup the routing tables to ensure that conections from one to the other go via the hosted server. Details depend on exactly how that "very special technology" is set up. If you use a VPN to communicate with your hosted server then I assume that Asterisk traffic will also use it. But if you don't already need to use a VPN, I'm not clear of the benefit of setting one up. Cheers, Dave -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Zhang Weiwu wrote:
On Fri, 2007-03-23 at 10:22 +0800, Zhang Weiwu wrote:
I am thinking perhaps it's not difficult to set up some software on the server that do the "routing", e.g. it serve as a call center that both office login to a VOIP software and it connects to the server, the server talk to both sides. This is the fastest solution and it should work. That's only my imagination, I am still searching for such software.
Certainly THIS would work: set up VPN on the server and both office dial into the VPN before they start to use some SIP software. This can solve the problem, but I think it's over complicated.
Besides, I never tried VPN on Linux, only did it on Windows: on windows the downside is once a host has dialed up VPN, local network connection is "hidden" for it, that I can no longer access the hosts in the same office that has not yet dialed in the same VPN. This is not acceptable for us.
You used Windows PPTP VPN, which forces the default route through the tunnel. I use OpenVPN, on both Linux and Windows. It works well and does not force the default route. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Fri, 2007-03-23 at 07:18 -0400, James Knott wrote:
Zhang Weiwu wrote:
On Fri, 2007-03-23 at 10:22 +0800, Zhang Weiwu wrote:
I am thinking perhaps it's not difficult to set up some software on the server that do the "routing", e.g. it serve as a call center that both office login to a VOIP software and it connects to the server, the server talk to both sides. This is the fastest solution and it should work. That's only my imagination, I am still searching for such software.
Certainly THIS would work: set up VPN on the server and both office dial into the VPN before they start to use some SIP software. This can solve the problem, but I think it's over complicated.
Besides, I never tried VPN on Linux, only did it on Windows: on windows the downside is once a host has dialed up VPN, local network connection is "hidden" for it, that I can no longer access the hosts in the same office that has not yet dialed in the same VPN. This is not acceptable for us.
You used Windows PPTP VPN, which forces the default route through the tunnel. I use OpenVPN, on both Linux and Windows. It works well and does not force the default route.
Ah, enlightened. I should have known the Microsoft stuff wouldn't be as flexible as we need.
-- Zhang Weiwu Real Softservice http://www.realss.com +86 592 2091112 -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Zhang Weiwu wrote:
On Fri, 2007-03-23 at 07:18 -0400, James Knott wrote:
You used Windows PPTP VPN, which forces the default route through the tunnel. I use OpenVPN, on both Linux and Windows. It works well and does not force the default route.
Ah, enlightened. I should have known the Microsoft stuff wouldn't be as flexible as we need.
Is it ever? After many years of using OS/2 and Linux, whenever I have to use Windows, I feel as though I'm working with one hand tied behind my back. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Fri, 23 Mar 2007 10:22:26 +0800, Zhang Weiwu wrote
Dear List
I am thinking perhaps it's not difficult to set up some software on the server that do the "routing", e.g. it serve as a call center that both office login to a VOIP software and it connects to the server, the server talk to both sides. This is the fastest solution and it should work. That's only my imagination, I am still searching for such software.
Both offices use OpenSuSE as desktop computer and the server runs Gentoo Linux. Both offices are behind each one's NAT firewall.
------------------------------------ Setup a VPN in both sides. Netgear has a small box that can serve as Wireless acces point and VPN goodies (we use Netgear FWG 114P in front of router). Setting up IKE and VPN on this tiny stuf is easy. Make sure you can ping the internal IP of the other side. Do it for both sites. For VOIP implementation in linux you can use asterisk. Install asterisk in the server for PABX server. Digium has line of card products that you should choose as a FXO port in addition to that server. Connect the port of Digium to IP telephone, Grandstream for example has special IP phone that you can choose. For one VOIP/SIP connection it needs around 20-30 kbps. You should aware of this one. See asterisk in www.asterisk.org regards, edwin -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
participants (6)
-
Dave Howorth
-
Eberhard Roloff
-
edwin
-
James Knott
-
Sunny
-
Zhang Weiwu