missing info in OnRoutingStateChanged when combining forward & associate
Posted: 30 Nov 2018 05:38
I just set an forward on busy on my set 1033 to 1003, and an associate 7910 (number of my external voicemail).
The OnRoutingStatechanged I receive does not reflect that properly
{
"eventName": "OnRoutingStateChanged",
"loginName": "oxe1033",
"routingState": {
"activableProfiles": [],
"presentationRoutes": [{
"destinations": [{
"type": "OFFICE",
"selected": true
}]
}],
"forwardRoutes": [],
"overflowRoutes": [{
"overflowType": "NO_ANSWER",
"destinations": [{
"type": "VOICEMAIL"
}]
}]
}
}
We can see the voicemail as associate, but that's not correct.. the immediate forward was set to 1003.
I also have an OTMS.. the same event looks as follows
{
"eventName": "OnRoutingStateChanged",
"loginName": "alcateltest5",
"routingState": {
"appliedProfile": {
"id": "1",
"name": "BUSINESS_ONLY",
"defaultProfile": true
},
"activableProfiles": [{
"id": "1",
"name": "BUSINESS_ONLY",
"defaultProfile": true
}],
"presentationRoutes": [{
"destinations": [{
"type": "OFFICE",
"deviceId": "1033",
"number": "1033",
"acceptable": true,
"selected": true
},
{
"type": "PC",
"deviceId": "99921033",
"number": "99921033",
"acceptable": true,
"selected": false
},
{
"type": "MOBILE",
"acceptable": false,
"selected": false
},
{
"type": "HOME",
"acceptable": false,
"selected": false
},
{
"type": "OTHER",
"acceptable": false,
"selected": false
}]
}],
"forwardRoutes": [{
"forwardType": "BUSY",
"destinations": [{
"type": "VOICEMAIL",
"acceptable": false,
"selected": false
},
{
"type": "USER",
"acceptable": true,
"selected": false
},
{
"type": "NUMBER",
"number": "1003",
"acceptable": true,
"selected": true
}]
}],
"overflowRoutes": [{
"overflowType": "NO_ANSWER",
"destinations": [{
"type": "ASSOCIATE",
"number": "7910",
"acceptable": true,
"selected": true
}]
}],
"currentDeviceId": "1033"
}
}
As you can see, the associate has been set, and it is of type NO_Answer (makes sense, associate is always no answer), and we have the forward to 1003 of type busy.
So, all correct on OTMS, but wrong on O2G.
The OnRoutingStatechanged I receive does not reflect that properly
{
"eventName": "OnRoutingStateChanged",
"loginName": "oxe1033",
"routingState": {
"activableProfiles": [],
"presentationRoutes": [{
"destinations": [{
"type": "OFFICE",
"selected": true
}]
}],
"forwardRoutes": [],
"overflowRoutes": [{
"overflowType": "NO_ANSWER",
"destinations": [{
"type": "VOICEMAIL"
}]
}]
}
}
We can see the voicemail as associate, but that's not correct.. the immediate forward was set to 1003.
I also have an OTMS.. the same event looks as follows
{
"eventName": "OnRoutingStateChanged",
"loginName": "alcateltest5",
"routingState": {
"appliedProfile": {
"id": "1",
"name": "BUSINESS_ONLY",
"defaultProfile": true
},
"activableProfiles": [{
"id": "1",
"name": "BUSINESS_ONLY",
"defaultProfile": true
}],
"presentationRoutes": [{
"destinations": [{
"type": "OFFICE",
"deviceId": "1033",
"number": "1033",
"acceptable": true,
"selected": true
},
{
"type": "PC",
"deviceId": "99921033",
"number": "99921033",
"acceptable": true,
"selected": false
},
{
"type": "MOBILE",
"acceptable": false,
"selected": false
},
{
"type": "HOME",
"acceptable": false,
"selected": false
},
{
"type": "OTHER",
"acceptable": false,
"selected": false
}]
}],
"forwardRoutes": [{
"forwardType": "BUSY",
"destinations": [{
"type": "VOICEMAIL",
"acceptable": false,
"selected": false
},
{
"type": "USER",
"acceptable": true,
"selected": false
},
{
"type": "NUMBER",
"number": "1003",
"acceptable": true,
"selected": true
}]
}],
"overflowRoutes": [{
"overflowType": "NO_ANSWER",
"destinations": [{
"type": "ASSOCIATE",
"number": "7910",
"acceptable": true,
"selected": true
}]
}],
"currentDeviceId": "1033"
}
}
As you can see, the associate has been set, and it is of type NO_Answer (makes sense, associate is always no answer), and we have the forward to 1003 of type busy.
So, all correct on OTMS, but wrong on O2G.