How To Build A Voip Network

Reply from tangle on Jan 16, 2007 - 12:46 PM
What you've got when Dean's built your VoIP platform v1.0, and walked away with the knowledge of job well done, is a good start – particularly if you'd done it 4-5 years ago.
You now have to turn it into a business. Unfortunately your network can only make IP-IP calls and inbound and outbound PSTN and offer a few basic functions like three way calls and call transfer.

Your competitors - now and future - are Skype, BT, Yahoo, Google, AOL, Vonage, Carphone Warehouse, NTL/Virgin, Betamax and pretty much every ISP and CPS service. Everyone one of which spend more on their hospitality budget than you just did on your entire network. And they’re all competing on price, functionality, reliability and service and most are packaging them with for free to sell IP TV, mobiles or Internet.

You have no price edge because you can't negotiate a volume PSTN deal until you have volume, you have no unique features because you haven't yet built them, you have no billing advantage because all you've got is a basic system and you have no customer service because, well, you have no-one to answer the phones.

You have no marketing budget either so you can forget a London Underground poster campaign or a TV add so you spend your money on google ads and SEO. Ever tried typing VoIP into google? (162,000,000 results) Or Cheap calls? (10,300,000 results)

Luckily (?) most of Africa, the new European Eastern block and USA will find you very quickly and start pushing bent credit card payments through your system which get charged back to you by your card merchant 3 months later.

Your finance department will then leave when the bank gets in touch . Oh didn’t anybody mention finance?
Reply from VernonRazon on Mar 21, 2007 - 04:15 AM
Hi Dean,

Your article on how to build a VoIP network was great. Hope you don't mind some more questions, though.

All a SIP Proxy server does is to point the caller to the callee's address, and once they're connected, the proxy disconnects, right? This means that the caller's and the callee's SIP device (whether an IP phone or ATA) are connected to each other without any other intervening device. However, this connection traverses the Internet and thus its quality is dependent on whether the Internet is congested or not at the time of the call.

Question:
1. Is there any way this "call peering" can be routed to a T1 or E1 line instead of the internet? How?
2. Is this also the way H323 VoIP calls are routed - through peering?
3. How do you route an H323 VoIP call through a T1 or E1 line?

Thank you very much in advance, Dean.

Vernon
Reply from dean on Mar 21, 2007 - 10:08 AM
Hi Vernon, welcome to VoIP User.

Quote:
All a SIP Proxy server does is to point the caller to the callee's address, and once they're connected, the proxy disconnects, right?


Up to you. You could build it like that. You may need to keep a proxy in place where you have two users behind NAT though.

You could also proxy nothing and just live with some of the NAT issues that may occur (one way audio is a common one) and lack of accurate call timing. Or you could proxy everything as many ISP's do, to retain control over the session and get accurate timing data.

Quote:
1. Is there any way this "call peering" can be routed to a T1 or E1 line instead of the internet?


Sure.

Quote:
How?


Basic networking principles apply. A VoIP network is just a network. Interconnects are the same as for data. You can go all the way down to Layer 1 and run a CAT V cable. Or T1 or E1 or whatever. WiFi if you like.

Quote:
2. Is this also the way H323 VoIP calls are routed - through peering?


H323 is just a protocol. It is only concerned with Layer 5. Peering could happen at Layer 5. Equally peering could happen at Layer 1. But so far you have only mentioned signalling, for which QoS is less of a problem. I would worry more about the QoS on the RTP media.

Quote:
3. How do you route an H323 VoIP call through a T1 or E1 line?


H323 is just a protocol. You can route it over anything, any which way you like, as long as you have some means of making it communicate with Layer 4.

You could, theoretically, run H323 over smoke signals, or a mechanical connection - code sent by switching a light on and off for example.

You need a more thorough understanding of the OSI networking model. I suggest you read the Wikipedia article on it I linked to in my original post.

Going back to some of the proxying concepts, to give you an example, VoIP User takes a "proxy nothing" approach. We do that specifically because proxying costs money (by way of bandwidth and server usage etc) and we don't really have any, or very much anyway. So we live with the issues and we just say to people "look, it is what it is. We do it on a budget!". We get the occasional user behind NAT having one way audio issues as a result. If you look through the Outbound Service Support forum you'll see that.

You couldn't get away with that running a commercial (paid for) service.

There is a happy medium. You proxy the RTP media only where it is absolutely required and there is no other way as P2P would fail. And then you proxy all the SIP/H323 signalling traffic anyway as it's only a few bytes and not a big deal traffic wise.

Such a configuration gives you the best of both Worlds - you're proxying, but only when you absolutely need to (which would be perhaps 2% of calls or less based on data I have), and you always proxy the signalling traffic from which, theoretically, you can get accurate call data records.

It's not that easy to do. You need some call intelligence to determine when you need to proxy and when you don't need to.

That's what the Ditech SBC does that I mention in my first post. That's why they cost $10k. That's why commercial VoSP's will need one.

I keep trying to hammer home the importance of SBC's to people. To be honest, if you're thinking of starting up a VoSP and have a development budget, don't do it! Hire a team of developers instead and go design a NAT traversing, B2BUA Session Border Controller with Anti-DDoS measures etc etc in built. You'll make a fortune.

SBC's are where the money is right now, and they're really not that hard to build. There's loads of open-source GPL SIP stacks out there you could base one on.

Dean
Reply from VernonRazon on May 03, 2007 - 07:35 AM
Hi Dean,

Hope you don't mind a bunch of basic SIP questions. Smile

1. How is the bandwidth consumption for SIP signalling calculated? How much bandwidth is needed per call?

2. It has been contended that the "last mile" is usually the section of the Internet that's most vulnerable to congestion and so is usually the cause of degradation of voice quality in VoIP. Is this true? My opinion is that the public portion of the Internet is shared, so it must be all subject to congestion.

3. If it's true that the last mile is the usual culprit causing degradation of VoIP quality, can a home enduser QoS device like broadband booster (which maintains QoS on the home user's LAN) help?

4. Is there a scalable method of interfacing bandwidth to the VoIP server to bypass the limited number of T1 cards you can put in the server?

Thank you very much. I really appreciate the time you spend helping people with your expertise.

Vernon
Reply from dean on May 03, 2007 - 09:02 AM
Your last question implies you're using Asterisk, so I'm not sure whether you mean to ask about SIP or something else? What do you mean by "VoIP Server" exactly?

Perhaps you can let us know what you're trying to do.
Reply from VernonRazon on May 03, 2007 - 09:17 AM
Dean,

What I meant was a SIP Proxy Server.
Thanks.

Vernon
Reply from VernonRazon on May 03, 2007 - 09:43 AM
Hi Dean,

Sorry. Regarding my 4th question, it's a SIP Proxy setup. I was just wondering what's the best scalable solution to interface megabytes of bandwidth to the server from the provider, since T1 cards would limit the bandwidth to the number of slots in the server.

Thank you.

Verno
Reply from dean on May 03, 2007 - 10:41 AM
This is a getting a little too complex I think Vernon. I recommend you take some advice from a networks specialist. Not necessarily a VoIP networks specialist. Might be an idea to try and find yourself a Cisco Certified engineer?

If you want to use a T1 line as a trunk that's one thing, future load-balancing and multiple T1's is another. These are pretty much too completely different projects.

You definitely don't want to be putting T1 cards into a SIP proxy server if you want to expand. Why would you when you can put a 100mb or even 1gb NIC in there? The T1's would be terminated by a router backing on to a 100mb or 1gb LAN. Then you can bolt in additional T1's at any time, without changing a thing.

I have no idea what bandwidth SIP signalling uses - I've never bothered to measure it as it's such a small number of bytes. But it would be measurable.

How about building a test rig? Create a fake T1 line (a few feet would do) using twisted pair and a router at each end and actually test it and make whatever measurements you need. You can buy some of the older Cisco kit for a few pounds now on eBay.

As for QoS - you're trying to find a single point where in fact there are multiple points for bandwidth to get "shaped", either inadvertently or deliberately. Get QoS in at as many points as possible.

Dean
Reply from VernonRazon on May 03, 2007 - 10:49 AM
Thanks Dean. As usual - you deliver! More power to you and the VoipUSer.org!

Vernon
Reply from robertlam on Nov 17, 2007 - 12:34 AM
Hi

Can anyone explain how get this open source SBC (opensipstack.org) to function with openSER?

Also is sipfoundry.org's sipXecs a sip server in the same context as openSER?
Reply from dean on Nov 17, 2007 - 12:56 PM
Hi Robert,

opensipstack is not an SBC, it's just an open source SIP stack.

openSBC is an SBC which is based on it (mentioned above).

You're better off posting in our openSER forum for help on setting it up. I'm not sure if anyone here has done it before, but it'll be something like:-

client->openSBC->openSER

The job of the SBC is only to marshall the registrations coming in, and if all is well, send it straight on to the SIP registrar/proxy.

I suggest you take this one into the openSER forum.
Reply from philipj on Jul 12, 2008 - 12:14 AM
Hi VoIP Gurus
Nice post, thanks for the detailed information, I am totally a software guy ,very poor in techinical, intersted in making a service like JAJAH, confident of good marketing. My question is these information all I need to start the VoIP system. My aim is to concentrate on Asian countries.
please help.
thanks
philip
Goto page Previous  1, 2
Voip User Forum Index » The World of VoIP » VoIP General
Reply to topic
Forum Rules and Guidelines | About VoIP User | Privacy Policy


All logos and trademarks in this site are property of their respective owner.
Comments and posts are property of the poster, all the rest (c) 2003-2008 VoIP User Limited.

VoIP User Limited is incorporated in England and Wales under Company Number 6694577.

No part of this site may be reproduced without our prior consent.