ucap-doc/documents/업무/dev/crm pro/ocx/ocx api spec.txt
Park Byung Eun 78bdceb9c7 ㅇㅇㅇ
2020-09-08 18:10:00 +09:00

22 lines
847 B
Plaintext

접속포트 : 9876, TCP
1. 로그인
1.1. 요청
{ "req_type" : "Login", "SeqNum" : "1", "LoginId" : "07082774004", "Password" : "cp!uc@pLG" }
1.2. 응답
{ "RespType" : "LoginResult", "Result" : "LOGINRESULT|STATUS:1|EXTEN:101t4004|CALLERID:07082774004|DOMAIN:premium_c_965657.lgdacom.net|MSG:101t4004,07082774004,tmpid4004@premium_c_965657.lgdacom."}
2. 전화걸기
2.1. 요청
{ "req_type" : "ClickCall", "SeqNum" : "1", "CallNumber" : "01012345678" }
2.2. 응답
{ "RespType" : "SendRingEvent", "Result" : "RINGEVENT|ISDIAL:0|CHANNEL:SIP/10013458..." }
3.2. SendChannelListEvent, 전화통화 이루어 질 때, (Answer 시)
{ "RespType" : "SendChannelListEvent", "Result" : "......" }
3.3. SendChannelOutEvent, ring 종료시, 통화중 채널종료시
{ "RespType" : "SendChannelOutEvent", "Result" : "......" }