/*****************************************************************************
 Function Name  : IMSA_Init()
 Description    : IMSA初始化函数
 Input          : VOS_VOID
 Output         : VOS_VOID
 Return Value   : VOS_VOID

 History        :
      1. sunbing 49683      2013-04-23  Draft Enact

*****************************************************************************/
VOS_VOID IMSA_Init(VOS_VOID)
{
    /*各模块的初始化*/
    IMSA_CONN_Init();

    IMSA_CONTROL_Init();

    IMSA_RegMgrInit();

    (VOS_VOID)IMSA_CallCtxInit();

    IMSA_SMS_Init();

    IMSA_ResetImsOpId();

    IMSA_USSD_Init();
}
/*****************************************************************************
 Function Name  : IMSA_ClearResource()
 Description    : IMSA清除资源
 Input          : VOS_VOID
 Output         : VOS_VOID
 Return Value   : VOS_VOID

 History        :
      1. lihong00150010      2013-07-27  Draft Enact

*****************************************************************************/
VOS_VOID IMSA_ClearResource( VOS_VOID )
{
    IMSA_CONN_ClearResource();

    IMSA_CONTROL_ClearResource();

    IMSA_RegMgrDeinit();

    (VOS_VOID)IMSA_CallCtxDeinit();

    IMSA_SMS_ClearResource();

    IMSA_USSD_ClearResource();

    IMSA_ResetImsOpId();

    IMSA_ResetUsimOpId();
}
/*****************************************************************************
 Function Name  : IMSA_Init()
 Description    : IMSA初始化函数
 Input          : VOS_VOID
 Output         : VOS_VOID
 Return Value   : VOS_VOID

 History        :
      1. sunbing 49683      2013-04-23  Draft Enact

*****************************************************************************/
VOS_VOID IMSA_Init(VOS_VOID)
{
    /*各模块的初始化*/
    IMSA_CONN_Init();

    IMSA_CONTROL_Init();

    IMSA_RegMgrInit();

    (VOS_VOID)IMSA_CallCtxInit();

    IMSA_SMS_Init();

    IMSA_ResetImsOpId();

    IMSA_ResetUsimOpId();

    IMSA_USSD_Init();

    #if (FEATURE_ON == FEATURE_PTM)
    IMSA_InitErrLogInfo();
    #endif
}