Displaying 1 result from an estimated 1 matches for "execute_agi".
2007 Feb 20
0
Can't get ANSWEREDTIME after hangup using ZAP
Dear all,
I tried to make a call with PHP AGI.
$rc = execute_agi("EXEC DIAL ZAP/g1/$myphonenumber|60|rhHL(" .
($max_total_seconds * 1000) . ":60000:30000) ");
$rc = execute_agi("GET VARIABLE ANSWEREDTIME ");
And I can't get the answered time after caller hangup in this method.
But if I use a SIP channel as below:
$rc = execute...