Hello all, I'm looking for advice for codec that works best for asterisk. Anyone has real testing with all codecs, specially with G.729. I have tested with single call on few codecs that come with asterisk by using IPTraf and the rate as of below: ulaw 64 Kbps, sample-based Also known as alaw/ulaw 166kbits/sec alaw 64 Kbps, sample-based Also known as alaw/ulaw 167kbits/sec gsm 13 Kbps (full rate), 20ms frame size 66kbits/sec speex 2.15 to 44.2 Kbps n/a iLBC 15Kbps,20ms frame size: 13.3 Kbps, 30ms frame size 57.6kbits/sec G.729 8 Kbps, 10ms frame size license Have anyone test it with G.729? Please let me know. Thanks. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20040308/9f3ea5a0/attachment.htm
On Tue, 2004-03-09 at 00:29, wrote:> I'm looking for advice for codec that works best for asterisk. Anyone > has real testing with all codecs, specially with G.729. I have tested > with single call on few codecs that come with asterisk by using IPTraf > and the rate as of below: > ulaw 64 Kbps, sample-based Also known as alaw/ulaw 166kbits/sec > alaw 64 Kbps, sample-based Also known as alaw/ulaw 167kbits/sec > gsm 13 Kbps (full rate), 20ms frame size 66kbits/sec > speex 2.15 to 44.2 Kbps n/a > iLBC 15Kbps,20ms frame size: 13.3 Kbps, 30ms frame size 57.6kbits/sec > G.729 8 Kbps, 10ms frame size licenseSingle call using which protocol? I would like to know more about your methodology...> Have anyone test it with G.729? Please let me know.John Todd has tested IAX2 in 'trunking' mode with a variety of codecs , including G.729: http://voip-info.org/wiki-Asterisk+bandwidth+iax2 Note that your results show Speex as better than iLBC for a single call, which differs from John Todd's... F
<Unavailable ID> wrote:> Hello all, > > I'm looking for advice for codec that works best for asterisk. Anyone > has real testing with all codecs, specially with G.729. I have tested > with single call on few codecs that come with asterisk by using IPTraf > and the rate as of below: > > ulaw 64 Kbps, sample-based Also known as alaw/ulaw 166kbits/sec > alaw 64 Kbps, sample-based Also known as alaw/ulaw 167kbits/sec > gsm 13 Kbps (full rate), 20ms frame size 66kbits/sec > speex 2.15 to 44.2 Kbps n/a > iLBC 15Kbps,20ms frame size: 13.3 Kbps, 30ms frame size 57.6kbits/sec > G.729 8 Kbps, 10ms frame size license > > Have anyone test it with G.729? Please let me know. > > Thanks. >Are some of these numbers for the full-duplex traffic? -Andrew
<html> What is the method you are using to test the bandwidth. Can you give us a outline how to do a bit rate measurement on asterisk. <br> <br> At 04:29 PM 3/8/2004 -0800, you wrote:<br> <blockquote type=cite cite><font face="arial" size=2>Hello all,</font><br> <br> <font face="arial" size=2>I'm looking for advice for codec that works best for asterisk. Anyone has real testing with all codecs, specially with G.729. I have tested with single call on few codecs that come with asterisk by using IPTraf and the rate as of below:</font><br> <br> <font face="arial" size=2>ulaw 64 Kbps, sample-based Also known as alaw/ulaw 166kbits/sec<br> alaw 64 Kbps, sample-based Also known as alaw/ulaw 167kbits/sec<br> gsm 13 Kbps (full rate), 20ms frame size 66kbits/sec<br> speex 2.15 to 44.2 Kbps n/a<br> iLBC 15Kbps,20ms frame size: 13.3 Kbps, 30ms frame size 57.6kbits/sec<br> G.729 8 Kbps, 10ms frame size license</font><br> <br> <font face="arial" size=2>Have anyone test it with G.729? Please let me know.</font><br> <br> <font face="arial" size=2>Thanks.</font><br> </blockquote></html>
Have a look at the following document. I know it is not *exactly* what you are asking, but it gives you an idea on how the actual bandwidth consumption changes depending on the actual network medium you are utilizing. http://www.cisco.com/warp/public/788/pkt-voice-general/bwidth_consume.html Have fun. Alex. ----- Original Message ----- From: <Unavailable ID> To: asterisk-users@lists.digium.com Sent: Monday, March 08, 2004 7:29 PM Subject: [Asterisk-Users] Asterisk Codecs [G.729] Hello all, I'm looking for advice for codec that works best for asterisk. Anyone has real testing with all codecs, specially with G.729. I have tested with single call on few codecs that come with asterisk by using IPTraf and the rate as of below: ulaw 64 Kbps, sample-based Also known as alaw/ulaw 166kbits/sec alaw 64 Kbps, sample-based Also known as alaw/ulaw 167kbits/sec gsm 13 Kbps (full rate), 20ms frame size 66kbits/sec speex 2.15 to 44.2 Kbps n/a iLBC 15Kbps,20ms frame size: 13.3 Kbps, 30ms frame size 57.6kbits/sec G.729 8 Kbps, 10ms frame size license Have anyone test it with G.729? Please let me know. Thanks. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20040309/fd392ec2/attachment.htm
I posted the results of my real world analysis of codec bandwidth usage on this list a couple of weeks back. Here's the table I put together and an example of calculating bandwidth over ADSL. G.711 over Ethernet = 95 Kbps per channel G.711 over IP/PPP = 86 Kbps per channel G.711 over ADSL/ATM = 108 Kbps per channel G.729 over Ethernet = 39 Kbps per channel G.729 over IP/PPP = 30 Kbps per channel G.729 over ADSL/ATM = 45 Kbps per channel 200 bytes G.711 packet + 8 bytes AAL5 overhead = 208 bytes 208 bytes fit in 5 cells of 48 bytes payload 5 cells are 265 bytes. VoIP over ATM AAL5MUX thus has an overhead of 21.51% VoIP G.711 conversation sends 50 packets per second. This uses 250 cells per second. This causes approximately 10 OAM5 cells to be sent over the duration. The total bitrate is thus (250 + 10) * 53 bytes * 8 bits = 110240 bits/second = 107.66Kbit/s -----Original Message----- From: Rich Adamson To: asterisk-users@lists.digium.com Sent: 10-3-04 12:41 Subject: Re: [Asterisk-Users] Asterisk Codecs [G.729] All of the numbers he's showing are apparently adding inbound and outbound traffic together, giving results that are approximately double what is actually seen on the wire. If he is working in a half-duplex ethernet environment, those numbers have some meaning; if full-duplex, then cut them in half for reasonable engineering values. (Also, some _appear_ to be questionable.)> What is the method you are using to test the bandwidth. Can you giveus a outline> how to do a bit rate measurement on > asterisk. ><snip>> > ulaw 64 Kbps, sample-based Also known as alaw/ulaw 166kbits/sec > alaw 64 Kbps, sample-based Also known as alaw/ulaw 167kbits/sec > gsm 13 Kbps (full rate), 20ms frame size 66kbits/sec > speex 2.15 to 44.2 Kbps n/a > iLBC 15Kbps,20ms frame size: 13.3 Kbps, 30ms frame size57.6kbits/sec> G.729 8 Kbps, 10ms frame size license > > Have anyone test it with G.729? Please let me know._______________________________________________ Asterisk-Users mailing list Asterisk-Users@lists.digium.com http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users ********* DISCLAIMER ********* This message and any attachment are confidential and may be privileged or otherwise protected from disclosure and may include proprietary information. If you are not the intended recipient, please telephone or email the sender and delete this message and any attachment from your system. If you are not the intended recipient you must not copy this message or attachment or disclose the contents to any other person