leiw - 2015-01-14

Hello all,

I'm new on phpagi, I found below script form Openvox manual, I don't understand function WriteTheCallBackList($GSM,$SIP) and $agi = new AGI(); , can someone explain ?

!/bin/php -q

".$SIP; fwrite($MyFile,$List); fwrite($MyFile,"\n"); fclose($MyFile); } $agi = new AGI(); // WriteTheCallBackList($argv[1],$argv[2]); if($argv[1]=="NO ANSWER") { WriteTheCallBackList($argv[3],$argv[2]); } ?>