Hi team,
i tried the sample code listed in the tutorial page as below:
But when i called the init.php, the response is not as expected, with the response "HTTP Status 422" as below:
Because this is a tutorial for the REM development, it is better to make it working correctly, thanks a lot.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
You need to add the AED2.allowedTopic attribute, for instance....
"additionalAttributes":
{
"AED2.metadata":
{
"role": "consumer"
},
"AED2.allowedTopic": "assist-555123456"
}
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Hi ewindgat,
according to your comments, i added the AED2.allowedTopic attribute, but the response is the same as before ("HTTP Status 422").
Could you please contact the author of that post, he should know about the correct format of the json data.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Hi ewindgat,
finally after few tries, i find out we also need add the voice attribute, for example ...
"voice":
{
"username": "assist-555123456",
"displayName": "Bob",
"domain": "192.168.9.118",
"inboundCallingEnabled": false
}
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Comments
0 comments
Please sign in to leave a comment.