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 2008-05-29 19:58:35 +00:00
parent cb01ace9c9
commit 72f39201a1
2 changed files with 4 additions and 1 deletions

View File

@ -1 +1 @@
Wed May 14 11:24:37 EDT 2008
Thu May 29 15:57:49 EDT 2008

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: