[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
Fri Jul 30 16:28:28 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-07-30 16:28 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...
====================================================================== 

---------------------------------------------------------------------- 
 (0125405) dvossel (administrator) - 2010-07-30 16:28
 https://issues.asterisk.org/view.php?id=17633#c125405 
---------------------------------------------------------------------- 
chan_sip is now using the PickUp app to try and pickup the extension.  If
you put the hint in the same context as the extension this will just work,
but if you have them both in separate contexts you have to do some
additional stuff.

To get this to work the way you are trying to do it (with the hint in a
different context from the extension) you will have to set
notifycid=ignore-context in sip.conf.  Then you must use the PICKUPMARK
channel variable as described in the PickUp app documentation to match the
extension correctly.

Let me know if this helps. This is described in sip.conf.sample by the
notifycid option 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2010-07-30 16:28 dvossel        Note Added: 0125405                          
======================================================================




More information about the asterisk-bugs mailing list