VOCAL: Open Source VoIP Software for Linux 149
An Anonymous Coward writes: "While most Open Source projects are applications and utilities intended for single users, David Bryan and David Kelly did something different.
They created an infrastructure project -- a VoIP phone system that either can run on a single box attached to a couple of IP phones or can scale up to a network of hosts processing hundreds of
calls between thousands of users. In this informative technical article at ELJonline, Bryan and Kelly detail the 'Vovida Open Communications Applications Library' ('VOCAL') project, a fully functional phone system that can run on either Red Hat Linux or Sun Solaris."
In Japan... (Score:3, Informative)
Yahoo Broadband is offering VoIP Internation Telephony at 7.5 yen/ 3 minutes. Very good deal.
It's very clear as well.
Re:In Japan... (Score:2, Funny)
Re:In Japan... (Score:2)
Re:In Japan... (Score:1)
Needless to say (Score:1)
Re:In Japan... (Score:4, Informative)
Seems like the closest to a true cross platform VoIP app
Re:In Japan... (Score:1)
yep... (Score:5, Funny)
Re:yep... (Score:1)
Re:yep... (Score:1)
Re:off-topic: wish me luck. (Score:1)
OpenH323 is also nice (Score:3, Informative)
Re:OpenH323 is also nice (Score:3, Interesting)
H.323 Translator
The H.323 Translator now supports gateway trunking. Before, it was only supporting NetMeeting as endpoints.
Re:Just RedHat? (Score:1)
Unfortunately, we can only build in house what's convenient, and to be frank, a FreeBSD package would be easier for us to build than a debian package, because at least I already know how to build one and we have an in-house FreeBSD box.
Single whaaa ? (Score:2)
Re:Single whaaa ? (Score:1)
Very Interesting (Score:1, Insightful)
Re:Very Interesting (Score:2)
Re:Very Interesting (Score:1)
Re:Very Interesting (Score:1)
VOCAL (Score:2, Funny)
Re:VOCAL (Score:1)
I was wounrdering (Score:2, Funny)
man if this is fp the meaning to my life has meaning now.
H.323 (Score:2, Informative)
Time to go with industry standard people. Last
place I worked at, we have implemented H.323 gateway
and it worked like magic, coupled up with outher
gateways.
... dunno, looks like guys reinventing the wheel all over again.
p.
Re:H.323 (Score:1)
Re:H.323 (Score:2)
So, what should I do now? (Score:5, Interesting)
Fast forward to 2002. Microsoft still kind of ships Netmeeting with Windows XP Home, but there are no shortcuts, their documentation discourages you from using it (it also blue-screened my XP machine when I tried running it). Instead, they want you to use Microsoft Messenger, which only seems to want to talk through Microsoft's servers. Yahoo! give you video conferencing, but only through Yahoo! messenger and only on Windows. CU-SeeMe doesn't seem to exist anymore. In fact, I couldn't find any Windows or OSX H.323 implementations.
Instead, now the next thing seems to be SIP (Session Initiation Protocol [columbia.edu], which is curiously what Vovida [vovida.org] is based on. Well, it's kind of like HTTP, and that's nice compared to H.323's ASN protocols. MSN Messenger seems to be using it. There is Linphone [linphone.org], which is SIP based and works on Linux.
But... how do we do cross platform video conferencing now? Microsoft Messenger may speak SIP, but as far as I can tell, it doesn't let me do machine to machine calls. Even if it did, GnomeMeeting doesn't seem to support SIP (yet?) and Linphone doesn't do video. And MacOSX, as far as I can tell, is almost completely out in the cold; at least, I couldn't find any commercial video conferencing software for it. The closest is the OpenH.323 sample applications, running under X11 on MacOSX. That's not exactly what you can ask average Mac users to use.
So, if I want to do cross-platform video conferencing between Linux, Windows, and/or Macintosh, what software and protocols should I use?
Re:So, what should I do now? (Score:3, Informative)
We were able to connect M$ Netmeeting directly to the server as well as the minimal phone application for windows (yes there is one avail. at Open H.323 Org [openh323.org]).
I am sory to say that calling the communications prgramm under Linux froze my box completely -- it was probably the soundcard. But when I look an the Gnome or KDE application which are available I think Unix users have a good option to participate.
When it comes to Mac I must say I have no access to one, so I cannot verify the availability/functionality of any app for MacOS. I do beleive though that under MacOSX the above Unix versions should run very well ?
When it comes to SIP we do have linphone (Gnome) available as well as a whole rack ot libraries for different languages. All found on Freshmeat Net [freshmeat.net] with the simple query "SIP"
No idea about MacOS SIP apps, but the same though as above: MacOSX and Gnome ?
Re:So, what should I do now? (Score:2, Informative)
Not a polished product to wow the boss, but it works. well.
http://www.fourmilab.ch/
apt-get install speak-freely
Speak Freely works well (Score:1)
It allowed my wife(in Brasil) and I(in Washington State) to "speak freely" on pun intended.
And let me tell you it beats the hell out of $0.35/min long distance to Brasil.
It even had a nice little conference calling ability that was pretty cool.
Re:So, what should I do now? (Score:2, Informative)
The version of MSN Messenger that ships with XP talks SIP (I'm not sure if the downloadable version of Messenger for earlier operating system does support SIP, I guess not because XP has SIP built in to the operating system).
Microsoft seems to be taking the view that SIP is the way to go and is down playing H.323.
Messenger is preconfigured to talk to several different ITSPs (internet telephony service providers) that provide worldwide PC to phone services. I know of one of these CallServe [callserve.com] that have some information on their site.
IP telephony may not be sexy any more but it is still building rapidly in usage. A lot of "cheap" international phone to phone calls now use IP without the users necessarily being aware of the fact.
Re:So, what should I do now? (Score:1)
Ick. H.323 is a dog to operate through NAT. If both parties are using NAT, you have problems getting one side to call the other. I've been able to call out from behind a NAT router to a modem user, but not accept calls coming the other way. It looks like SIP also needs a proxy of some sort.
For a useful comparison check out this H323 vs SIP [packetizer.com]comparison. Looks like SIP is a lot simpler but less interoperable with things like PSTN.
Really, these days there's no excuse for protocols that hide IP information in the packet data (that's FTP, H.323, and a ton of others).
Jon
Re:So, what should I do now? (Score:1)
Since I work for a company that has products using both protocols, any bias I have is hopefully personal rather than commercial. Here are the differences between the protocol that really matter to me:
Mac OS X (Score:1)
whoever said SIP is the new pink was SO right. (Score:3, Informative)
definitely check out the cisco SIP offerings, as well as the excellent vovida project and tools. they have a lot more to offer as well, including some frivolous PSTN gateway stuff using those internet linejack bits. I personally agree with what they've been doing, which is building an enterprise-class IP telephony infrastructure, rather than wasting time on stuff for college kids to avoid phone bills. but then again your needs may differ from ours. YMMV!
H.323 vs SIP (Score:1)
SIP is from IETF, mixes much better with typical Internet scenarios (NAT, firewalls...etc). It's also far easier to code to.
SIP is the future, it is what is enabling the VOIP dialtone provider boom (it really is a boom, it's just hard to tell).
For example, right now, in less than 10mins, you can go to www.denwa.com, give them your credit card info, and get a SIP dialtone. That includes a DID number (phone number basically, they offer several area codes), optional voice mail, and pretty much any call feature you can think of (as if you owned your own PBX).
You can use a software based SIP device to make/receive calls, or you can use a VOIP/SIP enabled phone (like the Cisco 7960 you see in Fox's 24). You can also buy a FXS/FXO device and enable any POTS (Plain Old Telephone System) phone (generally not worth the cost).
Anyone who pays for a Cable Modem and pays the telco for phone lines should consider dropping the telco completly, and instead signing up for a SIP Dialtone. It really is that easy.
-Malakai
Re:H.323 vs SIP (Score:2)
In right about 10 minutes, you can go to www.denwa.com and become more frustrated than you've been in a long time.
The site is horrible. It takes forever to figure out how to get anything out of them, and I never did manage to find out the rates for their service. I am surprised myself at how thoroughly the site pissed me off with its inscrutability - and I make a living at dealing with bad info design, so I'd expect to be inured to it. If they expect to deal with average consumers, and that's the best they can do, they're screwed from the start, no matter how fabulous the technology may or may not be.
VoIP Development (Score:4, Interesting)
I work for a company [signalogic.com] that has a (very) new product, called the VoIP Development System (VDS), that is a testbed and diagnostic application for VoIP systems. Apparently, the software is so new that it is not even featured on the front page of our web site.
Anyway, VoIP architecture is, of course, integrated into the software. On a daily basis, the VoIP package development team is coming to us, the senior programmers, and asking for assistance and references for developing various parts of the code, ranging from simple GUI items to items regarding the infinitely more complex network architecture implementation.
</plug>
Because of this, I know how difficult and intense the development of VoIP systems is. Kudos go out to the developers for this project. Keep up the good work; you're doing an excellent thing for the open source and free software communities.
Now, whether free software will release a person or company from the cost of buying the hardware to support an extensive network of VoIP systems is another problem, entirely.
Re:VoIP Development (Score:1, Troll)
* Support for Visual Studio development tools: voice and audio software components on host side may be Visual C/C++ or Visual Basic DLLs or OCXs
tells you all you need to know
Re:VoIP Development (Score:2)
Erm, I hope you didn't sign anything in particular before you found out about this product
Vovida.org (Score:5, Informative)
VOCAL (Score:2, Funny)
Hope it has been getting better (Score:2, Interesting)
I pray for the day when Vovida comes out with better documentation, and perhaps a less memory intensive VoIP package.
Replace the Phone Company!!!! (Score:5, Interesting)
Re:Replace the Phone Company!!!! (Score:1)
Re:Replace the Phone Company!!!! (Score:1)
> Anything to spite qwest!
Qwest runs the main internet backbones you'd have to use for east-coast to west-coast calls
Also, it'd be kind of weird to have the possibility of people picking up the phone in their house only to hear two parties they don't know using their phone - 'daddy, there are people talking about bad things on the phone')
Re: (Score:3, Informative)
Re:Replace the Phone Company!!!! (Score:2)
My neighbor has Vonage, and it's okay. It's on a 384K Speakeasy DSL line with a Netopia R7200.
The main problem is that any other network traffic just kills the phone call - people on both sides suddenly sound like robots and there's lots of dropouts. Just calling up a smallish web page (yahoo.com) is enough to do it for several seconds. So it's sort of a one-or-the-other proposition: Use the computer OR use the phone. Maybe that works in a one-person household, but not otherwise.
I assume that with a higher-bandwidth connection this would be less of a problem, but having more than 384K upstream is not that common in consumer-world.
I don't think the problem is with Speakeasy, as they get rock-solid 20ms pings to Vonage.
Re: (Score:2)
all this is fine and dandy, but... (Score:1)
anyone with some help appreciated. don't tell me to read the man page or the help page, i've read them so many times that it isn't fun anymore.
Great Acronym! (Score:2, Funny)
Maybe they started the project only because they had found a cool acronym!...:)
These protocols are all wrong (Score:2, Insightful)
exception of a packet saying "this call came in on port 12 for phone no 99991111 from 1233212232" its got all the bits together to pull this off but no such luck. The people from cyclades said they looked at doing VoIP but everyone wanted "standards" which they didn't or couldn't squeeze into the RAS box. I don't think they ever thought that it wasn't that hard.
Now if I could tell this box, "take calles on this line and send them to port 5433 on 192.168.1.23 as a 64k mu-law stream" then I would have 99% of what I need for a VoIP gateway to the telephone company.
I also have another toy which is a 3com NBX 100 "IP Phone System". Too bad its an ethernet phone system and not an IP phone system. They claim its "open" but the only thing I've found out about it is they have illegal included gzip and gnu tar in an executable which they aren't providing source for. This from one of the few IT compaines that supported the DMCA. Maybe they had stuff to hide like stealing software. Google for "NBX rant" for more...
</rant off>
So I've got this cool device hooked to the phone co and I've got another cool device that hooks to cool phones that sit on my desk and talk over the lan. Will they every talk to each other? I think not.
The next great leap in VoIT will come from someone thats got the balls to do ISDN over IP and write some sample code that works and then an RFC. Till then its just a sick game.
Re:These protocols are all wrong (Score:2, Interesting)
Of course you do have to tell the NBX that this is happening but many people have done it. A quick google serach will turn up plenty of results.
ISDN over IP? Um, I'm pretty sure the reason ISDN is used for commercial grade vtc is because you get a circuit, unlike IP and the Internet and its crazy packet switching. When I call your polycom box on ISDN it's a lot more stable and less flaky than IP. Eventually IP routing and bandwidth on the Internet might be so great that packet switching is as predictable and reliable as circuit switching, but that is FAR from the case now.
Re:These protocols are all wrong (Score:2, Interesting)
My local ATM loop is too busy to support the phone over ADSL so thats out.
My internal ehternet and VPN's all have less jitter than the ATM loop so it seems to me that ISDN over IP would work fine. Infact I've done it using the NBX and relaying over PPP over an SSH tunnel on controlled lines and it works fine. ISDN is 64k data. There is no reason that a typical T1 with QoS can't cope with a few channles of ISDN over IP without anyone noticing but this won't work to call 1/2 around the world but I don't need a solution for that since phone lines work great for that and wholesale rates between the US and Oz are now under US$.015/min its cheaper to pick up the phone than send the data.
Do some research before you rant (Score:3, Interesting)
How are you going to handle call setup and teardown? There are a multitude of things you have to deal with in IP telephoney that go beyond the functionality provided by protocols like TCP and UDP. All SIP does is provide call signalling. The actual voice stream is handed off to SDP which specifies which voice encoding type to use. Such as G.711 Mulaw which you referred to.
The next great leap in VoIT will come from someone thats got the balls to do ISDN over IP and write some sample code that works and then an RFC. Till then its just a sick game.
What do you think H.323 is? Take a look at the signalling required to setup a call in H.225 compared to Q.931. The only thing you're missing in H.225 is the ACK's and those are provided by the underlying TCP protocol.
The people from cyclades said they looked at doing VoIP but everyone wanted "standards" which they didn't or couldn't squeeze into the RAS box. I don't think they ever thought that it wasn't that hard. My Cisco AS5300 doesn't have any problems with converting incoming ISDN to H.323 or SIP. Try a 2600 even.
Re:Do some research before you rant (Score:1)
1) RAS gets voice call on a specifc channel
2) RAS opens tcp port to a ivr server
and connects the data stream to that.
3) IVR server sends recored mulaw data down the line and the caller hears that a audio
4) caller sends touchtones down the line to the program on the server which does an FFT on the data to figure out what buttons where pressed.
5) RAS sends call info (like caller id) to a syslogd somewhere.
Call teardown:
Someone hangs up the connection. Other end gets
hung up too.
How about dial out?
1) server decides it wants to make a call
2) connects to port 20032 on RAS and sends "atdt1234535645"
3) RAS makes outgoing call
4) IVR server sends recored mulaw data down the line and the caller hears that a audio
5) caller sends touchtones down the line to the program on the server which does an FFT on the data to figure out what buttons where pressed.
Seeing that the device already does 99% of this (100% if the data bit is set on the voice call) and IT WORKS, I don't see why I need all the other nonesense that the protocols give me.
How will this newcomer work with asterisk? (Score:5, Interesting)
Also, I have had great luck with my 20 VOIP blasters running in basically a P2P mode with only asking for directions from the phonebook server...
I have yet to impliment a POTS gateway using asterisk because the internet phonejack cards are horribly expensive. Anyone else here doing linux Voip?
Re:How will this newcomer work with asterisk? (Score:1)
If you want to do VoIP for $20 a port, you will not get the compression - the license fees are higher than that, even before you pay for hardware. The VoIP-Blaster is a nice toy, but it cannot do compression and it cannot ring the phone - so it's basically an outgoing phone interface unit that does not support compression.
I've played in this space for almost 4 years now. It's not changed much. There is still a lack of good low-density hardware at decent prices with good cross-platfrm support; the biggest reason for this is volume. If the demand were there for 100,000 cards, you could probably get a decent break on volume pricing. To date the demand has never grown sufficiently so I predict the prices will not drop radically.
And as for PSTN interfacing, you will always have the cost of the real termination point to factor into any system. Even if you can do this cheaply, to match what the phone system does now you will not lower the cost per minute all that much - you can easily get 4-5cents/minute rates in the US, which is a lot cheaper than VoIP if you factor the costs of the new equipment in.
The place where VoIP makes the most sense is still the third-world. You face internet access issues there, but at 35-50 cents/minute long distance rates in the best cases, you have lots of margin to save serious cash by choosing VoIP, even after paying for the new hardware.
VoIP is quite interesting, but linux based VoIP and telephony in general has declined in the last few years - mostly due to a lack of new hardware support. That is due to the fact that the US market - the major market for hardware - is still so cheap for real telephony that there is no market driver. At least in my opinion.
Re:How will this newcomer work with asterisk? (Score:2)
So I dial the Voip blaster on the phone system, get another dial tone, dial 9,1-800-I81-U812 and voila I have a nice connection outside.
Yup, they work absolutely fantastic for a toy. and do everything we needed here. Oh, the Voip Blaster does have hardware compression and echo-cancelling.. fobbit only does a stream to stream connect. kinda neat that way...
you really should try and get a couple of VoIP blasters, they coupled with fobbit or fobbit+openH232 make a very viable VOIP solution that is invisible and completely operated from the $35.00 analog telephone plugged into it. (and yes when you call it it rings... no difference than a normal phone operation outside dialing extension numbers only or ip addresses.
Wasn't VoIP Blaster discontinued? (Score:2)
I thought VoIP Blaster had been discontinued by the manufacturer. Have they changed their minds?
Re:Wasn't VoIP Blaster discontinued? (Score:2)
I personally think that creative dropped it because of either telco pressure or they were afraid of getting sued.
Competition for Nortel / Lucent (Score:4, Interesting)
Asterisk (Score:1)
SIP tools (Score:3, Informative)
Most SIP tools allow direct communications. Some may need a proxy server. A proxy server is somewhat similar to an H.323 gatekeeper. The VOCAL set includes this, but there are many others, too, listed at the URL above.
trademarks (Score:1)
Note that I make no judgement on the hows and whys of the way that whole process works, but I've seen enough news stories of this sort of thing that they might want to consider coming up with something else. If they were wildly and completely different, I wouldn't even bring it up, but one is VoIP and the other is a digital voice-recording system that ties into the phone system on one end and a database & data-collection application on the other-end...
intended for single users (Score:1)
What is this AC thinking? What is timothy thinking posting this without editing it?
Gee, just off of the top of my head: samba, bind, apache, open ssh, sendmail, mysql, and postgresql.
None of those are single user applications and I think slashdot.org is using a couple of them.
[Q] diff Vovida Bayonne? (Score:2)
The article seems to show a fairly simple state model for Vovida.
I love simplicity, but worry about feature completeness and extensibility, too.
Does anyone knowledgable know how Vovida compare with Bayonne [gnu.org]?
IP "Incumbent" Telephone Service (Score:1)
Is this something that could be explored?
Re: (Score:2)
VOCAL Posting (Score:2, Interesting)
VOCAL was created by a group of about 50 developers who worked for Vovida Networks, not just David Bryan and David Kelly. David and David wrote the article that appeared in Embedded Linux Journal and that's why they're mentioned in the posting. All in all, VOCAL represents over 100 man months of development.
Vovida.org is a community web site that hosts many open source communication projects and protocol stacks including VOCAL. There are a number of other open source VoIP solutions, most of which do different things than VOCAL. Bayonne (bayonne.sourceforge.net) and Asterisk (www.asteriskpbx.com) both support TDM interfaces, and added (or are in the process of adding) VoIP support, while VOCAL started VoIP-only (and SIP-centric, at that). OpenH323 (www.openh323.org) focuses on H.323, although the latest versions of the code also has SIP support. Probably the most similar stuff to VOCAL is the osip stack (www.fsf.org/software/osip/), the related proxies, and linphone (www.linphone.org). We have done some work to make linphone interoperate with VOCAL.
As for the Slashdot community's comments about the article's opening line, "While most Open Source projects are applications and utilities intended for single users,..." we didn't intend to slam apache, sendmail, bind, mysql and other multiuser projects. We intended to show that VOCAL was interesting because it was built from the ground up as a distributed system that can easily load balance across multiple servers to scale.
We've been trying to make VOCAL easier to install for new users. If you tried earlier versions of VOCAL and found it difficult to install, you might want to try the latest version. We have also built RPMs and Solaris packages so that people can try VOCAL without having to compile the source code. For those who are interested in acquiring the source code, it is available in tarballs and from CVS.
As for the documentation, we have been working on a book for O'Reilly that includes not only user guide material but large amount of detailed information about the data structures and state machines. The book is called Practical VoIP: Using VOCAL and it is due out this summer. People who have seen advance copies have told that, from a developers' point of view, the material is very useful. Thank you for your patience and please stay tuned.
Re:VOCAL Posting (Score:1)
Re:If it is "open source" why does in only run on. (Score:1)
bump (Score:1)
-Jon
Re:bump (Score:1)
QED
Re:bump (Score:1)
Man, was this "Bizarre" thing intentional? At least it's funny!