[Asterisk-Users] Asterisk 1.2.4 IAX2 New Jitterbuffer Tuning

Peter Fern pete at keypoint.com.au
Tue Feb 21 05:58:51 MST 2006


I had exactly the same experience running IAX2, but also experienced 
half-duplex calls on top of that (though I think that's a different but 
with IAX handoff), and in the end dropped it completely for SIP.

We run g729 over dedicated fibre, and the resyncs were occurring all 
over the place with quite ludicrous values logged for delay.  I tried 
tweaking the jitterbuf, turning it off completely, and reverting to the 
old jitterbuffer implementation. none of which made any difference.  I 
also tried with and without trunking enabled.

SIP is running much more acceptably now.

Adam Robins wrote:

> 
>After many days of playing with the new jitterbuffer and trunking options for IAX2, I have finally received almost acceptable quality.  I am receiving 5-8 complaints a day of calls "breaking up" from both the customer and agent sides.  What I have discovered is that in most of these cases, the new jitterbuffer performed a resync during the call.  Currently, I have the resyncthreshold, and all other jb parameters at their default levels  The traffic is running over a fairly high latency WAN connection between Canada and Atlanta (IAX2, ILBC).  Idle ping times run about 85ms.
> 
>Below are the resync messages for this past Friday.  Knowing that I have a slow connection, should I set the resync at a much higher level?  I appreciate any assistance you may provide.
> 
>Thanks,
>Adam
> 
>Feb 17 09:07:41 WARNING[1078] chan_iax2.c: Resyncing the jb. last_delay -34, this delay 1651, threshold 1488, new offset -1651
>Feb 17 09:07:42 WARNING[1078] chan_iax2.c: Resyncing the jb. last_delay -120, this delay -1684, threshold 1000, new offset 33
>Feb 17 10:21:04 WARNING[1078] chan_iax2.c: Resyncing the jb. last_delay 176, this delay 1835, threshold 1126, new offset -1835
>Feb 17 10:21:04 WARNING[1078] chan_iax2.c: Resyncing the jb. last_delay 32, this delay 1673, threshold 1062, new offset -1673
>Feb 17 10:21:04 WARNING[1078] chan_iax2.c: Resyncing the jb. last_delay -150, this delay -1663, threshold 1300, new offset -172
>Feb 17 10:21:04 WARNING[1078] chan_iax2.c: Resyncing the jb. last_delay -150, this delay -1635, threshold 1300, new offset -38
>Feb 17 10:21:48 WARNING[1078] chan_iax2.c: Resyncing the jb. last_delay -22, this delay 2335, threshold 1054, new offset -2373
>Feb 17 10:21:48 WARNING[1078] chan_iax2.c: Resyncing the jb. last_delay 11, this delay 2363, threshold 1082, new offset -2535
>Feb 17 10:21:48 WARNING[1078] chan_iax2.c: Resyncing the jb. last_delay -71, this delay 2249, threshold 1054, new offset -2249
>Feb 17 10:21:48 WARNING[1078] chan_iax2.c: Resyncing the jb. last_delay -180, this delay -2359, threshold 1360, new offset -14
>Feb 17 10:21:48 WARNING[1078] chan_iax2.c: Resyncing the jb. last_delay -150, this delay -2354, threshold 1300, new offset -181
>Feb 17 10:21:48 WARNING[1078] chan_iax2.c: Resyncing the jb. last_delay -120, this delay -2297, threshold 1240, new offset 48
>Feb 17 10:34:28 WARNING[1078] chan_iax2.c: Resyncing the jb. last_delay 109, this delay 1556, threshold 1136, new offset -1556
>Feb 17 10:34:28 WARNING[1078] chan_iax2.c: Resyncing the jb. last_delay -30, this delay -1439, threshold 1000, new offset -117
>Feb 17 10:34:32 WARNING[1078] chan_iax2.c: Resyncing the jb. last_delay -7, this delay 1608, threshold 1048, new offset -1725
>Feb 17 10:34:32 WARNING[1078] chan_iax2.c: Resyncing the jb. last_delay -29, this delay -1616, threshold 1058, new offset -109
>Feb 17 10:45:08 WARNING[1078] chan_iax2.c: Resyncing the jb. last_delay 21, this delay 1751, threshold 1620, new offset -1751
>Feb 17 10:45:08 WARNING[1078] chan_iax2.c: Resyncing the jb. last_delay -7, this delay 1724, threshold 1686, new offset -1724
>Feb 17 10:45:08 WARNING[1078] chan_iax2.c: Resyncing the jb. last_delay -60, this delay -1716, threshold 1000, new offset -8
>Feb 17 10:45:08 WARNING[1078] chan_iax2.c: Resyncing the jb. last_delay -119, this delay -1757, threshold 1000, new offset 6
>Feb 17 11:28:45 WARNING[1078] chan_iax2.c: Resyncing the jb. last_delay 75, this delay 1421, threshold 1326, new offset -1421
>Feb 17 11:28:45 WARNING[1078] chan_iax2.c: Resyncing the jb. last_delay 274, this delay 1595, threshold 1282, new offset -1595
>Feb 17 11:29:03 WARNING[1078] chan_iax2.c: Resyncing the jb. last_delay -1311, this delay 820, threshold 1824, new offset -2415
>Feb 17 11:29:03 WARNING[1078] chan_iax2.c: Resyncing the jb. last_delay -1349, this delay 761, threshold 1752, new offset -2182
>Feb 17 11:29:03 WARNING[1078] chan_iax2.c: Resyncing the jb. last_delay -299, this delay -2127, threshold 1598, new offset -288
>Feb 17 11:29:03 WARNING[1078] chan_iax2.c: Resyncing the jb. last_delay -270, this delay -2106, threshold 1540, new offset -76
>Feb 17 11:46:15 WARNING[1078] chan_iax2.c: Resyncing the jb. last_delay 98, this delay 1878, threshold 1206, new offset -1878
>Feb 17 11:46:15 WARNING[1078] chan_iax2.c: Resyncing the jb. last_delay 44, this delay 1799, threshold 1150, new offset -1799
>Feb 17 11:46:15 WARNING[1078] chan_iax2.c: Resyncing the jb. last_delay 28, this delay 1781, threshold 1146, new offset -1781
>Feb 17 11:46:15 WARNING[1078] chan_iax2.c: Resyncing the jb. last_delay -150, this delay -1753, threshold 1000, new offset -46
>Feb 17 11:46:15 WARNING[1078] chan_iax2.c: Resyncing the jb. last_delay -150, this delay -1765, threshold 1000, new offset -16
>Feb 17 11:46:15 WARNING[1078] chan_iax2.c: Resyncing the jb. last_delay -149, this delay -1747, threshold 1298, new offset -131
>Feb 17 11:54:36 WARNING[1078] chan_iax2.c: Resyncing the jb. last_delay -44, this delay 1136, threshold 1064, new offset -1152
>Feb 17 11:54:36 WARNING[1078] chan_iax2.c: Resyncing the jb. last_delay 1, this delay 1155, threshold 1080, new offset -1155
>Feb 17 11:54:36 WARNING[1078] chan_iax2.c: Resyncing the jb. last_delay 405, this delay 1547, threshold 1080, new offset -1547
>Feb 17 11:54:36 WARNING[1078] chan_iax2.c: Resyncing the jb. last_delay -26, this delay 1115, threshold 1054, new offset -1115
>Feb 17 11:54:36 WARNING[1078] chan_iax2.c: Resyncing the jb. last_delay -60, this delay -1133, threshold 1000, new offset -414
>Feb 17 11:54:48 WARNING[1078] chan_iax2.c: Resyncing the jb. last_delay 3, this delay 1144, threshold 1048, new offset -1558
>
>
>The contents of this email message and any attachments are confidential and are intended solely for addressee. The information may also be legally privileged. This transmission is sent in trust, for the sole purpose of delivery to the intended recipient. If you have received this transmission in error, any use, reproduction or dissemination of this transmission is strictly prohibited. If you are not the intended recipient, please immediately notify the sender by reply email and delete this message and its attachments, if any.
>
>
>  
>
>------------------------------------------------------------------------
>
>_______________________________________________
>--Bandwidth and Colocation provided by Easynews.com --
>
>Asterisk-Users mailing list
>To UNSUBSCRIBE or update options visit:
>   http://lists.digium.com/mailman/listinfo/asterisk-users
>  
>



More information about the asterisk-users mailing list