[Home]

Summary:ASTERISK-11114: Directed Call Pickup does not work from IVR or DIDs.
Reporter:Marty Riedling (mariedling)Labels:
Date Opened:2007-12-27 08:18:55.000-0600Date Closed:2011-06-07 14:02:53
Priority:MajorRegression?No
Status:Closed/CompleteComponents:Applications/app_directed_pickup
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:( 0) console_output.txt
( 1) sections_of_extensions.txt
Description:Seems that I can pickup calls from SIP to SIP calls, but not from calls that pass through my IVR or a DID. I have set up ext 108 to goto my IVR. If I dial 108 from my SIP phone and then hit option 0 which rings extension 102. If I then from another phone dial **102 to pick it up I get a error: app_directed_pickup.c:159 pickup_exec: No target channel found for 102.

****** ADDITIONAL INFORMATION ******

asterisk 1.4.16.2
asterisk-addons 1.4.5
libpri 1.4.3
zaptel 1.4.7
Comments:By: Marty Riedling (mariedling) 2007-12-27 08:25:04.000-0600

I have attached portions of the extensions.conf file.

By: Marty Riedling (mariedling) 2007-12-27 08:45:59.000-0600

Here is another section from extensions.conf

[from-did-direct]
;include => ext-findmefollow
include => ext-local

By: Marty Riedling (mariedling) 2007-12-27 08:53:55.000-0600

Added console output

By: Tilghman Lesher (tilghman) 2007-12-27 09:18:17.000-0600

That would be because you dialled "0" to ring that extension, so you'd want
Pickup(0) to pickup that ringing extension.

You're confusing channel and extension.  The name of the channel does not matter, only that you dialled "0" to ring it.

By: Marty Riedling (mariedling) 2007-12-27 09:22:43.000-0600

Even if I dial 102 from the IVR it gives the same error. I just found to resolve this I need to change app-pickup to:

[app-pickup]
include => app-pickup-custom
exten => _**.,1,Noop(Attempt to Pickup ${EXTEN:2} by ${CALLERID(num)})
exten => _**.,n,Pickup(${EXTEN:2})
exten => _**.,n,Pickup(${EXTEN:2}@from-did-direct)

; end of [app-pickup]


question is why didn't Pickup(${EXTEN:2}) grab the from-did-direct context?

By: Tilghman Lesher (tilghman) 2007-12-27 09:49:00.000-0600

Because the context is "app-pickup", not "from-did-direct".

By: Marty Riedling (mariedling) 2007-12-27 09:55:26.000-0600

Thought the wiki said that if you didn't specify the context that it would look at  all contexts.

By: Tilghman Lesher (tilghman) 2007-12-27 09:58:04.000-0600

The wiki is not the official documentation.  The official documentation is what is included on the command line.  The wiki has a history (and a reputation) for being often wrong.

By: Michiel van Baak (mvanbaak) 2007-12-27 09:58:36.000-0600

The actual information can be found using 'core show application Pickup'
Please correct the wiki if it's wrong, or request a reopen if Pickup works different then it's documentation under 'core show.....'