In our cloud based contact center solution , we are using DMCC API "makeCall" for making outbound calls to external number in E.164 e.g. +14089999999 . However when we use getThirdPartyDeviceID API and set the request.setExtension to above number E.164 format we get an exception below
stationExtension = "+14089999999"
GetThirdPartyDeviceId request = new GetThirdPartyDeviceId();
request.setSwitchName(switchName);
request.setExtension(stationExtension);
request.setDeviceInstance(DeviceInstance.VALUE_0);
GetThirdPartyDeviceIdResponse response = dvSvc.getThirdPartyDeviceID(request);
12-22 23:06:07.724 INFO [473] usr=XXX- CSTA_Args: <?xml version="1.0" encoding="UTF-8"?>
<GetThirdPartyDeviceId xmlns="http://www.avaya.com/csta"><switchName>SW1</switchName><extension>+14089999999</extension><deviceInstance>0</deviceInstance></GetThirdPartyDeviceId>
12-22 23:06:07.961 INFO [473] usr=XXX- CSTA_Error_Code: <?xml version="1.0" encoding="UTF-8"?>
<CSTAErrorCode xmlns="http://www.ecma-international.org/standards/ecma-323/csta/ed3"><operation>invalidParameterValue</operation></CSTAErrorCode>
Does DMCC API support E.164 format ? Is there any other API to generate the Third Party Device ID using E.164 format?
|