3.1nxcapiPutCounselInfo
상담 결과 데이터 저장에 대한 내용으로 상담원이 콜 처리 후 유형에 따라, API 호출하는 방식 입니다.
3.1.1nxcapiPutCounselInfo 함수 설명
상담결과 저장
- NEXUSCUBE로부터 수신된 정보로 입력해야 할 항목 | - IVR에서 자체적으로 판단하여 넣어주어야 할 항목 | |
gate cnid cnsq | invokeID tag attach | (Mandatory) (Mandatory) (Option) |
3.1.2PROTOTYPE
cubeAPI nxcapiPutCounselInfo (cubeGateID gate, cubeSHORT invokeID, cubeString64 cnid, cubeSHORT cnsq, cubeString128 tag, cubeAttach *attach)
3.1.3nxcapiPutCounselInfo API Packet
- nxcapiPutCounselInfo 패킷은 서비스 코드 cubeS_PutCounselInfo 193
GATE ID (INT) INVOKE ID (SHORT) CNID(CHAR) 최대길이 64 CNSQ (SHORT) tag len(CHAR) 최대길이 128 tag (TAG LEN) attach len(CHAR) 최대길이 1024 attach (ATTACH LEN) |
3.1.4nxcapiPutCounselInfo PARAMETERS
gate |
---|
type: cubeGateID access: read only use: mandatory CUBE와 연결하기 위한 핸들. nxcapiOpenServer시 얻어옵니다. |
invokeID |
---|
type: cubeSHORT access: read only use: mandatory nxcapiOpenServer에서 AsyncMode로 오픈시 이용한다. 동시에 여러 개의 명령을 요청했을 때 invokeID로 어떤 요청의 결과인지 알 수 있습니다. 1~65535범위 안에서 Loop처리하면 됩니다. AsyncMode가 아닐경우 1~65535범위내의 하나의 숫자로 고정 사용해도 됩니다. |
cnid |
---|
type: cubeINT access: read only use: mandatory 현재 채널에 인입된 호의 cnid 값을 입력합니다. |
cnsq |
---|
type: cubeSHORT access: read only use: mandatory delivered 이벤트의 cnsq 값입니다. |
tag |
---|
type: cubeString128 access: read only use: mandatory 상담 결과 코드를 입력합니다. |
attach |
---|
type: cubeAttach access: read only use: mandatory 상담결과 내용을 입력합니다. |
3.1.5RETURN VALUE
호출에 성공하면 무조건 1을 리턴합니다.