[asterisk-bugs] [Asterisk 0018056]: bad dialog-info remote information

Asterisk Bug Tracker noreply at bugs.digium.com
Wed Feb 23 14:15:04 CST 2011


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=18056 
====================================================================== 
Reported By:                jamicque
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   18056
Category:                   Channels/chan_sip/Subscriptions
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     acknowledged
Asterisk Version:           1.6.2.13 
JIRA:                       SWP-2306 
Regression:                 No 
Reviewboard Link:            
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Request Review:              
====================================================================== 
Date Submitted:             2010-09-26 15:52 CDT
Last Modified:              2011-02-23 14:15 CST
====================================================================== 
Summary:                    bad dialog-info remote information
Description: 
Enabling "notifycid" to "yes" is making asterisk to send NOTIFY information
about callid in dialog-info section. In this dialog, asterisk also sends
information about local and remote side. I found that data about remote
side are the same as in the local side, witch is obviously wrong, according
to RFC4235.
Beneath is an example of such dialog.
====================================================================== 

---------------------------------------------------------------------- 
 (0132311) swheeler (reporter) - 2011-02-23 14:15
 https://issues.asterisk.org/view.php?id=18056#c132311 
---------------------------------------------------------------------- 
I am also experiencing this issue.  I am fairly new to reading the Asterisk
source, but I think the problem is with chan_sip.c line 11613.

The variable mto holds the contents of the to header which should be used
for the target information.  However, I don't think that mto should be used
for the local identity information.  I think that mfrom, which holds the
contents of the from header, should be used in the local identity field.

So line 11613 becomes:
local_display, local_target, local_target, mfrom, mto);

Hope this helps. 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2011-02-23 14:15 swheeler       Note Added: 0132311                          
======================================================================




More information about the asterisk-bugs mailing list