|Summary:||ASTERISK-08418: [patch] libiax2 wrong timestamp|
|Reporter:||Harmen van der Wal (harmen)||Labels:|
|Date Opened:||2006-12-21 18:26:29.000-0600||Date Closed:||2011-06-07 14:07:58|
|Environment:||Attachments:||( 0) txrel-ack.patch|
|Description:||In libiax2 a wrong timestamp is sent when a TXREL frame is ACKnowledged.|
To reproduce the problem, configure an extension on asterisk #1 to asterisk #2.
exten => 608,1,Dial(IAX2/guest@asterisk2/s@default)
Then dial the extension on asterisk #1 with iaxclient.
Rx-Frame Retry[ No] -- OSeqno: 004 ISeqno: 004 Type: IAX Subclass: TXREL
Timestamp: 01163ms SCall: 00001 DCall: 25190 [192.168.1.1:4569]
CALL NUMBER : 6
Tx-Frame Retry[-01] -- OSeqno: 004 ISeqno: 005 Type: IAX Subclass: ACK
Timestamp: 2332295168ms SCall: 25190 DCall: 00001 [192.168.1.1:4569]
This is the result of omitting ntohl. See the attached txrel-ack.patch.
As far as I can tell, this bug doesn't cause any real problems.
****** ADDITIONAL INFORMATION ******
SVN revision number is 35 (of libiax2, not asterisk obviously).
Hope I didn't misplace this report.
|Comments:||By: Joshua C. Colp (jcolp) 2006-12-22 10:01:48.000-0600|
I would suggest contacting iaxclient to get your patch in there and see if it's applicable as they maintain their own copy. libiax2 on SVN here is rather unmaintained. If you would still like me to put the patch in though, feel free to respond and I shall.
By: Harmen van der Wal (harmen) 2006-12-22 14:04:58.000-0600
Ok, I submited the patch to iaxclient and let's leave it at that then.
By: Serge Vecher (serge-v) 2006-12-27 13:34:23.000-0600
thanks for confirmation.