[Home]

Summary:ASTERISK-09418: jerky all calls until asterisk restart, probably jitterbuffer issue
Reporter:pj (pj)Labels:
Date Opened:2007-05-10 07:24:29Date Closed:2007-06-06 11:27:06
Priority:BlockerRegression?No
Status:Closed/CompleteComponents:Core/General
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:
Description:from time to time, asterisk break existing calls,
calls are not disconnected, but sound start to be extremely jerky,
extremely jerky are also all subsequent new calls!
this state remain until asterisk is stopped and started again.
this issue appears between two asterisk servers (1.4 trunk) using iax connection (normal iax, not iax trunk), with jitterbuffer enabled/forced.
I have suspicion, that this issue is related to jitterbuffer, because when I have jb disabled, this issue never appear.

iax debug when answer call during this weird iax state attached...



****** ADDITIONAL INFORMATION ******

Tx-Frame Retry[-01] -- OSeqno: 002 ISeqno: 002 Type: IAX     Subclass: ACK
  Timestamp: 00014ms  SCall: 00017  DCall: 00026 [192.168.38.20:4569]
Rx-Frame Retry[ No] -- OSeqno: 002 ISeqno: 002 Type: CONTROL Subclass: ANSWER
  Timestamp: 00017ms  SCall: 00026  DCall: 00017 [192.168.38.20:4569]
Tx-Frame Retry[-01] -- OSeqno: 002 ISeqno: 003 Type: IAX     Subclass: ACK
  Timestamp: 00017ms  SCall: 00017  DCall: 00026 [192.168.38.20:4569]
Rx-Frame Retry[ No] -- OSeqno: 003 ISeqno: 002 Type: VOICE   Subclass: 8
  Timestamp: 00520ms  SCall: 00026  DCall: 00017 [192.168.38.20:4569]
Tx-Frame Retry[-01] -- OSeqno: 002 ISeqno: 004 Type: IAX     Subclass: ACK
  Timestamp: 00520ms  SCall: 00017  DCall: 00026 [192.168.38.20:4569]
   -- IAX2/ipbx-gw-17 answered IAX2/ipbx-16
Tx-Frame Retry[000] -- OSeqno: 002 ISeqno: 002 Type: CONTROL Subclass: ANSWER
  Timestamp: 01008ms  SCall: 00016  DCall: 00025 [192.168.38.20:4569]
Rx-Frame Retry[ No] -- OSeqno: 002 ISeqno: 003 Type: IAX     Subclass: ACK
  Timestamp: 01008ms  SCall: 00025  DCall: 00016 [192.168.38.20:4569]
Rx-Frame Retry[ No] -- OSeqno: 002 ISeqno: 003 Type: VOICE   Subclass: 8
  Timestamp: 01914ms  SCall: 00025  DCall: 00016 [192.168.38.20:4569]
Tx-Frame Retry[-01] -- OSeqno: 003 ISeqno: 003 Type: IAX     Subclass: ACK
  Timestamp: 01914ms  SCall: 00016  DCall: 00025 [192.168.38.20:4569]
VTx-Frame Retry[000] -- OSeqno: 003 ISeqno: 003 Type: VOICE   Subclass: 8
  Timestamp: 00512ms  SCall: 00016  DCall: 00025 [192.168.38.20:4569]
Rx-Frame Retry[ No] -- OSeqno: 003 ISeqno: 004 Type: IAX     Subclass: ACK
  Timestamp: 00512ms  SCall: 00025  DCall: 00016 [192.168.38.20:4569]
vVTx-Frame Retry[000] -- OSeqno: 002 ISeqno: 004 Type: VOICE   Subclass: 8
  Timestamp: 02020ms  SCall: 00017  DCall: 00026 [192.168.38.20:4569]
Rx-Frame Retry[ No] -- OSeqno: 004 ISeqno: 003 Type: IAX     Subclass: ACK
  Timestamp: 02020ms  SCall: 00026  DCall: 00017 [192.168.38.20:4569]
vvvvvvvvvvvvvvTx-Frame Retry[000] -- OSeqno: 000 ISeqno: 000 Type: IAX     Subclass: POKE
  Timestamp: 00013ms  SCall: 00006  DCall: 00000 [192.168.38.20:4569]
Rx-Frame Retry[ No] -- OSeqno: 000 ISeqno: 001 Type: IAX     Subclass: PONG
  Timestamp: 00013ms  SCall: 00015  DCall: 00006 [192.168.38.20:4569]
Tx-Frame Retry[-01] -- OSeqno: 001 ISeqno: 001 Type: IAX     Subclass: ACK
  Timestamp: 00013ms  SCall: 00006  DCall: 00015 [192.168.38.20:4569]
vvll*CLI>

vvRx-Frame Retry[ No] -- OSeqno: 003 ISeqno: 004 Type: IAX     Subclass: LAGRQ
  Timestamp: 10011ms  SCall: 00025  DCall: 00016 [192.168.38.20:4569]
Tx-Frame Retry[000] -- OSeqno: 004 ISeqno: 004 Type: IAX     Subclass: LAGRP
  Timestamp: 10011ms  SCall: 00016  DCall: 00025 [192.168.38.20:4569]
Rx-Frame Retry[ No] -- OSeqno: 004 ISeqno: 005 Type: IAX     Subclass: ACK
  Timestamp: 10011ms  SCall: 00025  DCall: 00016 [192.168.38.20:4569]
vvTx-Frame Retry[000] -- OSeqno: 005 ISeqno: 004 Type: IAX     Subclass: LAGRQ
  Timestamp: 10005ms  SCall: 00016  DCall: 00025 [192.168.38.20:4569]
Tx-Frame Retry[000] -- OSeqno: 003 ISeqno: 004 Type: IAX     Subclass: LAGRQ
  Timestamp: 10005ms  SCall: 00017  DCall: 00026 [192.168.38.20:4569]
Rx-Frame Retry[ No] -- OSeqno: 004 ISeqno: 006 Type: IAX     Subclass: LAGRP
  Timestamp: 10005ms  SCall: 00025  DCall: 00016 [192.168.38.20:4569]
Tx-Frame Retry[-01] -- OSeqno: 006 ISeqno: 005 Type: IAX     Subclass: ACK
  Timestamp: 10005ms  SCall: 00016  DCall: 00025 [192.168.38.20:4569]
Rx-Frame Retry[ No] -- OSeqno: 004 ISeqno: 004 Type: IAX     Subclass: LAGRP
  Timestamp: 10005ms  SCall: 00026  DCall: 00017 [192.168.38.20:4569]
Tx-Frame Retry[-01] -- OSeqno: 004 ISeqno: 005 Type: IAX     Subclass: ACK
  Timestamp: 10005ms  SCall: 00017  DCall: 00026 [192.168.38.20:4569]
Rx-Frame Retry[ No] -- OSeqno: 005 ISeqno: 004 Type: IAX     Subclass: LAGRQ
  Timestamp: 10021ms  SCall: 00026  DCall: 00017 [192.168.38.20:4569]
Tx-Frame Retry[000] -- OSeqno: 004 ISeqno: 006 Type: IAX     Subclass: LAGRP
  Timestamp: 10021ms  SCall: 00017  DCall: 00026 [192.168.38.20:4569]
Rx-Frame Retry[ No] -- OSeqno: 006 ISeqno: 005 Type: IAX     Subclass: ACK
  Timestamp: 10021ms  SCall: 00026  DCall: 00017 [192.168.38.20:4569]
vvvvvvvvvvRx-Frame Retry[ No] -- OSeqno: 005 ISeqno: 006 Type: IAX     Subclass: HANGUP
  Timestamp: 15081ms  SCall: 00025  DCall: 00016 [192.168.38.20:4569]
  CAUSE CODE      : 16
Comments:By: Russell Bryant (russell) 2007-06-06 11:27:05

This was likely fixed recently by a patch I committed to resolve some deadlocks in chan_iax2.  Please update to the latest code in the 1.4 branch.  If you still have problems, please let me know.  Thanks!