Trying to make a call with RCC api
Hi
I am trying to make a call to another user, but get user unknown from returned UserCallResult.
This is my code:
public function ReceiveInitialStart(\AppPlatform\Message $msg) {
$this->sendMessage(new AppPlatform\Message("Initialize", "api", "RCC"));
}
public function ReceiveInitialUserInfo(\AppPlatform\Message $msg)
{
$this->sendMessage(new AppPlatform\Message("UserCall", "api", "RCC","user",1,"cn","Khalil Abuawad","e164","22795592"));
$this->log("UserCall");
}
public function ReceiveInitialInitializeResult(\AppPlatform\Message $msg)
{
$this->log("InitializeResult");
}
public function ReceiveInitialUserCallResult(\AppPlatform\Message $msg)
{
$this->log("UserCallResult");
return "Dead";
}
what I get in output:
{"api":"RCC","mt":"UserCallResult","call":0,"error":"user unknown"}
{"api":"RCC","mt":"UserCallResult","call":0,"error":"user unknown"}
Thanks in advance,
Best Regards,
Khalil