[Asterisk-Users] The issue of negative timestamp is Fixed

steve at daviesfam.org steve at daviesfam.org
Wed Jul 20 12:44:33 MST 2005



On Wed, 20 Jul 2005, xAD wrote:

> it's fixed
> 
> russell at lists.digium.com russell at lists.digium.com
> Tue Jul 19 11:23:06 CDT 2005
> 
>   a.. Previous message: [Asterisk-cvs] asterisk utils.c,1.58,1.59
>   b.. Next message: [Asterisk-cvs] asterisk utils.c,1.59,1.60
>   c.. Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
> 
> ----------------------------------------------------------------------------
> ----
> 
> Update of /usr/cvsroot/asterisk/include/asterisk
> In directory mongoose.digium.com:/tmp/cvs-serv17202/include/asterisk

The issue of the negative timestamps may be fixed, but there is still 
something serious broken with IAX2 timestamp generation since the new time 
manipulation function patch went in.

Check this log of an outgoing IAX2 call.  CVS-HEAD 05-07-20.

    -- Call accepted by 196.30.83.105 (format ilbc)
    -- Format for call is ilbc
Tx-Frame Retry[-01] -- OSeqno: 002 ISeqno: 002 Type: IAX     Subclass: ACK    
   Timestamp: 00025ms  SCall: 00007  DCall: 00002 [196.30.83.105:4569]
Tx-Frame Retry[000] -- OSeqno: 002 ISeqno: 002 Type: VOICE   Subclass: 138
   Timestamp: 00120ms  SCall: 00007  DCall: 00002 [196.30.83.105:4569]
Rx-Frame Retry[ No] -- OSeqno: 002 ISeqno: 003 Type: IAX     Subclass: ACK    
   Timestamp: 00120ms  SCall: 00002  DCall: 00007 [196.30.83.105:4569]
Tx-Frame Retry[000] -- OSeqno: 003 ISeqno: 002 Type: VOICE   Subclass: 138
   Timestamp: 1717987320ms  SCall: 00007  DCall: 00002 [196.30.83.105:4569]
Rx-Frame Retry[ No] -- OSeqno: 002 ISeqno: 004 Type: IAX     Subclass: ACK    
   Timestamp: 1717987320ms  SCall: 00002  DCall: 00007 [196.30.83.105:4569]
Tx-Frame Retry[000] -- OSeqno: 004 ISeqno: 002 Type: VOICE   Subclass: 138
   Timestamp: 1288490640ms  SCall: 00007  DCall: 00002 [196.30.83.105:4569]
Rx-Frame Retry[ No] -- OSeqno: 002 ISeqno: 005 Type: IAX     Subclass: ACK    
   Timestamp: 1288490640ms  SCall: 00002  DCall: 00007 [196.30.83.105:4569]
Tx-Frame Retry[000] -- OSeqno: 005 ISeqno: 002 Type: VOICE   Subclass: 138
   Timestamp: 858993990ms  SCall: 00007  DCall: 00002 [196.30.83.105:4569]
Rx-Frame Retry[ No] -- OSeqno: 002 ISeqno: 006 Type: IAX     Subclass: ACK    
   Timestamp: 858993990ms  SCall: 00002  DCall: 00007 [196.30.83.105:4569]
Tx-Frame Retry[000] -- OSeqno: 006 ISeqno: 002 Type: VOICE   Subclass: 138
   Timestamp: 429497310ms  SCall: 00007  DCall: 00002 [196.30.83.105:4569]
Rx-Frame Retry[ No] -- OSeqno: 002 ISeqno: 007 Type: IAX     Subclass: ACK    
   Timestamp: 429497310ms  SCall: 00002  DCall: 00007 [196.30.83.105:4569]
Tx-Frame Retry[000] -- OSeqno: 007 ISeqno: 002 Type: VOICE   Subclass: 138
   Timestamp: 00660ms  SCall: 00007  DCall: 00002 [196.30.83.105:4569]
Rx-Frame Retry[ No] -- OSeqno: 002 ISeqno: 008 Type: IAX     Subclass: ACK    
   Timestamp: 00660ms  SCall: 00002  DCall: 00007 [196.30.83.105:4569]
Tx-Frame Retry[000] -- OSeqno: 008 ISeqno: 002 Type: VOICE   Subclass: 138
   Timestamp: 1717987860ms  SCall: 00007  DCall: 00002 [196.30.83.105:4569]
Rx-Frame Retry[ No] -- OSeqno: 002 ISeqno: 009 Type: IAX     Subclass: ACK    
   Timestamp: 1717987860ms  SCall: 00002  DCall: 00007 [196.30.83.105:4569]
Tx-Frame Retry[000] -- OSeqno: 009 ISeqno: 002 Type: VOICE   Subclass: 138
   Timestamp: 1288491180ms  SCall: 00007  DCall: 00002 [196.30.83.105:4569]
Rx-Frame Retry[ No] -- OSeqno: 002 ISeqno: 010 Type: IAX     Subclass: ACK    
   Timestamp: 1288491180ms  SCall: 00002  DCall: 00007 [196.30.83.105:4569]
Tx-Frame Retry[000] -- OSeqno: 010 ISeqno: 002 Type: VOICE   Subclass: 138
   Timestamp: 858994530ms  SCall: 00007  DCall: 00002 [196.30.83.105:4569]
Rx-Frame Retry[ No] -- OSeqno: 002 ISeqno: 011 Type: IAX     Subclass: ACK    
   Timestamp: 858994530ms  SCall: 00002  DCall: 00007 [196.30.83.105:4569]
Tx-Frame Retry[000] -- OSeqno: 011 ISeqno: 002 Type: VOICE   Subclass: 138
   Timestamp: 429497850ms  SCall: 00007  DCall: 00002 [196.30.83.105:4569]
Rx-Frame Retry[ No] -- OSeqno: 002 ISeqno: 012 Type: IAX     Subclass: ACK    
   Timestamp: 429497850ms  SCall: 00002  DCall: 00007 [196.30.83.105:4569]
Tx-Frame Retry[000] -- OSeqno: 012 ISeqno: 002 Type: VOICE   Subclass: 138
   Timestamp: 01200ms  SCall: 00007  DCall: 00002 [196.30.83.105:4569]
Rx-Frame Retry[ No] -- OSeqno: 002 ISeqno: 013 Type: IAX     Subclass: ACK    
   Timestamp: 01200ms  SCall: 00002  DCall: 00007 [196.30.83.105:4569]

This totally breaks the jitter buffer on the receiving system.  
Conversely, doesn't have an audible effect if you aren't using the buffer.

This is bug number 4747.

Regards,
Steve




More information about the asterisk-users mailing list