[asterisk-bugs] [Asterisk 0015361]: [patch] AST-2009-001 breaks IAX2 RFC5456 compliance - Timestamps in POKE/PONG zero in 2 of 4 Bytes

Asterisk Bug Tracker noreply at bugs.digium.com
Fri Jun 19 15:20:11 CDT 2009


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=15361 
====================================================================== 
Reported By:                ffloimair
Assigned To:                dvossel
====================================================================== 
Project:                    Asterisk
Issue ID:                   15361
Category:                   Channels/chan_iax2
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     assigned
Asterisk Version:           1.4.25.1 
Regression:                 No 
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Request Review:              
====================================================================== 
Date Submitted:             2009-06-19 04:19 CDT
Last Modified:              2009-06-19 15:20 CDT
====================================================================== 
Summary:                    [patch] AST-2009-001 breaks IAX2 RFC5456 compliance
- Timestamps in POKE/PONG zero in 2 of 4 Bytes
Description: 
When using POKE/PONG requests the timestamp values are broken. Since 1.4.25
the timestamp in POKE and PONG IEs were identical.
However, when using Asterisk 1.4.25.1 in the POKE IE on PowerPC platforms
the first 2 Bytes of the 4 Byte Timestamp are always 0, the second 2 Bytes
are identical to the value in the PONG IE, so obviously the first two Bytes
are zeroed for some reason. On x86 platforms however, the first two bytes
are also zero and the second two Bytes show the value that is supposed to
be in the first two Bytes.

Seems like there is 2 problems at once (endianess & addressing). 
====================================================================== 

---------------------------------------------------------------------- 
 (0106732) dvossel (administrator) - 2009-06-19 15:20
 https://issues.asterisk.org/view.php?id=15361#c106732 
---------------------------------------------------------------------- 
I uploaded a patch that should do the trick.  This issue will be closed
once I commit it, but feel free to reopen the issue if this does not
resolve it for you. 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-06-19 15:20 dvossel        Note Added: 0106732                          
======================================================================




More information about the asterisk-bugs mailing list