Genesys CTI User Forum > Genesys-related Development

Differentiate GWS request

(1/1)

genesys_kumar:
Hi,

is there a way we can update the value "userAgent" field while sending request from custom code? i just want to differentiate request sent by manual action and from custom code

request sent: genesys.wwe.service.media.setState("voice","Ready", succeeded, failed);

Response like as below:

wwe-service-client-api.js:203 ServiceClientAPI: receiveMessage: {
"event": "agent",
"data": {
"type": "NOT_READY_ACTION_CODE",
"displayName": "Not Ready - Not Ready",
"operationName": "Not Ready"
},
[b]"userAgent": "WWE Server",[/b]
"protocolVersion": 2
}

genesys_kumar:
I'm closing this topic.  I've tried few customization on service-api script file and it didn't work but found an alternate solution to handle the situation.

Navigation

[0] Message Index

Go to full version