[asterisk-users] Particular DialPlan

nik600 nik600 at gmail.com
Sun Jan 14 03:30:43 MST 2007


On 1/14/07, Pavel Jezek <pavel.jezek at i.cz> wrote:
> I think this is wrong use,
> for conferencing, you must dial meetme application and put all users
> into one conference room...
> PJ
>
>
don't worry, meetme application is called on extension 4444

I've written this code using phpagi:

<?
require_once ("phpagi-2.14/phpagi-asmanager.php");
$asm = new AGI_AsteriskManager();

if ($asm->connect()) {
	$asm->Originate(???_$CHANNEL_CALLER,"9999","from-internal","1");
	$asm->Originate("SIP/200","9999","from-internal","1");
	$asm->Originate("SIP/501","9999","from-internal","1");
} else {
	die("Error connecting\n");
}
?>

can you help me?
how can i retrive che caller_channel from phpagi? (Something like Zap/3-FDS123)

Thanks


More information about the asterisk-users mailing list