Open tuhinhossain opened 5 years ago
Hello!
You may use this code below:
`$running = true;
// Main loop while($running) { $pamiClient->process(); usleep(1000); }`
That’s busy-waiting, which can potentially be CPU-intensive.
Does PHP have any select
/poll
support?
If I have an incoming call how can I detect that there is an incoming call on asterisk from my php server using PAMI? Please help.
I tried with
$a->registerEventListener(new A());
. It only listen current action event not listening other event