VOS_VOID MN_CALL_Init(MN_CALL_POWER_STATE_ENUM_U8 enPowerState) { MN_CALL_InitCtx(); /*读取NIM信息*/ MN_CALL_ReadNvimInfo(); MN_CALL_InitAllTimers(enPowerState); MN_CALL_CapaProcInit(); /* 移该处实现到power off 处理 */ MN_CALL_ResetAllCalls(enPowerState); MN_CALL_SetTchStatus(VOS_FALSE); TAF_CALL_InitDtmfCtx(); return; }
VOS_VOID MN_CALL_Init(MN_CALL_POWER_STATE_ENUM_U8 enPowerState) { MN_CALL_InitCtx(); /*读取NIM信息*/ MN_CALL_ReadNvimInfo(); MN_CALL_InitAllTimers(enPowerState); MN_CALL_CapaProcInit(); /*如果声码器打开则需关闭声码器*/ if (VOS_TRUE == MN_CALL_GetChannelOpenFlg()) { MN_CALL_SetChannelOpenFlg(VOS_FALSE); MN_CALL_ReportChannelEvent(MN_CALL_EVT_CHANNEL_CLOSE); } MN_CALL_ResetAllCalls(enPowerState); MN_CALL_SetTchStatus(VOS_FALSE); TAF_CALL_InitDtmfCtx(); return; }
VOS_VOID TAF_CALL_ProcImsaSrvccCallInfoNtf( CALL_IMSA_SRVCC_CALL_INFO_NOTIFY_STRU *pstCallInfoNtf ) { VOS_UINT8 ucRealCallNum; MNCC_ENTITY_STATUS_STRU astEntitySta[MNCC_MAX_ENTITY_NUM]; /* 映射呼叫实体 */ TAF_CALL_CreateCallEntitiesWithImsCallInfo(pstCallInfoNtf->ucCallNum, &(pstCallInfoNtf->astCallInfo[0])); /* 初始化DTMF缓存队列 */ TAF_CALL_InitDtmfCtx(); /* 处理DTMF请求信息 */ TAF_CALL_ProcSrvccDtmfBuffInfo(&(pstCallInfoNtf->stDtmfBuffInfo)); /* 将CALL模块的呼叫信息映射成CC模块的呼叫信息 */ PS_MEM_SET(&astEntitySta[0], 0, sizeof(MNCC_ENTITY_STATUS_STRU)*MNCC_MAX_ENTITY_NUM); TAF_CALL_MapCallInfoToCcInfo(&astEntitySta[0], &ucRealCallNum); /* 通知CC模块呼叫信息MNCC_SRVCC_CALL_INFO_NOTIFY */ TAF_CALL_SendCcSrvccCallInfoNtf(ucRealCallNum, astEntitySta); return; }