app_directed_pickup does not allow me to pickup SIP to SIP calls.
SIP/A calls SIP/B and SIP/C attempts to directed pickup
It works with ZAP to SIP calls.
ZAP/A calls SIP/B and SIP/C can pickup successfully
Asterisk SVN-branch-1.4-r86502M
extensions.conf
exten = s-pickup,1,Pickup(${ARG1}@default)
exten = s-pickup,n,Pickup(${ARG1})
exten = s-pickup,n,Pickup(${ARG1}@numberplan-Full)
exten = s-pickup,n,Pickup(${ARG1}@macro-stdexten)
exten = s-pickup,n,Pickup(${ARG1}@PICKUPMARK)
exten = s-pickup,n,Pickup(${ARG1}@${PICKUPMARK})
-- Executing [s@macro-stdexten:4] Dial("Zap/1-1", "SIP/8884|20|tTwW") in new stack
Fails if calling from SIP phone to SIP phone
-- Executing [s-pickup@macro-pupifring:1] Pickup("SIP/4087-08faec20", "8884@default") in new stack
[Oct 22 08:46:31] NOTICE[3234]: app_directed_pickup.c:159 pickup_exec: No target channel found for 8884.
– Executing [s-pickup@macro-pupifring:2] Pickup(“SIP/4087-08faec20”, “8884”) in new stack
[Oct 22 08:46:31] NOTICE[3234]: app_directed_pickup.c:159 pickup_exec: No target channel found for 8884.
– Executing [s-pickup@macro-pupifring:3] Pickup(“SIP/4087-08faec20”, “8884@numberplan-Full”) in new stack
[Oct 22 08:46:31] NOTICE[3234]: app_directed_pickup.c:159 pickup_exec: No target channel found for 8884.
– Executing [s-pickup@macro-pupifring:4] Pickup(“SIP/4087-08faec20”, “8884@macro-stdexten”) in new stack
[Oct 22 08:46:31] NOTICE[3234]: app_directed_pickup.c:159 pickup_exec: No target channel found for 8884.
– Executing [s-pickup@macro-pupifring:5] Pickup(“SIP/4087-08faec20”, “8884@PICKUPMARK”) in new stack
[Oct 22 08:46:31] NOTICE[3234]: app_directed_pickup.c:159 pickup_exec: No target channel found for 8884.
– Executing [s-pickup@macro-pupifring:6] Pickup(“SIP/4087-08faec20”, “8884@”) in new stack
[Oct 22 08:46:31] NOTICE[3234]: app_directed_pickup.c:159 pickup_exec: No target channel found for 8884.
Works when called from ZAP channels
– Executing [s-pickup@macro-pupifring:1] Pickup(“SIP/4087-08fb2198”, “8884@default”) in new stack