[Asterisk-Users] IAX2 multiple audio frames per UDP packet?

Andrew Kohlsmith akohlsmith-asterisk at benshaw.com
Fri Nov 11 11:12:48 MST 2005


On Friday 11 November 2005 13:00, Branko Samardzic wrote:
> I am wondering if it is possible to tweak IAX2 protocol to packetize audio
> data
> more efficiently. I would like to try setups where multiple audio frames
> (gsm)
> are combined into single UDP packet. I know that it will incur delay in
> audio
> streams but I don't care. Primary concern is to lower bandwidth so that
> communication
> can go over slow dialup link (33.6kbps).

Take a look at IAX2 trunking, this is *exactly* what it's for.

> Also, it looks to me that trunkfreq parameter might be of interest to try.
> Am I
> on good track? Any  advice/help is appreciated.

Trunking frequency won't do a thing for you.  Take a look at the IAX2 spec and 
poke through the code a little if you like.  Please note that IAX2 trunking 
in the 1.0.x series is ... iffy.  CVS HEAD and 1.2.x trunking should be much, 
much better.

-A.



More information about the asterisk-users mailing list