- set state to RINGING when we got ALERTING
This commit is contained in:
parent
8a0d8977be
commit
5212533427
|
@ -2825,6 +2825,8 @@ static void capidev_handle_info_indication(_cmsg *CMSG, unsigned int PLCI, unsig
|
||||||
fr.frametype = AST_FRAME_CONTROL;
|
fr.frametype = AST_FRAME_CONTROL;
|
||||||
fr.subclass = AST_CONTROL_RINGING;
|
fr.subclass = AST_CONTROL_RINGING;
|
||||||
local_queue_frame(i, &fr);
|
local_queue_frame(i, &fr);
|
||||||
|
if (i->owner)
|
||||||
|
ast_setstate(i->owner, AST_STATE_RINGING);
|
||||||
break;
|
break;
|
||||||
case 0x8002: /* CALL PROCEEDING */
|
case 0x8002: /* CALL PROCEEDING */
|
||||||
cc_verbose(3, 1, VERBOSE_PREFIX_3 "%s: info element CALL PROCEEDING\n",
|
cc_verbose(3, 1, VERBOSE_PREFIX_3 "%s: info element CALL PROCEEDING\n",
|
||||||
|
|
Loading…
Reference in New Issue