C++ SIP Stack  0.31
Public 멤버 함수 | 모든 멤버 목록
com.cppsipstack.SipUserAgentHandler 클래스 참조

SipUserAgent callback 으로 호출된 이벤트를 GUI SipUserAgent callback 으로 호출하는 클래스 더 자세히 ...

com.cppsipstack.SipUserAgentHandler에 대한 상속 다이어그램 :
com.cppsipstack.SipUserAgentCallBack com.cppsipstack.SipUserAgentHandlerDefine

Public 멤버 함수

 SipUserAgentHandler (SipUserAgentCallBack clsCallBack)
void handleMessage (Message m)
void EventRegister (SipServerInfo clsInfo, int iStatus)
 SIP REGISTER 응답 메시지 수신 이벤트 핸들러
void EventIncomingCall (String strCallId, String strFrom, String strTo, SipCallRtp clsRtp)
 SIP 통화 요청 수신 이벤트 핸들러
void EventCallRing (String strCallId, int iSipStatus, SipCallRtp clsRtp)
 SIP Ring / Session Progress 수신 이벤트 핸들러
void EventCallStart (String strCallId, SipCallRtp clsRtp)
 SIP 통화 연결 이벤트 핸들러
void EventCallEnd (String strCallId, int iSipStatus)
 SIP 통화 종료 이벤트 핸들러
void EventReInvite (String strCallId, SipCallRtp clsRemoteRtp, SipCallRtp clsLocalRtp)
 SIP ReINVITE 수신 이벤트 핸들러
void EventPrack (String strCallId, SipCallRtp clsRtp)
 SIP PRACK 수신 이벤트 핸들러
void EventTransfer (String strCallId, String strReferToCallId, boolean bScreenedTransfer)
 Screened / Unscreened Transfer 요청 수신 이벤트 핸들러
void EventBlindTransfer (String strCallId, String strReferToId)
 Blind Transfer 요청 수신 이벤트 핸들러
void EventMessage (String strFrom, String strTo, String strSms)
 SMS 요청 수신 이벤트 핸들러

추가로 상속된 멤버들

- com.cppsipstack.SipUserAgentHandlerDefine(으)로부터 상속된 Public 속성
final String COMMAND = "command"
final String EVENT_REGISTER = "EventRegister"
final String EVENT_INCOMING_CALL = "EventIncomingCall"
final String EVENT_CALL_RING = "EventCallRing"
final String EVENT_CALL_START = "EventCallStart"
final String EVENT_CALL_END = "EventCallEnd"
final String EVENT_REINVITE = "EventReInvite"
final String EVENT_PRACK = "EventPrack"
final String EVENT_TRANSFER = "EventTransfer"
final String EVENT_BLIND_TRANSFER = "EventBlindTransfer"
final String EVENT_MESSAGE = "EventMessage"
final String ARG_CALL_ID = "strCallId"
final String ARG_INFO = "clsInfo"
final String ARG_STATUS = "iStatus"
final String ARG_FROM = "strFrom"
final String ARG_TO = "strTo"
final String ARG_RTP = "clsRtp"
final String ARG_REMOTE_RTP = "clsRemoteRtp"
final String ARG_LOCAL_RTP = "clsLocalRtp"
final String ARG_SIP_STATUS = "iSipStatus"
final String ARG_REFER_TO_CALL_ID = "strReferToCallId"
final String ARG_SCREENED_TRANSFER = "bScreenedTransfer"
final String ARG_REFER_TO_ID = "strReferToId"
final String ARG_SMS = "strSms"

상세한 설명

SipUserAgent callback 으로 호출된 이벤트를 GUI SipUserAgent callback 으로 호출하는 클래스

작성자
이영한 ( http://blog.naver.com/websearch )

생성자 & 소멸자 문서화

com.cppsipstack.SipUserAgentHandler.SipUserAgentHandler ( SipUserAgentCallBack  clsCallBack)
inline

멤버 함수 문서화

void com.cppsipstack.SipUserAgentHandler.EventBlindTransfer ( String  strCallId,
String  strReferToId 
)
inline

Blind Transfer 요청 수신 이벤트 핸들러

매개변수
strCallIdSIP Call-ID
strReferToId통화 전환될 상대방 아이디

com.cppsipstack.SipUserAgentCallBack를 구현.

void com.cppsipstack.SipUserAgentHandler.EventCallEnd ( String  strCallId,
int  iSipStatus 
)
inline

SIP 통화 종료 이벤트 핸들러

매개변수
strCallIdSIP Call-ID
iSipStatusSIP 응답 코드. INVITE 에 대한 오류 응답으로 전화가 종료된 경우, INVITE 의 응답 코드를 저장한다.

com.cppsipstack.SipUserAgentCallBack를 구현.

void com.cppsipstack.SipUserAgentHandler.EventCallRing ( String  strCallId,
int  iSipStatus,
SipCallRtp  clsRtp 
)
inline

SIP Ring / Session Progress 수신 이벤트 핸들러

매개변수
strCallIdSIP Call-ID
iSipStatusSIP 응답 코드
clsRtpRTP 정보 저장 객체

com.cppsipstack.SipUserAgentCallBack를 구현.

void com.cppsipstack.SipUserAgentHandler.EventCallStart ( String  strCallId,
SipCallRtp  clsRtp 
)
inline

SIP 통화 연결 이벤트 핸들러

매개변수
strCallIdSIP Call-ID
clsRtpRTP 정보 저장 객체

com.cppsipstack.SipUserAgentCallBack를 구현.

void com.cppsipstack.SipUserAgentHandler.EventIncomingCall ( String  strCallId,
String  strFrom,
String  strTo,
SipCallRtp  clsRtp 
)
inline

SIP 통화 요청 수신 이벤트 핸들러

매개변수
strCallIdSIP Call-ID
strFromSIP From 사용자 아이디
strToSIP To 사용자 아이디
clsRtpRTP 정보 저장 객체

com.cppsipstack.SipUserAgentCallBack를 구현.

void com.cppsipstack.SipUserAgentHandler.EventMessage ( String  strFrom,
String  strTo,
String  strSms 
)
inline

SMS 요청 수신 이벤트 핸들러

매개변수
strFromSIP From 사용자 아이디
strToSIP To 사용자 아이디
strSmsSMS 내용

com.cppsipstack.SipUserAgentCallBack를 구현.

void com.cppsipstack.SipUserAgentHandler.EventPrack ( String  strCallId,
SipCallRtp  clsRtp 
)
inline

SIP PRACK 수신 이벤트 핸들러

매개변수
strCallIdSIP Call-ID
clsRtpRTP 정보 저장 객체

com.cppsipstack.SipUserAgentCallBack를 구현.

void com.cppsipstack.SipUserAgentHandler.EventRegister ( SipServerInfo  clsInfo,
int  iStatus 
)
inline

SIP REGISTER 응답 메시지 수신 이벤트 핸들러

매개변수
clsInfoSIP REGISTER 응답 메시지를 전송한 IP-PBX 정보 저장 객체
iStatusSIP REGISTER 응답 코드

com.cppsipstack.SipUserAgentCallBack를 구현.

void com.cppsipstack.SipUserAgentHandler.EventReInvite ( String  strCallId,
SipCallRtp  clsRemoteRtp,
SipCallRtp  clsLocalRtp 
)
inline

SIP ReINVITE 수신 이벤트 핸들러

매개변수
strCallIdSIP Call-ID
clsRemoteRtpremote RTP 정보 저장 객체
clsLocalRtplocal RTP 정보 저장 객체

com.cppsipstack.SipUserAgentCallBack를 구현.

void com.cppsipstack.SipUserAgentHandler.EventTransfer ( String  strCallId,
String  strReferToCallId,
boolean  bScreenedTransfer 
)
inline

Screened / Unscreened Transfer 요청 수신 이벤트 핸들러

매개변수
strCallIdSIP Call-ID
strReferToCallId전화가 전달될 SIP Call-ID
bScreenedTransferScreened Transfer 이면 true 가 입력되고 Unscreened Transfer 이면 false 가 입력된다.

com.cppsipstack.SipUserAgentCallBack를 구현.

void com.cppsipstack.SipUserAgentHandler.handleMessage ( Message  m)
inline