both are sip-accounts and have pickupgroup=1 in the sip.conf
so my idea is, when anybody calls at 123 my mobile is ringing and i call
back on 456 and will be connected to the caller
the callout and all other are runnig, but at the pickup there is always:
pickup_exec: No target channel found for 123@incoming_1
I’ve already tried to insert a answer before the pickup and do a pickup
without the context but nothing runs…
I changed the source like in the link but the problem is still alive…
ns1*CLI> core show channels
Channel Location State Application(Data)
IAX2/XXX.XX.217.52:4 79@wrn:2 Ring Wait(90)
1 active channel
1 active call
-- Executing [80@wrn:2] Pickup("IAX2/XXX.XX.217.52:4569-4", "79@wrn") in new stack
[Mar 12 09:09:08] NOTICE[30639]: app_directed_pickup.c:99 pickup_by_exten: exten: 80 - context: wrn in .
[Mar 12 09:09:08] NOTICE[30639]: app_directed_pickup.c:99 pickup_by_exten: exten: 79 - context: wrn in .
[Mar 12 09:09:08] NOTICE[30639]: app_directed_pickup.c:162 pickup_exec: No target channel found for 79.
the both lines extra came from a log-entry i’ve put in the source:
ast_log(LOG_NOTICE, “exten: %s - context: %s in %s.\n”, target->exten,context,target->dialcontext);
in pickup_by_exten as first line in the while-way.
I don’t think its a problem of the ringing-State because i commented the “can_pickup(target))” in the if-cause two lines later out.