Asterisk API change json response resources

Hi all!

I am trying to change json response in Asterisk API calls but cant find the files where can I change that.
I saw this doc:

But in my /var/lib/asterisk/rest-api there are not any api-docs directory.

I need to change por example the json response for a 200OK in an originate call:

Need to response with something like that
Call succeded

Thanks in advance

Such changes would need to be done to the Asterisk source code, which has that directory. As well you would need to modify the actual code which produces the JSON - and you’d need to determine what exactly “Call succeeded” actually means and how it is determined.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.