cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1201
Views
0
Helpful
1
Replies

UsePrimaryExtension=true causes failure

Phill Johntony
Level 1
Level 1

I am having an issue updating and creating new MWI's and setting the UsePrimaryExtension field to true in Unity Connection 10.5.2. Setting this false and specifying an extension and phone system works as expected.

Here is the XML from the update MWI PUT:

<Mwi><UsePrimaryExtension>true</UsePrimaryExtension></Mwi>

I have tried with true, t and 1 as values and none of them work. I've even looked through the VMREST logs, but they only give a vague error.

11:55:13.571 |6089,,,VMREST,3,DEBUG [http-bio-443-exec-14] com.cisco.connection.rest.RequestFilter  - REQUEST PUT users/a9ad887c-2963-419c-8e2b-896bce38129e/mwis/a820ffd8-20f8-4d94-897d-c1d33c5e9d54

11:55:13.575 |6089,,,VMREST,3,DEBUG [http-bio-443-exec-14] com.cisco.connection.rest.impl.GeneratedMwiRestImpl  - update mwi: ObjectId=a820ffd8-20f8-4d94-897d-c1d33c5e9d54

11:55:13.589 |6089,,,VMREST,3,DEBUG [http-bio-443-exec-14] com.cisco.connection.rest.impl.GeneratedMwiRestImpl  - creating AuditDetails parameters in BaseRestImpl

11:55:13.589 |6089,,,VMREST,3,DEBUG [http-bio-443-exec-14] com.cisco.connection.rest.impl.GeneratedMwiRestImpl  - user object ID retrieved from security context: objectid=674fefd2-551d-42e9-90e5-c022123ed373

11:55:13.589 |6089,,,VMREST,3,DEBUG [http-bio-443-exec-14] com.cisco.connection.rest.impl.GeneratedMwiRestImpl  - created authentication information: username=admin, alias=admin, id=674fefd2-551d-42e9-90e5-c022123ed373

11:55:13.715 |6089,,,Cuca,4,ERROR [http-bio-443-exec-14] com.cisco.unity.datatools.SqlHelper  - sql exception: message=null, code=-284

11:55:13.715 |6089,,,VMREST,3,ERROR [http-bio-443-exec-14] com.cisco.connection.rest.impl.GeneratedMwiRestImpl  - unable to update Mwi

11:55:13.715 |6089,,,VMREST,3,DEBUG [http-bio-443-exec-14] com.cisco.connection.rest.helper.Utilities  -

11:55:13.716 |6089,,,VMREST,3,DEBUG [http-bio-443-exec-14] com.cisco.connection.rest.ResponseFilter  - RESPONSE filter IN

Any help would be greatly appreciated!

1 Reply 1

lindborg
Cisco Employee
Cisco Employee

Any chance that user already has an MWI extension mapped to inherit?  By default the first (MWI-1) device created when the user is added is flagged for that - you can have only one per user with that flag set.