phparia
phparia copied to clipboard
Framework for creating ARI (Asterisk REST Interface) applications.
Propery destinationLinkSecondLeg instance of stdObj
So far I've tried Channels::createChannel, which expects the body to be passed as a Json object, but the library passes urlencoded values. As a result, variables are not set. This...
Hi, I'm testing sequential call, so ring another endpoint if the previous endpoint does not take the call. I have three endpoints. ``` $endpoints = array("PJSIP/000001115","PJSIP/116","PJSIP/117"); ` $this->dialedChannel = $this->client->channels()->createChannel($endpoints[0],null,'null',null,null,$this->client->getStasisApplicationName(),'dialed');`...
When use 'Content-Type' = 'application/x-www-form-urlencoded' on create channel, variable not set. If I change 'form_params' to 'json' - variables set normally.
Hello. ``` $bridge = $client->bridges()->createBridge(uniqid(),'mixing', $bridgeName); $client->bridges()->addChannel($bridge->getId(),$call1); $client->bridges()->addChannel($bridge->getId(),$call2); print_r($bridge->getChannels()); ``` Calls successfuly added, bridge working, but getChannels() return empty array. What am I doing wrong?
Hi, I use the code provided in examples ``` $channel->onChannelDtmfReceived(function (ChannelDtmfReceived $event) { $this->log("Got digit: {$event->getDigit()}"); }); ``` but events seems not be fired, however i can in asterisk cli...
evenement is set to use dev-master. This library says it supports PHP 5.4+. evenement in dev master only supports php 7. Can we either relax evenement requirement or bump the...
This is an option for fixing #27 Please also review #29
This is a secondary option for fixing #27 Please also review #28