Jump to content

Adding system dialplan example not working


Mika

Recommended Posts

Hi,

according to the documentation https://docs.2600hz.com/supported/doc/internationalization/numbers/#adding-system-dialplan-example, I try to create a dialplan and here is the error:

curl -X PUT -H "Content-Type: application/json" -H "X-Auth-Token: $AUTH_TOKEN" http://localhost:8000/v2/system_configs -d '{"data":{"id":"dialplans"}}' | python -mjson.tool

Quote

{
    "auth_token": "my token....",
    "data": {
        "message": "method not allowed"
    },
    "error": "405",
    "message": "invalid_method",
    "node": "_UxyqCnNsRHD9cZ3XdMrpg",
    "request_id": "3cd9d307b7b3dd710efadce648362ca7",
    "status": "error",
    "timestamp": "2021-10-30T09:30:13Z",
    "version": "4.3.140"
}

 

I do not see any error on my side?

Link to comment
Share on other sites

×
×
  • Create New...