Handle ringing (early) state properly on SIP

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@29619 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Mark Spencer
2006-05-23 04:49:31 +00:00
parent 9d15337fa0
commit fa9e0ed768
3 changed files with 56 additions and 6 deletions

6
pbx.c
View File

@@ -1783,6 +1783,12 @@ static int ast_extension_state2(struct ast_exten *e)
allunavailable = 0;
allfree = 0;
break;
case AST_DEVICE_RINGINUSE:
inuse = 1;
ring = 1;
allunavailable = 0;
allfree = 0;
break;
case AST_DEVICE_BUSY:
allunavailable = 0;
allfree = 0;