Differentiate GWS request

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”
},
“userAgent”: “WWE Server”,
“protocolVersion”: 2
}

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.