This commit is contained in:
Park Byung Eun 2020-09-10 18:04:37 +09:00
parent c6ec9ee6f8
commit e5a760e08f
22 changed files with 425 additions and 0 deletions

View File

@ -0,0 +1,13 @@
ds
새로운 대화 입력 후
대화내용이 맨밑으로 안되고 상단으로 올라가는 이슈
crm pro
api
socket 정의
도메인
모델
사용자
액션
정보조회

View File

@ -0,0 +1,45 @@
ds
https://ddo.daesang.com:8443/url/?key=43c5z1NHnvj6HtbL
https://ddo.daesang.com:8443/url/?key=09e4z1NHm3ZA-2zQ%3C/a%3E%EC%9C%84%EC%B9%98%20:%20%EA%B3%B5%EC%9A%A9%20%ED%8F%B4%EB%8D%94%3E%EB%8C%80%EC%83%81%EC%A4%91%EC%95%99%EC%97%B0%EA%B5%AC%EC%86%8C%3E%EC%8B%9D%ED%92%88%EC%97%B0%EA%B5%AC%EC%86%8C%3E%EC%97%B0%EA%B5%AC%EA%B0%9C%EB%B0%9C%EC%8B%A4%3E%EA%B0%9C%EB%B0%9C3%ED%8C%80%3E30000.%20%EB%B6%80%EC%84%9C%EA%B3%B5%ED%86%B5%3E%EA%B9%80%EC%84%B8%ED%99%94%3E%EB%83%89%EB%8F%99%EB%B0%A5%20%EC%A3%BC%EA%B0%84%EB%B3%B4%EA%B3%A0%20%20%EA%B0%9C%EB%B0%9C3%ED%8C%80%20%EC%A3%BC%EA%B0%84%EC%A0%84%EB%9E%B5%EC%A0%95%EB%B3%B4(%2720%EB%85%84%209%EC%9B%94%203%EC%A3%BC%EC%B0%A8)_%EB%83%89%EB%8F%99%EB%B0%A5.pptx%20:%20%3Ca%3Ehttps://ddo.daesang.com:8443/url/?key=80c5z1NHnvj6HtbK%3C/a%3E%EC%88%98%EC%A0%95%20:%20%3Ca%3Ehttps://ddo.daesang.com:8443/url/?key=43c5z1NHnvj6HtbL
https://ddo.daesang.com:8443/url/?key=09e4z1NHm3ZA-2zQ%3C/a%3E%EC%9C%84%EC%B9%98%20:%20%EA%B3%B5%EC%9A%A9%20%ED%8F%B4%EB%8D%94%3E%EB%8C%80%EC%83%81%EC%A4%91%EC%95%99%EC%97%B0%EA%B5%AC%EC%86%8C%3E%EC%8B%9D%ED%92%88%EC%97%B0%EA%B5%AC%EC%86%8C%3E%EC%97%B0%EA%B5%AC%EA%B0%9C%EB%B0%9C%EC%8B%A4%3E%EA%B0%9C%EB%B0%9C3%ED%8C%80%3E30000.%20%EB%B6%80%EC%84%9C%EA%B3%B5%ED%86%B5%3E%EA%B9%80%EC%84%B8%ED%99%94%3E%EB%83%89%EB%8F%99%EB%B0%A5%20%EC%A3%BC%EA%B0%84%EB%B3%B4%EA%B3%A0%20%20%EA%B0%9C%EB%B0%9C3%ED%8C%80%20%EC%A3%BC%EA%B0%84%EC%A0%84%EB%9E%B5%EC%A0%95%EB%B3%B4(%2720%EB%85%84%209%EC%9B%94%203%EC%A3%BC%EC%B0%A8)_%EB%83%89%EB%8F%99%EB%B0%A5.pptx%20:%20%3Ca%3Ehttps://ddo.daesang.com:8443/url/?key=80c5z1NHnvj6HtbK%3C/a%3E%EC%88%98%EC%A0%95%20:%20%3Ca%3Ehttps://ddo.daesang.com:8443/url/?key=43c5z1NHnvj6HtbL
수정 : < a>https://ddo.daesang.com:8443/url/?key=43c5z1NHnvj6HtbL
crm-pro
Basic Token Generation: const token = btoa(unescape(encodeURIComponent('ucap:crmpro')));
ocx list up
login
logout
ping
startRecord
StopRecord
//고객과 통화중인 경우, 타 상담원에게 고객전화를 전달하는 기능,
Transfer
- Blind Transfer 방식이며, 무조건 호 전환 기능
SendChannelOutEvent 이벤트 발생
AtXfer
- Attended Transfer 방식이며, 통화 후 호 전환 기능
// 통화중 고객채널과 함께 Conference룸으로 동시에 옮기는 기능
RedirectConference
// 해당 회의실에 Peers를 초대 하는 기능
InviteConference
// 다자간 회의통화 - 자신의 전화와 함께 회의통화 연결 요청시
CallWithConference
SendSMS
//- 문자SMS 메시지 수신시 발생하는 Event
SendSMSEvent
// IPPBX 착신전환 설정 기능
SetForward
// IPPBX 에 등록된 전화기의 정보조회 기능
GetPeerInfo
// - 네트웍 접속의 오류가 발생시 발생하는 Event
SendNetworkErrorEvent
// - 각종 명령 OCX에서 수행시 오류 발생에 대한 Event
/*
bstrEventName: 수행되는 명령
bstrMsgValue : 명령 수행시 발생되는 각종 에러에 대한 메시지 이벤트
*/
SendCmdErrorEvent

View File

@ -0,0 +1,10 @@
crm pro
SendChannelOutEvent
기타 코드 MSG참조 기타 코드 참조표 필요
HCAUSE: 종료이유 코드값에 대한 정의가 없음
전화 종료에 대한 이유를 알 수 없음
전화 전달에 대한 종료 인지 사용자 종료인지 네트워크 오류에 대한 종료인지 구분할 수 없음
SendSIPCommand Method(특수확장기능)
특수기능에 대한 명시가 부족

View File

@ -0,0 +1,7 @@
ds
새로운 대화 입력 후
대화내용이 맨밑으로 안되고 상단으로 올라가는 이슈
crm pro
서버연동
전화 화면 구성

View File

@ -0,0 +1,42 @@
{
"id": 1,
"username": "07082774004",
"extensionNumber": "4004",
"company": {
"id": 1,
"companyName": "테스트 회사"
},
"roleInfos": [
{
"id": 1,
"userId": 1,
"role": {
"id": 4,
"roleCd": "ROLE_ADMIN"
},
"_links": {
"self": {
"href": "http://127.0.0.1:8080/api/v1.0/user/role/1/1"
}
}
},
{
"id": 2,
"userId": 1,
"role": {
"id": 3,
"roleCd": "ROLE_USER"
},
"_links": {
"self": {
"href": "http://127.0.0.1:8080/api/v1.0/user/role/1/2"
}
}
}
],
"_links": {
"self": {
"href": "http://127.0.0.1:8080/api/v1.0/user/1"
}
}
}

View File

@ -0,0 +1,46 @@
"publish:all": "npm-run-all -s publish:util:all publish:domain:all publish:api:all publish:protocol:all",
"publish:domain:all": "npm-run-all -s publish:domain-authentication publish:domain-authorization publish:domain-user publish:domain-contacts publish:domain-call publish:domain-sms publish:domain-record publish:domain-memo",
"publish:domain-authentication": "node ./scripts/publish.js domain-authentication",
"publish:domain-authorization": "node ./scripts/publish.js domain-authorization",
"publish:domain-call": "node ./scripts/publish.js domain-call",
"publish:domain-user": "node ./scripts/publish.js domain-user",
"publish:domain-contacts": "node ./scripts/publish.js domain-contacts",
"publish:domain-sms": "node ./scripts/publish.js domain-sms",
"publish:domain-record": "node ./scripts/publish.js domain-record",
"publish:domain-memo": "node ./scripts/publish.js domain-memo",
"publish:api:all": "npm-run-all -s publish:api-contacts publish:api-authentication publish:api-call publish:api-memo publish:api-record publish:api-sms",
"publish:api-contacts": "node ./scripts/publish.js api-contacts",
"publish:api-authentication": "node ./scripts/publish.js api-authentication",
"publish:api-call": "node ./scripts/publish.js api-call",
"publish:api-memo": "node ./scripts/publish.js api-memo",
"publish:api-record": "node ./scripts/publish.js api-record",
"publish:api-sms": "node ./scripts/publish.js api-sms",
"publish:protocol:all": "npm-run-all -s ",
http://ce93b8106020/crm-pro/crm-pro.git
CHANNELOUT|CHANNEL:SIP/101t4004-073a|RECHANNEL:SIP/5060-b4a6a668b4bf|UNIQUEID:1599721299.4009093|SRCUNIQUEID:NONE|HCAUSE:16
RINGEVENT|ISDIAL:0|CHANNEL:SIP/101t4004-073a|RECHANNEL:SIP/5060-b4a6a668b4bf|INEXTEN:07082774004|AGENT:101t4004|ATXFER:|CALLERID:01040556699|UNIQUEID:1599721299.4009092
LOGINRESULT|STATUS:1|EXTEN:101t4004|CALLERID:07082774004|DOMAIN:premium_c_965657.lgdacom.net|MSG:101t4004,07082774004,tmpid4004@premium_c_965657.lgdacom.net
Disconnected
LOGINRESULT|STATUS:1|EXTEN:101t4004|CALLERID:07082774004|DOMAIN:premium_c_965657.lgdacom.net|MSG:101t4004,07082774004,tmpid4004@premium_c_965657.lgdacom.net
Disconnected
CMDRESULT|CMD:SENDSMS|01040556699:|RES:sms Send SUCCESS(211.32.148.83)(01040556699)(999999)
CHANNELOUT|CHANNEL:SIP/101t4004-7a4b|RECHANNEL:|UNIQUEID:1599716044.4000229|SRCUNIQUEID:NONE|HCAUSE:486
RINGEVENT|CHANNEL:SIP/101t4004-45d6|ISDIAL:1|INEXTEN:null|RECHANNEL:Local/101t4004@default-84f9,2|AGENT:101t4004|CALLERID:01040556699|UNIQUEID:1599716030.4000199
LOGINRESULT|STATUS:1|EXTEN:101t4004|CALLERID:07082774004|DOMAIN:premium_c_965657.lgdacom.net|MSG:101t4004,07082774004,tmpid4004@premium_c_965657.lgdacom.net
Disconnected
LOGINRESULT|STATUS:-1|MSG:ANOTHER_LOGINED|ADDR:/165.243.5.20
CHANNELOUT|CHANNEL:SIP/101t4004-9b8e|RECHANNEL:Local/101t4004@default-47e2,1|UNIQUEID:1599698621.3974038|SRCUNIQUEID:1599698621.3974038|HCAUSE:16
CHANNELLIST|CHANNEL1:SIP/101t4004-9b8e|CHANNEL2:SIP/115.95.192.16-1da0|CALLER1ID:4004|CALLER2ID:01040556699|INEXTEN:null|UNIQUEID1:1599698621.3974038|UNIQUEID2:1599698637.3974058
RINGEVENT|CHANNEL:SIP/101t4004-9b8e|ISDIAL:1|INEXTEN:null|RECHANNEL:Local/101t4004@default-47e2,2|AGENT:101t4004|CALLERID:01040556699|UNIQUEID:1599698621.3974039
CHANNELOUT|CHANNEL:SIP/101t4004-bfa0|RECHANNEL:Local/101t4004@default-9a5c,1|UNIQUEID:1599697122.3972077|SRCUNIQUEID:1599697122.3972077|HCAUSE:16
CHANNELLIST|CHANNEL1:SIP/101t4004-bfa0|CHANNEL2:SIP/115.95.192.16-43de|CALLER1ID:4004|CALLER2ID:01040556699|INEXTEN:null|UNIQUEID1:1599697122.3972077|UNIQUEID2:1599697141.3972114
RINGEVENT|CHANNEL:SIP/101t4004-bfa0|ISDIAL:1|INEXTEN:null|RECHANNEL:Local/101t4004@default-9a5c,2|AGENT:101t4004|CALLERID:01040556699|UNIQUEID:1599697122.3972078
CHANNELOUT|CHANNEL:SIP/101t4004-287f|RECHANNEL:Local/101t4004@default-285c,2|UNIQUEID:1599696418.3971263|SRCUNIQUEID:NONE|HCAUSE:16
RINGEVENT|CHANNEL:SIP/101t4004-287f|ISDIAL:1|INEXTEN:null|RECHANNEL:Local/101t4004@default-285c,2|AGENT:101t4004|CALLERID:01040556699|UNIQUEID:1599696418.3971262
LOGINRESULT|STATUS:1|EXTEN:101t4004|CALLERID:07082774004|DOMAIN:premium_c_965657.lgdacom.net|MSG:101t4004,07082774004,tmpid4004@premium_c_965657.lgdacom.net

View File

@ -0,0 +1,262 @@
/*
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"
}