ucap-doc/documents/업무/dev/crm pro/00.기타/ocx-event.json

263 lines
6.2 KiB
JSON
Raw Normal View History

2020-09-10 09:04:37 +00:00
/*
RINGEVENT
|ISDIAL:0 . 0:,1:
|CHANNEL:SIP/10013458-46b4
|RECHANNEL:SIP/5060-0942a8d0
|INEXTEN:070xxxx3458
|AGENT:10013458
|CALLERID:070xxxx0775
|UNIQUEID:1315457785.80 UNIQUEID
*/
{
/*
:
- LOGINRESULT|STATUS:1|EXTEN:10013458|CALLERID:070xxxx3458|MSG:10013458
,070xxxx3458
- STATUS: login >0 ( MSG
- EXTEN:
- CALLERID:
- DOMAIN:(
- MSG: ( : ,,ID
*/
/*
Status>1:,
-1:NotFound
-2:PasswdErr
*/
"RespType": "LoginResult",
"Result":
"LOGINRESULT
|
STATUS:1
|
EXTEN:101t4004
|
CALLERID:07082774004
|
DOMAIN:premium_c_965657.lgdacom.net
|
MSG:101t4004,07082774004,tmpid4004@premium_c_965657.lgdacom.net"
},
{
"RespType" : "SendRingEvent",
"Result" : "
RINGEVENT
|
CHANNEL:SIP/101t4004-5595
|
ISDIAL:1
|
INEXTEN:null
|
RECHANNEL:Local/101t4004@default-b3bf,2
|
AGENT:101t4004
|
CALLERID:01040556699
|
UNIQUEID:1599723183.4012181"
},
{
// 전화통화가 성공했을 경우
/*
CHANNELLIST
|CHANNEL1:SIP/5060-0942a8d0
|CHANNEL2:SIP/10013458-c7fb
|CALLER1ID:070xxxx0775
|CALLER2ID:10013458
|INEXTEN: NULL
|UNIQUEID1:1315457785.80 UNIQUEID
|UNIQUEID2:1315457789.82 UNIQUEID
*/
"RespType" : "SendChannelListEvent",
"Result" : "
CHANNELLIST
|
CHANNEL1:SIP/101t4004-9b8e
|
CHANNEL2:SIP/115.95.192.16-1da0
|
CALLER1ID:4004
|
CALLER2ID:01040556699
|
INEXTEN:null
|
UNIQUEID1:1599698621.3974038
|
UNIQUEID2:1599698637.3974058"
},
{ // 고객이 IP폰으로 전화 걸었을 때
"RespType" : "SendRingEvent",
"Result" : "
RINGEVENT
|
ISDIAL:0
|
CHANNEL:SIP/101t4004-073a
|
RECHANNEL:SIP/5060-b4a6a668b4bf
|
INEXTEN:07082774004
|
AGENT:101t4004
|
ATXFER:
|
CALLERID:01040556699
|
UNIQUEID:1599721299.4009092"
},
/*
CHANNELOUT
|CHANNEL:SIP/10013458-c7fb
|UNIQUEID:1315457789.82 UNIQUEID
|RECHANNEL:SIP/5060-09eaf5d8
|SRCUNIQUEID:1318211492.11238 UNIQUEID
|HCAUSE:16
*/
{
"RespType" : "SendChannelOutEvent",
"Result" : "
CHANNELOUT
|
CHANNEL:SIP/101t4004-5595
|
RECHANNEL:Local/101t4004@default-b3bf,1
|
UNIQUEID:1599723183.4012180
|
SRCUNIQUEID:1599723183.4012180
|
HCAUSE:16"
},
{
/*
LGUBaseOpenApi. RedirectConference ( 7001;
Room :
*/
"RespType" : "RedirectConferenceEvent",
"Result" : "
CONFERENCEEVENT
|
CMD:CONFMEMBERADD
|
CONFNAME:_WITH/MTV
|
CHANNEL:SIP/10033447-0716
|
UNIQUEID:1322304649.51
|
COUNT:1
|
MEMBER:3447
CONFERENCEEVENT|CMD:CONFMEMBERADD|CONFNAME:_WITH/MTV|
CHANNEL:SIP/10033448-956f|UNIQUEID:1322304656.53|
COUNT:2|MEMBER:3448
CONFERENCEEVENT|CMD:CONFMEMBERDEL|CONFNAME:_WITH/MTV|
CHANNEL:SIP/10033448-
956f|UNIQUEID:1322304656.53|COUNT:1|MEMBER:3448"
},
{
// InviteConference 해당 회의실에 Peers를 초대 하는 기능
/*
LGUBaseOpenApi. InviteConference ( 7001,7002;
Room : RedirectConference Room .
Peers : (
*/
"RespType" : "InviteConferenceEvent",
"Result" : "
CONFERENCEEVENT|CMD:CONFMEMBERADD|CONFNAME:_WITH/MTV|
CHANNEL:SIP/10033447-0716|UNIQUEID:1322304649.51|
COUNT:1|MEMBER:3447
CONFERENCEEVENT|CMD:CONFMEMBERADD|CONFNAME:_WITH/MTV|
CHANNEL:SIP/10033448-956f|UNIQUEID:1322304656.53|
COUNT:2|MEMBER:3448"
},
{
// CallWithConference 다자간 회의통화 - 자신의 전화와 함께 회의통화 연결 요청시
// room: 사용할 회의실 번호 보통 login계정을 사용
"RespType" : "CallWithConferenceEvent",
"Result" : "
CONFERENCEEVENT|CMD:CONFMEMBERADD|CONFNAME:_WITH/MTV|
CHANNEL:SIP/10033447-0716|UNIQUEID:1322304649.51|
COUNT:1|MEMBER:3447
CONFERENCEEVENT|CMD:CONFMEMBERADD|CONFNAME:_WITH/MTV|
CHANNEL:SIP/10033448-956f|UNIQUEID:1322304656.53|
COUNT:2|MEMBER:3448
CONFERENCEEVENT|CMD:CONFMEMBERDEL|CONFNAME:_WITH/MTV|
CHANNEL:SIP/10033448-
956f|UNIQUEID:1322304656.53|COUNT:1|MEMBER:3448"
},
{
"RespType" : "SendCommandResultEvent",
"Result" : "
CMDRESULT
|
CMD:SENDSMS
|
:
|
Ex
CMDRESULT
|
CMD:SENDSMS
|
01923xxxx7:
|
RES:sms
Send SUCCESS(0192xxxxx7)"
},
{
"RespType" : "SendCommandResultEvent",
"Result" : "
CMDRESULT
|
CMD:SETFORWARD
|
RES:IFW (Userid:ID ()-()
070xxxx3456
CMDRESULT
|
CMD:SETFORWARD
|
RES:IFW userid:(tmpid3458)-(ipcctest.com)-(070xxxx3456)
CMDRESULT|CMD:SETFORWARD|RES:DFW userid:(tmpid3456)-()"
},
{
// (내선:단말Reg상태:Api접속상태)
"RespType" : "SendCommandResultEvent",
"Result" : "
Ex) CMDRESULT|CMD:GETPEERINFO|3456:OK:CONN|3457:OK:NOT"
},
{
/*
bstrSMSValue: (|,:)
RECVMS:
FROM:
MESSAGE: SMS
SMSTO :
*/
"RespType" : "SendCommandResultEvent",
"Result" : "
RECVSMS
|
FROM:010xxxx0850
|
MESSAGE:
123acvh
|
SMSTO:070xxxx9812"
}