- set state to RINGING when we got ALERTING

This commit is contained in:
MelwareDE 2006-06-27 20:29:15 +00:00
parent 8a0d8977be
commit 5212533427
1 changed files with 2 additions and 0 deletions

View File

@ -2825,6 +2825,8 @@ static void capidev_handle_info_indication(_cmsg *CMSG, unsigned int PLCI, unsig
fr.frametype = AST_FRAME_CONTROL;
fr.subclass = AST_CONTROL_RINGING;
local_queue_frame(i, &fr);
if (i->owner)
ast_setstate(i->owner, AST_STATE_RINGING);
break;
case 0x8002: /* CALL PROCEEDING */
cc_verbose(3, 1, VERBOSE_PREFIX_3 "%s: info element CALL PROCEEDING\n",