-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi, I was just measuring the bitrates of a couple of codecs via iax. I'm getting much higher numbers than expected, so maybe I'm doing something wrong? Measured with iptraf, values displayed are: codec: measured bitrate (bitrate according codec definition) gsm: 52 kbps (13 kpbs) alaw: 154 kbps (?) speex: 57 kpbs (24 kpbs) Seems a little high to me? - -- Regards, Tais M. Hansen ComX Networks Tel: +45-70257474 Fax: +45-70257374 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.3 (GNU/Linux) iD8DBQE/huQT2TEAILET3McRAvEvAJ99hRxmGdCCqRGIpQSEMSwg6g5TBQCgnEFI zeYtRQE3H58KJ7482G3DqEU=BCos -----END PGP SIGNATURE-----
Tais M. Hansen wrote:>-----BEGIN PGP SIGNED MESSAGE----- >Hash: SHA1 > >Hi, > >I was just measuring the bitrates of a couple of codecs via iax. I'm getting >much higher numbers than expected, so maybe I'm doing something wrong? > >Measured with iptraf, values displayed are: >codec: measured bitrate (bitrate according codec definition) > >gsm: 52 kbps (13 kpbs) >alaw: 154 kbps (?) >speex: 57 kpbs (24 kpbs) > >Seems a little high to me? > > >These don't look right.. Were you useing analog phones connected to zap channels to make the calls? Like this.. Analog phone--Asterisk==IAX==Asterisk--Analog phone or If you were using SIP phones did you have them connecting on seperate NIC's so that you could isolate the IAX traffic? Like this.. SIPUA--{nic1}[Asterisk]{nic2}==IAX=={nic1}[Asterisk]{nic2}--SIPUA Were you running iptraf on the Asterisk server and on the local console?? (NOT through a remote SSH connection) Did you have promiscuous mode in iptraf set to off?? ( there may have been other traffic on the network) If you answered NO to any of these chances are your traffic stats are not correct.. Obviously there are other setups that could be used to test the traffic rate but as you didn't mention how you did your tests I just gave some thoughts.... Later..
Check the mailing list. There are several messages addressing the issue. The main cause of the extra bandwidth usage is IP and UDP headers. VoIP sends small packets and so, many times, the headers are actually much larger than the data part of the packet. IAX2 trunking helps with the IP overhead, but only when you are sending more than 2 or so calls between the same Asterisk servers. -Eric On Fri, 2003-10-10 at 11:53, Tais M. Hansen wrote:> -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Hi, > > I was just measuring the bitrates of a couple of codecs via iax. I'm getting > much higher numbers than expected, so maybe I'm doing something wrong? > > Measured with iptraf, values displayed are: > codec: measured bitrate (bitrate according codec definition) > > gsm: 52 kbps (13 kpbs) > alaw: 154 kbps (?) > speex: 57 kpbs (24 kpbs) > > Seems a little high to me? > > - -- > Regards, > Tais M. Hansen > ComX Networks > Tel: +45-70257474 > Fax: +45-70257374 > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.2.3 (GNU/Linux) > > iD8DBQE/huQT2TEAILET3McRAvEvAJ99hRxmGdCCqRGIpQSEMSwg6g5TBQCgnEFI > zeYtRQE3H58KJ7482G3DqEU> =BCos > -----END PGP SIGNATURE----- > > _______________________________________________ > Asterisk-Users mailing list > Asterisk-Users@lists.digium.com > http://lists.digium.com/mailman/listinfo/asterisk-users-- Sample configs and more: http://www.fnords.org/~eric/asterisk/ BTEL Consulting +1-850-484-4535 x2111 (Pensacola) +1-504-595-3916 x2111 (New Orleans) +1-877-677-9643 x2111 (Toll Free)