[asterisk-bugs] [Asterisk 0011142]: [PATCH] Better handling of temporary channel name. Fixes FOP.

noreply at bugs.digium.com noreply at bugs.digium.com
Fri Nov 16 03:44:50 CST 2007


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=11142 
====================================================================== 
Reported By:                julianjm
Assigned To:                crich
====================================================================== 
Project:                    Asterisk
Issue ID:                   11142
Category:                   Channels/chan_misdn
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     assigned
Asterisk Version:            SVN 
SVN Branch (only for SVN checkouts, not tarball releases):  1.4  
SVN Revision (number only!): 88184 
Disclaimer on File?:        N/A 
Request Review:              
====================================================================== 
Date Submitted:             11-01-2007 19:16 CDT
Last Modified:              11-16-2007 03:44 CST
====================================================================== 
Summary:                    [PATCH] Better handling of temporary channel name.
Fixes FOP.
Description: 
When dialing out a misdn channel, either by using a group (g:group), or a
port, asterisk creates the channel with a tmp channel number: mISDN/X-uY,
with X being (port-1)*2. Y not important.

Port 0: temporal channel name 0. BChannels 1 and 2
Port 1: temporal channel name 2. BChannels 3 and 4
Port 2: temporal channel name 4. BChannels 5 and 6

As you can see, temporal channel for port 1 conflicts with real channel 2
for port 0. This is not consistent.

This patch forces temporal channels (those for which we have not a B
channel yet), to be named mISDN/tmpX-uY.

Also, it will rename the channel using the ast_change_name() function,
which generates "rename" events, and can be followed by manager events.

As a plus, it will make FOP work correctly with misdn channels.
====================================================================== 

---------------------------------------------------------------------- 
 crich - 11-16-07 03:44  
---------------------------------------------------------------------- 
the patch doesn't apply to trunk anymore, do you mind to update it ? then
i'll test and check it in. 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
11-16-07 03:44  crich          Note Added: 0073793                          
======================================================================




More information about the asterisk-bugs mailing list