blob: 15a821af7fd1e6a2b4f1afdb7b196bdb72865aa8 [file] [log] [blame]
/**************************************************************************
*
* Copyright (c) 2013 ZTE Corporation.
*
***************************************************************************
* Ä£ ¿é Ãû : ccapp
* ÎÄ ¼þ Ãû : cc_timer.c
* Ïà¹ØÎļþ :
* ʵÏÖ¹¦ÄÜ : ccapp¶¨Ê±Æ÷³¬Ê±´¦Àí
* ×÷ Õß :
* °æ ±¾ : V1.0
* Íê³ÉÈÕÆÚ : 2016-02-25
* ÆäËü˵Ã÷ :
**************************************************************************/
/**************************************************************************
* Ð޸ļǼ :
***************************************************************************/
/**************************************************************************
* Ð޸ıàºÅ : 0001
* ÐÞ ¸Ä ÈË :
* ÐÞ¸ÄÈÕÆÚ :
* ÐÞ¸ÄÄÚÈÝ :
**************************************************************************/
/**************************************************************************
* #includeÇø
**************************************************************************/
#include "cc_main.h"
#include "cc_proc.h"
#include "cc_com.h"
#include "cc_timer.h"
#include "string.h"
VOID *zCcApp_HookOffTimer(VOID *arg)
{
MSG_BUF tMsgBuf = {0};
tMsgBuf.src_id = MODULE_ID_CALL_CTRL;
tMsgBuf.usMsgCmd = ZCC_HOOKOFFTIMER_E;
tMsgBuf.usDataLen = 0;
zCc_SendMsgToSub(&tMsgBuf); /* ·¢¸øÖ÷Ïß³Ì */
zte_log_append(__FILE__, __LINE__, "zte_ccapp.log","%s zCcApp_HookOffTimer \n",__FUNCTION__);
return NULL;
}
VOID *zCcApp_HookOff_Idle_Timer(VOID *arg)
{
MSG_BUF tMsgBuf = {0};
tMsgBuf.src_id = MODULE_ID_CALL_CTRL;
tMsgBuf.usMsgCmd = ZCC_HOOKOFF_IDLE_TIMER_E;
tMsgBuf.usDataLen = 0;
zCc_SendMsgToSub(&tMsgBuf); /* ·¢¸øÖ÷Ïß³Ì */
zte_log_append(__FILE__, __LINE__, "zte_ccapp.log","%s zCcApp_HookOff_Idle_Timer \n",__FUNCTION__);
return NULL;
}
VOID *zCcApp_DtmfTimer(VOID *arg)
{
MSG_BUF tMsgBuf = {0};
tMsgBuf.src_id = MODULE_ID_CALL_CTRL;
tMsgBuf.usMsgCmd = ZCC_DTMFTIMER_E;
tMsgBuf.usDataLen = 0;
zCc_SendMsgToSub(&tMsgBuf); /* ·¢¸øÖ÷Ïß³Ì */
zte_log_append(__FILE__, __LINE__, "zte_ccapp.log","%s zCcApp_DtmfTimer \n",__FUNCTION__);
return NULL;
}
VOID *zCcApp_BusyToneTimer(VOID *arg)
{
MSG_BUF tMsgBuf = {0};
tMsgBuf.src_id = MODULE_ID_CALL_CTRL;
tMsgBuf.usMsgCmd = ZCC_BUSYTONETIMER_E;
tMsgBuf.usDataLen = 0;
zCc_SendMsgToSub(&tMsgBuf); /* ·¢¸øÖ÷Ïß³Ì */
zte_log_append(__FILE__, __LINE__, "zte_ccapp.log","%s zCcApp_BusyToneTimer \n",__FUNCTION__);
return NULL;
}
VOID *zCcApp_TkyToneTimer(VOID *arg)
{
MSG_BUF tMsgBuf = {0};
tMsgBuf.src_id = MODULE_ID_CALL_CTRL;
tMsgBuf.usMsgCmd = ZCC_TKYTIMER_E;
tMsgBuf.usDataLen = 0;
zCc_SendMsgToSub(&tMsgBuf); /* ·¢¸øÖ÷Ïß³Ì */
zte_log_append(__FILE__, __LINE__, "zte_ccapp.log","%s zCcApp_TkyToneTimer \n",__FUNCTION__);
return NULL;
}
VOID *zCcApp_SsDialToneTimer(VOID *arg)
{
MSG_BUF tMsgBuf = {0};
tMsgBuf.src_id = MODULE_ID_CALL_CTRL;
tMsgBuf.usMsgCmd = ZCC_SSDIALTONETIMER_E;
tMsgBuf.usDataLen = 0;
zCc_SendMsgToSub(&tMsgBuf); /* ·¢¸øÖ÷Ïß³Ì */
zte_log_append(__FILE__, __LINE__, "zte_ccapp.log","%s SsDialToneTimer \n",__FUNCTION__);
return NULL;
}