Displaying 1 result from an estimated 1 matches for "adbid1".
Did you mean:
adbid
2004 Sep 15
0
AGI didn't get var from Asterisk?
...\r\n";
$channel.="RetryTime: 90\r\n";
$channel.="WaitTime: 60\r\n";
The AGI Script:
#!/usr/bin/php -q
<?
require ("phpagi.php");
$agi=new AGI();
$dbid=$agi->get_var("ADBID");
$tt=$agi->set_var("Adbid1", $dbid);
echo "VERBOSE DID: $dbid";
?>
Console:
-- Launched AGI Script UpdateAutoDial.php
UpdateAutoDial.php|45: 'agi_request' => 'UpdateAutoDial.php'
UpdateAutoDial.php|45: 'agi_channel' => 'Zap/1-1'
Updat...