what could cause GET DATA "" 120000 6 to return 200 result=-1. Why does the command fail? I don’t see anything useful in asterisk logs. The issue happens non-deterministically. Sometimes it returns correct digits and sometimes it returns -1 which means that the command failed. Do you have any ideas how to troubleshoot this issue?
<SIP/poly-77a1-000000aa>AGI Rx << GET DATA "" 120000 6
(I hung up the call at this point)
<SIP/poly-77a1-000000aa>AGI Tx >> 200 result=-1
-- <SIP/poly-77a1-000000aa>AGI Script null-agi.php completed, returning 4
Unfortunately, this does not happen during hang up. The call still keeps going even after I get result=-1 from GET DATA. What else could cause the failure?