could someone please give me some idea what might be wrong with following…
$asm = new AGI_AsteriskManager();
if($asm->connect())
{
$call = $asm->send_request(‘Originate’,
array(‘Channel’=>“0123456789”, // let’s say 0123456789 is a GSM number i want to call
’Context’=>‘default’,
‘Priority’=>1
));
$asm->disconnect();
}
it just hangs-up right away, no call made.
it doesn’t work even if i try to add ‘Async’=>0, nor if i add ‘Sync’=>1