messed up state rule

git-svn-id: http://svn.openzap.org/svn/openzap/trunk@490 a93c3328-9c30-0410-af19-c9cd2b2d52af
This commit is contained in:
Anthony Minessale committed 2008-05-29 19:58:35 +00:00
1 parent 2eb1569a42
commit 689b831709
2 files changed
+4 -1

No files matched your search

+1 -1
View File
@@ -1 +1 @@
Wed May 14 11:24:37 EDT 2008
Thu May 29 15:57:49 EDT 2008
+3
View File
@@ -719,7 +719,10 @@ zap_status_t zap_channel_set_state(zap_channel_t *zchan, zap_channel_state_t sta
switch(state) {
case ZAP_CHANNEL_STATE_DIALTONE:
case ZAP_CHANNEL_STATE_DIALING:
case ZAP_CHANNEL_STATE_RING:
case ZAP_CHANNEL_STATE_PROGRESS_MEDIA:
case ZAP_CHANNEL_STATE_PROGRESS:
ok = 1;
break;
default: