dariohimo
I checked different ways, found a bug in ECCP.class.php as follows
public function transfercall($extension)
{
$xml_request = new SimpleXMLElement("<request />");
$xml_cmdRequest = $xml_request->addChild('transfercall');
$xml_cmdRequest->addChild('agent_number', $this->agentNumber);
$xml_cmdRequest->addChild('agent_hash', $this->agentHash($this->agentNumber, $this->_agentPass));
$xml_cmdRequest->addChild('extension', str_replace('&', '&', $extension));
$xml_response = $this->send_request($xml_request);
return $xml_response->transfercall_response;
}
Changed this line " $xml_response = $this->send_request($xml_request);" with this " $xml_response = $this->send_request($xml_cmdRequest);"
Now the error is "message":"Error while transferring call - (internal) transfercall: Bad request"
I am checking with internal extensions, PRI line not connected