Marbled
(Nicolas Riendeau)
January 17, 2016, 10:12pm
2
Hi!
Maybe something based on this:
Using freePBX Distro 12.0.76.2. Based on all the docs I have found, the following should work:
<?php
if (!@include_once(getenv('FREEPBX_CONF') ? getenv('FREEPBX_CONF') : '/etc/freepbx.conf')) {
include_once('/etc/asterisk/freepbx.conf');
}
global $astman;
$call_data = array(
"Channel" => "SIP/[email protected] ",
"CallerID" => "14408",
"Context" => "ext-local-custon",
"Exten" => "231144808",
"Priority" => "1");
$astman->Originate($call_data);
$astman->log("Called with: $call_data",…
Of course there’s there still the need to find something to run that code but that could be something like having a special web page you browse to, some sort of Inet daemon, etc…
Good luck and have a nice day!
Nick