Please help me, i need pick up phone from other extension, example : my extension 5101 call to 5102 , From extension 5103 i pick up because in ext 5102 no body available,
Here my dial plan,
[voip-trial]
exten => _5XXX,1,Dial(SIP/${EXTEN},10,t)
exten => _5XXX,9,Hangup
exten => _*8.,1,SET(GLOBAL(PICKUPMARK)=${EXTEN:2})
exten => _*8.,n,Pickup(${EXTEN:2}@PICKUPMARK)
when i press *81 from extension 5103, i got :
== Using SIP RTP CoS mark 5
– Executing [*81@voip-trial:1] Set(“SIP/5102-0000005a”, “GLOBAL(PICKUPMARK)=1”) in new stack
== Setting global variable ‘PICKUPMARK’ to ‘1’
– Executing [*81@voip-trial:2] Pickup(“SIP/5102-0000005a”, “1@PICKUPMARK”) in new stack
[Jan 16 17:07:43] NOTICE[10201]: app_directed_pickup.c:257 pickup_exec: No target channel found for 1.
– Auto fallthrough, channel ‘SIP/5102-0000005a’ status is ‘UNKNOWN’
What my wrong in dial plan?? What solution for this, Thanks