Public 멤버 함수 |
| | CSipUserAgent () |
| | 생성자
|
| | ~CSipUserAgent () |
| | 소멸자
|
| bool | InsertRegisterInfo (CSipServerInfo &clsInfo) |
| | SIP 로그인 정보를 추가한다.
|
| bool | UpdateRegisterInfo (CSipServerInfo &clsInfo) |
| | SIP 로그인 정보를 수정한다.
|
| bool | DeleteRegisterInfo (CSipServerInfo &clsInfo) |
| | SIP 로그인 정보를 삭제한다.
|
| bool | Start (CSipStackSetup &clsSetup, ISipUserAgentCallBack *pclsCallBack, ISipStackSecurityCallBack *pclsSecurityCallBack=NULL) |
| | SIP stack 을 시작하고 SIP 로그인 쓰레드를 시작한다.
|
| bool | Stop () |
| | SIP stack 을 종료하고 SIP 로그인 쓰레드를 종료한다.
|
| void | Final () |
| | 프로세스가 종료될 때에 최종적으로 실행하여서 openssl 메모리 누수를 출력하지 않는다.
|
| bool | StartCall (const char *pszFrom, const char *pszTo, CSipCallRtp *pclsRtp, CSipCallRoute *pclsRoute, std::string &strCallId) |
| | SIP 통화 요청 메시지를 전송한다.
|
| bool | StopCall (const char *pszCallId, int iSipCode=0) |
| | 통화를 종료한다.
|
| bool | StopCall (const char *pszCallId, const char *pszForward) |
| | 착신 전환한다.
|
| bool | RingCall (const char *pszCallId, CSipCallRtp *pclsRtp) |
| | 183 응답 메시지를 전송한다.
|
| bool | RingCall (const char *pszCallId, int iSipStatus, CSipCallRtp *pclsRtp) |
| | SIP 통화 요청에 대한 Ring / Session Progress 응답 메시지를 전송한다.
|
| bool | AcceptCall (const char *pszCallId, CSipCallRtp *pclsRtp) |
| | 수신된 통화를 수락한다.
|
| bool | HoldCall (const char *pszCallId, ERtpDirection eDirection=E_RTP_SEND) |
| | 통화 hold 요청 메시지를 전송한다.
|
| bool | ResumeCall (const char *pszCallId) |
| | 통화 resume 요청 메시지를 전송한다.
|
| int | GetCallCount () |
| | 통화 개수를 리턴한다.
|
| void | GetCallIdList (SIP_CALL_ID_LIST &clsList) |
| | 모든 통화의 SIP Call-ID 를 리스트에 저장한다.
|
| void | StopCallAll () |
| | 모든 통화를 종료시킨다.
|
| bool | CreateCall (const char *pszFrom, const char *pszTo, CSipCallRtp *pclsRtp, CSipCallRoute *pclsRoute, std::string &strCallId, CSipMessage **ppclsInvite) |
| | SIP INVITE 메시지를 생성하고 Dialog 에 저장한다.
|
| bool | StartCall (const char *pszCallId, CSipMessage *pclsInvite) |
| | CreateCall 메소드로 생성된 INVITE 메시지를 전송한다.
|
| bool | Delete (const char *pszCallId) |
| | SIP Dialog 를 삭제한다.
|
| bool | TransferCallBlind (const char *pszCallId, const char *pszTo) |
| | Blind transfer 를 실행한다.
|
| bool | TransferCall (const char *pszCallId, const char *pszToCallId) |
| | Screened / Unscreened transfer 를 실행한다.
|
| bool | SendSms (const char *pszFrom, const char *pszTo, const char *pszText, CSipCallRoute *pclsRoute) |
| | text 기반 SMS 메시지를 전송한다.
|
| bool | SendReInvite (const char *pszCallId, CSipCallRtp *pclsRtp) |
| | ReINVITE 메시지를 전송한다.
|
| bool | SendNotify (const char *pszCallId, int iSipCode) |
| | Blind Transfer 에서 사용되는 NOTIFY 메시지를 전송한다.
|
| bool | SendDtmf (const char *pszCallId, char cDtmf) |
| | INFO 메시지로 DTMF 를 전송한다.
|
| bool | SendPrack (const char *pszCallId, CSipCallRtp *pclsRtp) |
| | SIP PRACK 메시지를 전송한다.
|
| bool | GetRemoteCallRtp (const char *pszCallId, CSipCallRtp *pclsRtp) |
| | SIP Call-ID 로 통화를 검색한 후, 검색된 결과로 peer RTP 정보를 저장한다.
|
| bool | GetToId (const char *pszCallId, std::string &strToId) |
| | SIP Call-ID 로 통화를 검색한 후, 검색된 결과로 peer 아이디를 저장한다.
|
| bool | GetFromId (const char *pszCallId, std::string &strFromId) |
| | SIP Call-ID 로 통화를 검색한 후, 검색된 결과로 my 아이디를 저장한다.
|
| bool | GetContact (const char *pszCallId, CSipCallRoute *pclsRoute) |
| | SIP Call-ID 로 통화를 검색한 후, 검색된 결과로 전화 상대방의 Contact 정보를 CSipCallRoute 객체에 저장한다.
|
| bool | GetCdr (const char *pszCallId, CSipCdr *pclsCdr) |
| | SIP Call-ID 로 통화를 검색한 후, 검색된 결과의 CDR 정보를 저장한다.
|
| bool | GetInviteHeaderValue (const char *pszCallId, const char *pszHeaderName, std::string &strValue) |
| | SIP INVITE 메시지를 수신한 경우, 해당 SIP INVITE 메시지에서 헤더 이름을 검색하여서 이에 대한 값을 리턴한다.
|
| int | GetRSeq (const char *pszCallId) |
| | Dialog 의 RSeq 값을 리턴한다.
|
| void | SetRSeq (const char *pszCallId, int iRSeq) |
| | Dialog 의 RSeq 값을 설정한다.
|
| bool | IsRingCall (const char *pszCallId, const char *pszTo) |
| | 통화가 연결 요청 중인지 확인한다.
|
| bool | Is100rel (const char *pszCallId) |
| | 100rel 기능이 활성화 유무를 검색한다.
|
| bool | IsHold (const char *pszCallId) |
| | hold 인지 검사한다.
|
| bool | IsConnected (const char *pszCallId) |
| | 통화 연결되었는지 검사한다.
|
| CSipMessage * | DeleteIncomingCall (const char *pszCallId) |
| | SIP 통화 요청 INVITE 메시지를 검색한다.
|
| void | GetDialogString (CMonitorString &strBuf) |
| | Dialog 자료구조 모니터링을 위한 문자열을 저장한다.
|
| void | GetServerString (CMonitorString &strBuf) |
| | IP-PBX 로그인 자료구조 모니터링을 위한 문자열을 저장한다.
|
| virtual bool | RecvRequest (int iThreadId, CSipMessage *pclsMessage) |
| | SIP 요청 메시지 수신 callback method.
|
| virtual bool | RecvResponse (int iThreadId, CSipMessage *pclsMessage) |
| | SIP 응답 메시지 수신 callback method.
|
| virtual bool | SendTimeout (int iThreadId, CSipMessage *pclsMessage) |
| | SIP 메시지 전송 timeout callback method.
|
| virtual void | TcpSessionEnd (const char *pszIp, int iPort, ESipTransport eTransport) |
| | TCP/TLS 세션 종료 이벤트 핸들러
|
| virtual void | ThreadEnd (int iThreadId) |
| | SIP 쓰레드 종료 이벤트 핸들러
|
| virtual | ~ISipStackCallBack () |