Summary:ASTERISK-08732: Directed pickup fails, No target channel
Reporter:James Brindle (jamesb63)Labels:
Date Opened:2007-02-05 12:23:05.000-0600Date Closed:2007-06-30 09:20:00
Versions:Frequency of
Environment:Attachments:( 0) verbosedebug-r53152.txt
Description:Directed pickup fails to work on SVN branches, works in release version.

Dialplan has:

exten => _**[1-6]XXX,2,Pickup(${EXTEN:2}@internal_all)
exten => _**[1-6]XXX,3,Hangup()

(note: have also tried with Pickup(SIP/${EXTEN:2}@internal_all) - same result)

pickup context is included in internal_all context

Place call from A to B
B rings
C attempts pickup via "**B"
C does not receive call
B continues to ring as normal

All stations monitoring via hints still receive hints correctly


Rolling back to 1.4.0 release version resolves the issue but understandably breaks the SIP transfer hangup hint fix in 8744.

Verbose debug log as per usual guidelines attached.
Comments:By: James Brindle (jamesb63) 2007-02-05 12:25:05.000-0600

SVN Revision above is mistyped, should read 53152 NOT 51352


By: Serge Vecher (serge-v) 2007-02-07 10:33:25.000-0600

jamesb: are you in position to test the specific revision (to narrow down the one where breakage occurs?). If yes, it would be helpful to know what it is as well as see the debug output from the "last working revision", or 1.4.0 if you can't test revisions.


By: Joshua C. Colp (jcolp) 2007-02-07 10:59:31.000-0600

I need to see your actual dialplan to see what directed pickup is doing.

By: Francesco Romano (francesco_r) 2007-02-16 07:35:50.000-0600

I have the same problem. 1.4 r54672.

By: phsultan (phsultan) 2007-02-16 09:10:07.000-0600

I just tested 1.4 r54840, the problem appears to be related to macros in my case.

Here is the relevant part of my dialplan (extensions.ael) :

macro local-exten-ael( ext , dev ) {
       switch(${DIALSTATUS}) {
       case BUSY:
       catch a {

context from-sip-phones {
_XXXX => {
includes {


context pickup {
_*XXXX => {

Pickup will complain with a "No target channel" message. If I replace the call to 'local-exten-ael' with a Dial command, Pickup works fine.

By: Joshua C. Colp (jcolp) 2007-02-16 11:07:15.000-0600

Fixed in 1.4 as of revision 54884 and trunk as of revision 54885.