How to pickup call use ami?

leegoex
Joined: Thu 20 of Oct, 2011

How to pickup call use ami?

Posted:Thu 20 of Oct, 2011 (04:03 UTC)
Hi,all.
In my project, I want to pickup a ringing extension use the ami, and I send the action like this:

Action: Originate
Channel: SIP/606
Application: Pickup
Data: 608

then I get the error message "app_directed_pickup.c: pickup_exec: No target channel found for 608". 608 is the sip extension which is ringing, and I want to use sip extension 606 to Pickup 608. Has anyone know what's the problem?