Download this file
17 lines (14 with data), 366 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16 | <?php
require_once('../phpagi-asmanager.php');
$number = '1234';
$asm = new AGI_AsteriskManager();
if($asm->connect())
{
$call = $asm->send_request('Originate',
array('Channel'=>"SIP/$number",
'Context'=>'default',
'Priority'=>1,
'Callerid'=>$number));
$asm->disconnect();
}
?>
|
×
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.