search for: invalidbadge

Displaying 1 result from an estimated 1 matches for "invalidbadge".

2009 Mar 01
1
php agi and get_data errors.
...esult['result']); $agi->conlog("[$tries] Badge: $badge"); if (strlen($badge) != 13) { if (($tries++) >= 3){ $agi->exec('PLAYBACK',$audiofiles['maxreached']); $agi->hangup(); exit(); } $agi->exec('PLAYBACK',$audiofiles['invalidbadge']); } else { $agi->exec('PLAYBACK',$audiofiles['thanks']); $isokbadge = true; } } while ($isokbadge == false); Another error is that after the first get_data(), it doesn't stops anymore waiting for user input, it just goes on... Please help me debug this... If...