[asterisk-bugs] [Asterisk 0018011]: [patch] PickupChan() is not working with full channel name

Asterisk Bug Tracker noreply at bugs.digium.com
Sat Sep 18 03:34:12 CDT 2010


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=18011 
====================================================================== 
Reported By:                schern
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   18011
Category:                   Applications/app_directed_pickup
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     new
Asterisk Version:           1.6.2.13 
JIRA:                        
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-17 22:05 CDT
Last Modified:              2010-09-18 03:34 CDT
====================================================================== 
Summary:                    [patch] PickupChan() is not working with full
channel name
Description: 
PickupChan() is not working with full channel name. Currently it only works
if the pickup channel contains channel type and extension (e.g. SIP/123).
If the full channel name is passed, e.g. SIP/123-0000000a, the pickup will
fail.
====================================================================== 

---------------------------------------------------------------------- 
 (0127108) schmidts (reporter) - 2010-09-18 03:34
 https://issues.asterisk.org/view.php?id=18011#c127108 
---------------------------------------------------------------------- 
i see one problem with this. if you dont use the full name for pickup for
example SIP/123 your patch would also pickup a call for SIP/123456. the
original one wouldnt do this.

maybe you should add a check if the channel name has a "-" in it, if so
compare the whole string, else add a "-" as its done by now. 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2010-09-18 03:34 schmidts       Note Added: 0127108                          
======================================================================




More information about the asterisk-bugs mailing list