Jorge Mendoza
2006-Oct-21 07:50 UTC
[asterisk-users] Asterisk 1.4beta3 and Asterisk Manager API Action: ExtensionState
Hi, We are testing Asterisk 1.4beta3 (same problem with beta2) and have the following problem. After some time (depending on traffic) the extensions are detected as busy. We use FreePBX, and the sequence to detect extension available is: dialparty.agi -> is_ext_avail -> ExtensionState -> StatusCode When Asterisk is in good state the StatusCode is 0. In wrong state the Status is 16! The Status Codes list is: Status Codes -1 = Extension not found 0 = Idle 1 = In Use 4 = Unavailable 8 = Ringing A reboot of Asterisk, clear the wrong condition. If we go back to Asterisk 1.2.7 (for instance)all works fine. What we are doing wrong?. Thank You for your time. Jorge Mendoza