[Home]

Summary:ASTERISK-26843: app_directed_pickup: Not working for ring group
Reporter:Luke Escude (lukeescude)Labels:
Date Opened:2017-03-07 15:02:39.000-0600Date Closed:2017-03-07 15:07:54.000-0600
Priority:MinorRegression?
Status:Closed/CompleteComponents:Applications/app_directed_pickup
Versions:13.14.0 Frequency of
Occurrence
Related
Issues:
Environment:Attachments:
Description:Directed pickup (we use prefix **) works just fine for individual extensions, but if there are multiple devices in a Ring Group, the following error is generated:

-- Executing [**110@from-internal:1] Pickup("PJSIP/116-00000a67", "110") in new stack
[Mar  7 18:46:02] NOTICE[59000][C-00000470]: app_directed_pickup.c:367 pickup_exec: No target channel found for 110@from-internal.

The following excerpt will allow for the issue to be recreated:

exten => 4242,1,Dial(PJSIP/143&PJSIP/144)
exten => *143,1,Pickup(143) ; these two can't pickup
exten => *144,1,Pickup(144) ; the dialed extensions in 4242
exten => *4242,1,Pickup(4242)
Comments:By: Asterisk Team (asteriskteam) 2017-03-07 15:02:39.971-0600

Thanks for creating a report! The issue has entered the triage process. That means the issue will wait in this status until a Bug Marshal has an opportunity to review the issue. Once the issue has been reviewed you will receive comments regarding the next steps towards resolution.

A good first step is for you to review the [Asterisk Issue Guidelines|https://wiki.asterisk.org/wiki/display/AST/Asterisk+Issue+Guidelines] if you haven't already. The guidelines detail what is expected from an Asterisk issue report.

Then, if you are submitting a patch, please review the [Patch Contribution Process|https://wiki.asterisk.org/wiki/display/AST/Patch+Contribution+Process].

By: Joshua C. Colp (jcolp) 2017-03-07 15:05:55.158-0600

Thank you for taking the time to report this bug and helping to make Asterisk better. Unfortunately, we cannot work on this bug because your description did not include enough information. Please read over the Asterisk Issue Guidelines [1] which discusses the information necessary for your issue to be resolved and the format that information needs to be in. We would be grateful if you would then provide a more complete description of the problem. At a minimum, we need:

1. The specific steps or actions you took that caused you to encounter the problem.
2. The behavior you expected and the location of documentation that led you to that expectation.
3. The behavior you actually encountered.

To demonstrate the issue in detail, please include Asterisk log files generated per the instructions on the wiki [2]. If applicable, please ensure that protocol-level trace debugging is enabled, e.g., 'sip set debug on' if the issue involves chan_sip, and configuration information such as dialplan and channel configuration.

Thanks!

[1] https://wiki.asterisk.org/wiki/display/AST/Asterisk+Issue+Guidelines

[2] https://wiki.asterisk.org/wiki/display/AST/Collecting+Debug+Information



By: Joshua C. Colp (jcolp) 2017-03-07 15:07:54.498-0600

This isn't a bug. Directed pickup works based on the extension that has executed Dial(). In your example that is "4242". PJSIP/143 and PJSIP/144 are not extensions, they are PJSIP dialed endpoints.

By: Luke Escude (lukeescude) 2017-03-07 15:11:30.345-0600

We never had this issue with chan_sip though - just pjsip bundled.

The technical use case for picking up a ringing endpoint is far greater than the use case for picking up a ring group #. Most people don't know/care about ring group extension #s at all. They just want to look at a series of BLF keys and perform a pickup when an endpoint is ringing.

By: Asterisk Team (asteriskteam) 2017-03-07 15:11:30.505-0600

This issue has been reopened as a result of your commenting on it as the reporter. It will be triaged once again as applicable.

By: Joshua C. Colp (jcolp) 2017-03-07 15:17:35.806-0600

The directed pickup application has always worked like that[1], it has no special knowledge of PJSIP. Are you actually referring to picking up a ringing channel using some sort of SIP specific thing? I'd suggest providing what I originally asked for then including console output.

[1] https://wiki.asterisk.org/wiki/display/AST/Application_Pickup

By: Asterisk Team (asteriskteam) 2017-03-22 12:00:02.160-0500

Suspended due to lack of activity. This issue will be automatically re-opened if the reporter posts a comment. If you are not the reporter and would like this re-opened please create a new issue instead. If the new issue is related to this one a link will be created during the triage process. Further information on issue tracker usage can be found in the Asterisk Issue Guidlines [1].

[1] https://wiki.asterisk.org/wiki/display/AST/Asterisk+Issue+Guidelines