Hello,
I’m using PHP PAMI library to communicate to Asterisk AMI. I’m able to make a Call and everything works fine except the fact that the extension I’m using to call has a logged agent, and when I make a call from the softphone I can see the call in queue_log. When I use AMI to original call from the same extension the softphone rings I answer and start ringing the destination, but I can’t see this call in the queue_log I only can see in CDR.
$originateAction = new OriginateAction("PJSIP/{$sourceExtension}");
$originateAction->setExtension("{$DestinationNumber}");
$originateAction->setContext('default'); //
$originateAction->setPriority(1); //
$originateAction->setCallerId("{$sourceExtension}");
Any tip for this problem ?
Thanks !