RCC API returning indication of call answered
Hi,
So I use the RCC api to make calls, but I would also like to logg if the call gets answered, so I found that ReceiveInitialCallInfo has something called r-conn if the call connects. So I figured why not return true when the calls connects, so I can grab this value by calling on getName() like so: $rccapi->state->getName(); where $rccapi is the class object making the calls. This is where the issue lies, so if the one being called answers right away or soonish, then the value gets returned, but if it takes more than 7 seconds it doesn't return even though the person answers the call. So what do I do, is there a easier way to check if the call get answered from outside the class?
Sincerely,
Khalil