[asterisk-bugs] [Asterisk 0018864]: The "Unlink" bridge event in channel.c

Asterisk Bug Tracker noreply at bugs.digium.com
Wed Mar 2 09:08:12 CST 2011


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=18864 
====================================================================== 
Reported By:                UJvu
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   18864
Category:                   Core/ManagerInterface
Reproducibility:            N/A
Severity:                   text
Priority:                   normal
Status:                     acknowledged
Asterisk Version:           1.6.2.17-rc2 
JIRA:                       SWP-3154 
Regression:                 No 
Reviewboard Link:            
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Request Review:              
====================================================================== 
Date Submitted:             2011-02-22 02:27 CST
Last Modified:              2011-03-02 09:08 CST
====================================================================== 
Summary:                    The "Unlink" bridge event in channel.c
Description: 
In doc\manager_1_1.txt (line 63):
	- The "Link" and "Unlink" bridge events in channel.c are now renamed to
"Bridge"!


But in channel.c (line 5548):
				manager_event(EVENT_FLAG_CALL, "Unlink",
					      "Channel1: %s\r\n"
					      "Channel2: %s\r\n"
					      "Uniqueid1: %s\r\n"
					      "Uniqueid2: %s\r\n"
					      "CallerID1: %s\r\n"
					      "CallerID2: %s\r\n",
					      c0->name, c1->name, c0->uniqueid, c1->uniqueid,
c0->cid.cid_num, c1->cid.cid_num);

channel.c (line 5622):
	manager_event(EVENT_FLAG_CALL, "Unlink",
		      "Channel1: %s\r\n"
		      "Channel2: %s\r\n"
		      "Uniqueid1: %s\r\n"
		      "Uniqueid2: %s\r\n"
		      "CallerID1: %s\r\n"
		      "CallerID2: %s\r\n",
		      c0->name, c1->name, c0->uniqueid, c1->uniqueid, c0->cid.cid_num,
c1->cid.cid_num);

====================================================================== 

---------------------------------------------------------------------- 
 (0132527) davidw (reporter) - 2011-03-02 09:08
 https://issues.asterisk.org/view.php?id=18864#c132527 
---------------------------------------------------------------------- 
"Text" is the wrong severity for this, as it does break a documented API. 
I'm not sure if it should be Trivial or Minor, given how long it took for
this to be first found.  We currently only look for Bridge/Link, not for
any Unlinks. 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2011-03-02 09:08 davidw         Note Added: 0132527                          
======================================================================




More information about the asterisk-bugs mailing list