Nexmo / comms-router

A server which allows you to route tasks to agents.
Apache License 2.0
21 stars 11 forks source link

Error on create agent with capability name that contains '-' #96

Open angel-popov opened 6 years ago

angel-popov commented 6 years ago
Request:curl -s -X POST 'http://192.168.1.166:8080/comms-router-web/api/routers/router-ivr/agents' -H 'Content-type:application/json' -d "{\"address\":\"address\",\"capabilities\":{\"as-df\":2}}"
Response:{"error":{"code":"IllegalArgumentException","description":"A variable or function name can not contain an operator symbol."}}
Checks:FAIL- {"error":{"code":"IllegalArgumentException","description":"A variable or function name can not contain an operator symbol."}} should have key "ref"