this is my code
$lang = $agi->get_variable('LANGUAGE()'); $language = $lang['data']; $goto = "main-ivr-selection-$language"; $A2B -> debug( VERBOSE | WRITELOG, $agi, __FILE__, __LINE__, "REG4: PIN ALREADY CREATED. GOTO -> $goto"); $agi->goto($goto,'s'); exit;
the problem that im facing is the ivr skips line 1 and 2. as the result, $language variable didn’t get required variable.
anybody can explain how come line 1 and 2 didn’t execute??
thanks in advance.