I have been running a call center application in the asterisk-16.18.0 where the SIP registered users act as the agents and receive the calls landing in the Queue. The incoming calls get transferred from the phones using the features.conf. However, i am supposed to transfer the call using the PHP via the AMI. But then it does not allow me to transfer the call. If i try bridge, it is going but not using the Redirect. I am sure that it could be a configuration help, but not getting any clue on how to do that. If i run the Originate http://ipaddr/ccs/ccsAppCall.php?Ext=6002&Tel=98400XXXXX application i am able to land call on my cellphone but fail to transfer the call using the Web GUI thereafter.
But when i try to Use
The channel2 value i am taking from
$commandline=‘sudo asterisk -rx "core show channels "’;
And the channel1 is what i receive from the database where in the Channel Id of incoming call in the Queue is received.
Any help in this regard would be a savior.
Apologies if i have not posted in the right group.