many thanks to all.

I am interested to originate the call using phpAGI with this code.

<?php
 require('PHPAGI/phpagi-asmanager.php');

 $callid = 'Somebody';

 $asm = new AGI_AsteriskManager();
 if($asm->connect())
 {
   $call = $asm->send_request('Originate',
           array('Channel'=>"LOCAL/[EMAIL PROTECTED]",
                 'Context'=>'called_party_context',
                 'Exten'=>'899',
                 'Timeout' => '1000',
                 'Async'=>'1',
                 'MaxRetries' => '5',
                 'RetryTime' => '5',
                 'Priority'=>1,
                 'Callerid'=>$callid));
   $asm->disconnect();
 }
?>

how can i create the LOCAL channel?
is there a configuration file?

thanks

_______________________________________________
--Bandwidth and Colocation provided by Easynews.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to