Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

get_data value 0

Albert
2014-02-21
2014-02-21
  • Albert
    Albert
    2014-02-21

    Hello.

    Sorry for my English.

    I can not capture the value of the variable in my agi.

    $resu=$agi->get_data('beep',3000,20);
    $agi->verbose('RESULTADO : '.serialize($resu));

    AGI Rx << GET DATA beep 3000 20
    AGI Tx >> 200 result=99999 (timeout)
    AGI Rx << VERBOSE "RESULTADO : a:3:{s:4:"code";s:3:"200";s:6:"result";s:1:"0";s:4:"data";s:0:"";}" 1
    AGI Tx >> 200 result=1

    I think everything is correct in CLI "agi debug on" you can see the result of the correct dtmf, in agi doing vervose (serialized array) with the value is 0.

    Please can you help me?

    thanks.