<div>Tilghman thanks for your quick reply. This is a test project for some research purpose only. I'm aware of the increased latency involved in this method. Could you please provide some pointer to hook up the multiple frame in an IAX audio packet ? I could not follow the some of the code in chan_iax as I'm pretty new to this code. If there are any short cut method like using an existin function in the core code like frame.c, it will be very helpful. </div>
<div> </div>
<div>Thanks in advance.</div>
<div>I appreciate your inputs.</div>
<div>smv<br><br></div>
<div class="gmail_quote">On Fri, Feb 5, 2010 at 1:58 PM, Tilghman Lesher <span dir="ltr"><<a href="mailto:tlesher@digium.com">tlesher@digium.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">
<div>
<div></div>
<div class="h5">On Friday 05 February 2010 13:31:16 Manivasagam Sivaraman wrote:<br>> I'm trying to pack 3 or 4 audio voice frames into one IAX audio packet and<br>> send it out. The receiving end will also be the same asterisk that would<br>
> expect the 3 or 4 voice frame in one IAX audio packet. Before touching the<br>> code I want to know if this is feasible. I'm new to asterisk and I want to<br>> have a heads up before I begin. Please let me know if there will be some<br>
> risk involved in this. I see a function in frame.h that allows framing of<br>> multiple voice frames in one RTP packet for instance in sip and h323<br>> channels. However no such function is used in chan_iax2.c file. Could you<br>
> please expalin why ? Why iax channel is coded a bit different ?<br><br></div></div>Clearly, because the IAX channel does not use RTP. This is a feature, which<br>helps IAX to more cleanly go through NATs, and it may work in places where<br>
SIP does not, such as double and triple NAT situations.<br><br>I really don't understand why you'd want to pack multiple frames into a single<br>packet. That increases latency, which for a real time protocol is rather bad.<br>
<br>--<br>Tilghman Lesher<br>Digium, Inc. | Senior Software Developer<br>twitter: Corydon76 | IRC: Corydon76-dig (Freenode)<br>Check us out at: <a href="http://www.digium.com/" target="_blank">www.digium.com</a> & <a href="http://www.asterisk.org/" target="_blank">www.asterisk.org</a><br>
<font color="#888888"><br>--<br>_____________________________________________________________________<br>-- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com/" target="_blank">http://www.api-digital.com</a> --<br>
<br>asterisk-dev mailing list<br>To UNSUBSCRIBE or update options visit:<br> <a href="http://lists.digium.com/mailman/listinfo/asterisk-dev" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-dev</a><br></font></blockquote>
</div><br>