Questions tagged [phpari]

phpari is a library enabling Asterisk ARI functionality for PHP.

phpari is a library enabling Asterisk ARI functionality for PHP.

Minimum requirements to have phpari installed on your server:

  • PHP >= 5.3.9

  • Composer

  • PHP OpenSSL Module to connect using SSL (wss:// uris)

Source code available at GitHub.

3 questions
2
votes
1 answer

Asterisk 13 ARI not firing "ChannelTalkingStart" events

I have Asterisk 13 configured and debugging all received events, but I can't get it to fire a ChannelTalkingStart event. If I press tones on my phone it does fire ChannelDtmfReceived, so I know it can sorta hear me. Is there something special I…
Anthony
  • 5,275
  • 11
  • 50
  • 86
2
votes
1 answer

Asterisk ARI / phpari - Bridge recording: "Recording not found"

I'm using phpari with Asterisk 13 and trying to record a bridge (mixing type). In my code: $this->phpariObject->bridges()->bridge_start_recording($bridgeID, "debug", "wav"); It returns: array(4) { ["name"]=> string(5) "debug" ["format"]=> …
Ricardo
  • 11,609
  • 8
  • 27
  • 39
0
votes
0 answers

I can connect to ws://localhost:8088/ari/events?api_key=user:user&app=hello-world, but i can't connect to ws://localhost:8088/ws. Why?

I am using laravel and javascript to presend live data of a call center dashboard. How can I control the realtime data with laravel endpoints and websockets, I do not want to access asterisk ari with javascript directly but first with laravel and do…