From: Matthew Nicholson Date: Fri, 16 Jul 2010 19:32:10 +0000 (+0000) Subject: updated devicestate test for device state changes X-Git-Tag: 11.0.0-beta1~2627 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1fd618de5b2e739a3c4453708150498fd968015f;p=thirdparty%2Fasterisk.git updated devicestate test for device state changes git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@277409 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/tests/test_devicestate.c b/tests/test_devicestate.c index a441370739..415cda2718 100644 --- a/tests/test_devicestate.c +++ b/tests/test_devicestate.c @@ -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,