Hello,
 
I'm using AGI scripting with asterisk and need to execute certain commands just 
after Dial(). But once dial command is executed, further commands/instructions 
are ignored.
 
 
$agi->exec("Dial","SIP/100");
$dialstatus = $agi -> get_variable("DIALSTATUS"); 
 
if($dialstatus[data]=="ANSWER")
       
        {
       do something.......
        }
 
thanks,
Kamlesh                                           
--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
               http://www.asterisk.org/hello

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

Reply via email to