Re: vocal source code analysis
Ben Greear <[email protected]> Thu, 24 Feb 2005 20:43:16 -0800
| Newsgroups | gmane.comp.lib.vovida.vocal |
|---|---|
| Organization | Candela Technologies |
| Message-ID | <[email protected]> |
Shaodong Gu wrote: > Hi,guys: > > I've planned for a long time to study vocal, now it's time to analyze > its source code. > > I've read RFC3261 and is familiar with SIP protocol, have much > experience on vocal's installation/provision/functions and various SIP > calls with it. I also configured some softphones and cisco7940 SIP phone > and cisco2600 voice gateway. They're running together very well. Still, > I have much knowledge on Linux system, OO/C++/network programming, VoIP, > etc. > > So I think it's time to start source code analysis and my focus is on > system architecture and SIP implementation elements. > > To my surprise, it has about 2,000,000 lines code. It's really a bit > cake for me. :-( I don't know where and how to start. > > Could you give me some kind help or advice? Is it possible for me to > find some analysis reports on it? If you are into hacking on code, you might want to look at my VOCAL2 project at http://www.candelatech.com/oss/vocal2.html. The SIP code in there works well for me, but I believe I may have broken the command-line interface for the gua voip phone. And, the servers do not work. In fact, it's only thing going for it is that I managed to rip out all of the threads so it's almost possible to follow the flow of the code now. If you want to do incremental changes to existing code, pick a server in the VOCAL tree (maybe the B_GREEAR_FIXES CVS branch if you want my changes too) that you are interested in, find the main() method, and start digging. To be honest, it took me maybe 4 months before I started to get the whole picture though... For a smaller code base, you might want to consider Asterisk. It also has a much more lively developer following... Ben -- Ben Greear <[email protected]> Candela Technologies Inc http://www.candelatech.com _______________________________________________ vocal mailing list [email protected] To unsubscribe, please go to http://www.vovida.org/mailman/listinfo/vocal