Changing JSON responses

Hi all!

Is it possible to manipulse the JSON response from the stasis app? For example with GET channels we see something like this:

[
{
“id”: “”,
“name”: “”,
“state”: “Up”,
“caller”: {
“name”: “”,
“number”: “”
},
“connected”: {
“name”: “”,
“number”: “”
},
“accountcode”: “”,
“dialplan”: {
“context”: “”,
“exten”: “”,
“priority”: ,
“app_name”: “”,
“app_data”: “”
},
“creationtime”: “”,
“language”: “”
}
]

Any possibility to change that string?

Thanks in advance,

No, that’s the API presented. Any changes would require modifications to the C code and other places that actually construct the information.

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