[asterisk-bugs] [Asterisk 0017633]: (Regression) Pickup from Grandstream BLF button ignores the context specified in Pickup command

Asterisk Bug Tracker noreply at bugs.digium.com
Tue Aug 3 16:06:36 CDT 2010


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=17633 
====================================================================== 
Reported By:                urosh
Assigned To:                dvossel
====================================================================== 
Project:                    Asterisk
Issue ID:                   17633
Category:                   Channels/chan_sip/General
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     feedback
Target Version:             1.6.2.12
Asterisk Version:           SVN 
JIRA:                       SWP-1852 
Regression:                 No 
Reviewboard Link:            
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Request Review:              
====================================================================== 
Date Submitted:             2010-07-13 05:22 CDT
Last Modified:              2010-08-03 16:06 CDT
====================================================================== 
Summary:                    (Regression) Pickup from Grandstream BLF button
ignores the context specified in Pickup command
Description: 
Hi i had problem described in this issue: 
https://issues.asterisk.org/view.php?id=17120
asterisk error was:

[Mar 30 09:48:26] NOTICE[30223]: chan_sip.c:19860 handle_request_invite:
Trying to pick up 520 at blf
[Mar 30 09:48:27] NOTICE[30223]: chan_sip.c:19860 handle_request_invite:
Trying to pick up 520 at blf
[Mar 30 09:48:27] NOTICE[30223]: app_directed_pickup.c:257 pickup_exec: No
target channel found for 520.

I managed to correct it with removing p->callid in line 11302.
I am not a programmer of c++ so I am attaching corrected lines, that
worked for me.

Now phone works like in version 1.6.1, where phone on blinking BLF called
**EXTEN.


======================================================================
Relationships       ID      Summary
----------------------------------------------------------------------
related to          0014567 Directed call pickup does not work usin...
related to          0017671 Fetching Call with Grandstream-BLF (**$...
related to          0017120 (Regression) Pickup from Grandstream BL...
====================================================================== 

---------------------------------------------------------------------- 
 (0125511) dvossel (administrator) - 2010-08-03 16:06
 https://issues.asterisk.org/view.php?id=17633#c125511 
---------------------------------------------------------------------- 
You used notifycid=ignore-context, but did you set the PICKUPMARK channel
variable?

chan_sip now uses the PickUp dialplan app internally to pickup the
extension.  Unless you have the hint in the same context as the extension
you are trying to pick up you have to use both the
'notifycid=ignore-context' option in sip.conf and set the 'PICKUPMARK'
channel variable on the ringing extension.

PickUp app documentation.
  This application can pickup any ringing channel that is calling the
specified
  <extension>. If no <context> is specified, the current context will be
used.
  If you use the special string 'PICKUPMARK' for the context parameter,
for
  example 10 at PICKUPMARK, this application tries to find a channel which
has
  defined a ${PICKUPMARK} channel variable with the same value as
<extension>
  (in this example, '10'). When no parameter is specified, the application
will
  pickup a channel matching the pickup group of the active channel. 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2010-08-03 16:06 dvossel        Note Added: 0125511                          
======================================================================




More information about the asterisk-bugs mailing list