first commit
This commit is contained in:
56
GB28181Device/sip/sip_pstate.h
Normal file
56
GB28181Device/sip/sip_pstate.h
Normal file
@@ -0,0 +1,56 @@
|
||||
/***************************************************************************************
|
||||
*
|
||||
* IMPORTANT: READ BEFORE DOWNLOADING, COPYING, INSTALLING OR USING.
|
||||
*
|
||||
* By downloading, copying, installing or using the software you agree to this license.
|
||||
* If you do not agree to this license, do not download, install,
|
||||
* copy or use the software.
|
||||
*
|
||||
* Copyright (C) 2014-2022, Happytimesoft Corporation, all rights reserved.
|
||||
*
|
||||
* Redistribution and use in binary forms, with or without modification, are permitted.
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software distributed
|
||||
* under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
|
||||
* CONDITIONS OF ANY KIND, either express or implied. See the License for the specific
|
||||
* language governing permissions and limitations under the License.
|
||||
*
|
||||
****************************************************************************************/
|
||||
|
||||
#ifndef SIP_PSTATE_H
|
||||
#define SIP_PSTATE_H
|
||||
|
||||
#include "sua.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
void sua_call_state(SUA * p_sua, CSEVT evt, HSIP_MSG * rx_msg);
|
||||
void sua_emsg_recv(PUACMD ua_cmd, SUA * p_sua);
|
||||
void sua_cs_idle(SUA * p_sua, CSEVT evt, HSIP_MSG * rx_msg);
|
||||
void suas_cs_trying(SUA * p_sua, CSEVT evt, HSIP_MSG * rx_msg);
|
||||
void suas_cs_wait_auth_invite(SUA * p_sua, CSEVT evt, HSIP_MSG * rx_msg);
|
||||
void suas_cs_wait_auth_rly(SUA * p_sua, CSEVT evt, HSIP_MSG * rx_msg);
|
||||
void suas_cs_1xx_sent(SUA * p_sua, CSEVT evt, HSIP_MSG * rx_msg);
|
||||
void suas_cs_2xx_sent(SUA * p_sua, CSEVT evt, HSIP_MSG * rx_msg);
|
||||
void suas_cs_4xx_sent(SUA * p_sua, CSEVT evt, HSIP_MSG * rx_msg);
|
||||
void suac_cs_invite_sent(SUA * p_sua, CSEVT evt, HSIP_MSG * rx_msg);
|
||||
void suac_cs_1xx_recv(SUA * p_sua, CSEVT evt, HSIP_MSG * rx_msg);
|
||||
void sua_cs_established(SUA * p_sua, CSEVT evt, HSIP_MSG * rx_msg);
|
||||
void sua_cs_bye_sent(SUA * p_sua, CSEVT evt, HSIP_MSG * rx_msg);
|
||||
|
||||
BOOL sip_notify_emsg(SUA * p_sua, PUAEVT evt);
|
||||
BOOL rmsg_notify_emsg(char * pFrom, int type, char * pText, int len);
|
||||
BOOL user_notify_emsg(char * pFrom, PUAEVT evt);
|
||||
BOOL sip_remote_callin_emsg(SUA * p_sua, PUAEVT evt);
|
||||
BOOL sip_isw_cmd(PUACMD ua_cmd, SUA * p_sua);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user