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:
parent
2eb1569a42
commit
689b831709
|
@ -1 +1 @@
|
||||||
Wed May 14 11:24:37 EDT 2008
|
Thu May 29 15:57:49 EDT 2008
|
||||||
|
|
|
@ -719,7 +719,10 @@ zap_status_t zap_channel_set_state(zap_channel_t *zchan, zap_channel_state_t sta
|
||||||
|
|
||||||
switch(state) {
|
switch(state) {
|
||||||
case ZAP_CHANNEL_STATE_DIALTONE:
|
case ZAP_CHANNEL_STATE_DIALTONE:
|
||||||
|
case ZAP_CHANNEL_STATE_DIALING:
|
||||||
case ZAP_CHANNEL_STATE_RING:
|
case ZAP_CHANNEL_STATE_RING:
|
||||||
|
case ZAP_CHANNEL_STATE_PROGRESS_MEDIA:
|
||||||
|
case ZAP_CHANNEL_STATE_PROGRESS:
|
||||||
ok = 1;
|
ok = 1;
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
|
|
Loading…
Reference in New Issue