updated devicestate test for device state changes
authorMatthew Nicholson <mnicholson@digium.com>
Fri, 16 Jul 2010 19:32:10 +0000 (19:32 +0000)
committerMatthew Nicholson <mnicholson@digium.com>
Fri, 16 Jul 2010 19:32:10 +0000 (19:32 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@277409 65c4cc65-6c06-0410-ace0-fbb531ad65f3

tests/test_devicestate.c

index a441370..415cda2 100644 (file)
@@ -126,11 +126,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,11 +162,11 @@ 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,
-       AST_EXTENSION_UNAVAILABLE,
+       AST_EXTENSION_NOT_INUSE,
        AST_EXTENSION_UNAVAILABLE,
        AST_EXTENSION_RINGING,
        AST_EXTENSION_INUSE | AST_EXTENSION_RINGING,