app_queue: Revert bad ringinuse=no patch.
[asterisk/asterisk.git] / tests / test_devicestate.c
index a441370..f5f209b 100644 (file)
@@ -27,6 +27,7 @@
 
 /*** MODULEINFO
        <depend>TEST_FRAMEWORK</depend>
+       <support_level>core</support_level>
  ***/
 
 #include "asterisk.h"
@@ -82,7 +83,7 @@ static int combined_results[] = {
        AST_DEVICE_NOT_INUSE,
        AST_DEVICE_INUSE,
        AST_DEVICE_BUSY,
-       AST_DEVICE_UNKNOWN,
+       AST_DEVICE_INVALID,
        AST_DEVICE_UNAVAILABLE,
        AST_DEVICE_RINGING,
        AST_DEVICE_RINGINUSE,
@@ -126,11 +127,11 @@ static int combined_results[] = {
 };
 
 static int exten_results[] = {
-       AST_EXTENSION_UNAVAILABLE,
+       AST_EXTENSION_NOT_INUSE,
        AST_EXTENSION_NOT_INUSE,
        AST_EXTENSION_INUSE,
        AST_EXTENSION_BUSY,
-       AST_EXTENSION_UNAVAILABLE,
+       AST_EXTENSION_NOT_INUSE,
        AST_EXTENSION_UNAVAILABLE,
        AST_EXTENSION_RINGING,
        AST_EXTENSION_INUSE | AST_EXTENSION_RINGING,
@@ -162,7 +163,7 @@ static int exten_results[] = {
        AST_EXTENSION_INUSE | AST_EXTENSION_RINGING,
        AST_EXTENSION_INUSE | AST_EXTENSION_RINGING,
        AST_EXTENSION_BUSY,
-       AST_EXTENSION_UNAVAILABLE,
+       AST_EXTENSION_NOT_INUSE,
        AST_EXTENSION_NOT_INUSE,
        AST_EXTENSION_INUSE,
        AST_EXTENSION_BUSY,