[asterisk-bugs] [Asterisk 0015597]: Session-Expires Parse Error

Asterisk Bug Tracker noreply at bugs.digium.com
Tue Jul 28 08:18:38 CDT 2009


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=15597 
====================================================================== 
Reported By:                mpiazzatnetbug
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   15597
Category:                   Channels/chan_sip/Interoperability
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     new
Asterisk Version:           1.6.0.10 
Regression:                 No 
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Request Review:              
====================================================================== 
Date Submitted:             2009-07-28 07:40 CDT
Last Modified:              2009-07-28 08:18 CDT
====================================================================== 
Summary:                    Session-Expires Parse Error
Description: 
HI, I'm tring to make calls between Asterisk and a CODIAN 4500 MCU. 
I have the following error when I call from a sip-client the MCU, on the
CLI appears this message:
[Jul 28 14:22:30] WARNING[5511]: chan_sip.c:19644 parse_session_expires:
Parsing of Session-Expires failed
As attchment you can find the CAP trace of the SIP messagges. I think
asterisk is not able to parse correctly the 200 OK message coming from the
MCU. Infact It replay with an ACk and immediatly after with a BYE. If I
tried to use option refuse the call start but at the first message coming
from the MCU I have the same error and the call dies. 
====================================================================== 

---------------------------------------------------------------------- 
 (0108308) mpiazzatnetbug (reporter) - 2009-07-28 08:18
 https://issues.asterisk.org/view.php?id=15597#c108308 
---------------------------------------------------------------------- 
If I change the character marker it's work, infact the line in the header
is:
Session-Expired: 500; refresher=uas

chan_sip.c file: line 19641
Old line
while ((p_token = strsep(&p_se_hdr, ";"))) {
New Line
while ((p_token = strsep(&p_se_hdr, ":"))) {

Only I donno if should be work with both caracther : & ; ???

As attchment a pacth file. 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-07-28 08:18 mpiazzatnetbug Note Added: 0108308                          
======================================================================




More information about the asterisk-bugs mailing list