hi, all

i want to test if a telephone is busy now in agi php script?

Could you tell me how to do that judgement?


example:

if( ivan is not busy)
{
     $agi -> exec_dial("SIP","ivan");
}
else if (test is not busy)
{
    $agi -> exec_dial("SIP","test");
}

Thanks very much!

-- 
Best regards,
Sucan

-- 
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

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

Reply via email to