End of Life Products and Features - advanced_debugging.save
Description
Start a new debugging session.
Arguments
name | value type | default value |
---|---|---|
enable_msg | boolean | 1 |
msg_length_unit | messages, minutes, hours, days | minutes |
msg_length_number | integer | 10 |
enable_astmsg | boolean | 1 |
enable_astsipdebug | boolean | 1 |
enable_astpridebug | boolean | 1 |
astpridebug_ports | Array of port numbers: 1, 2, et. al. | all ports |
astpridebug_level | standard, intense | standard |
astmsg_length_unit | messages, minutes, hours, days | minutes |
astmsg_length_number | integer | 10 |
enable_tcp | boolean | 1 |
tcp_only_sip | boolean | 1 |
tcp_length_unit | packets, minutes, hours, days | minutes |
tcp_length_number | integer | 10 |
Example Requests & Responses
Example One
Request
Start a new debugging session.
{
'method' => 'advanced_debugging.save',
'parameters' => {
'enable_msg' => 1,
'astpridebug_level' => 'standard',
'astmsg_length_number' => '1',
'tcp_only_sip' => 0,
'astdebug_level' => '3',
'tcp_length_unit' => 'minutes',
'tcp_length_number' => '1',
'astpridebug_ports' => [
'1',
'2'
],
'msg_length_number' => '1',
'start_time' => 1332876872,
'enable_tcp' => 1,
'enable_astsipdebug' => 1,
'astmsg_length_unit' => 'minutes',
'enable_astmsg' => 1,
'enable_astpridebug' => 1,
'msg_length_unit' => 'minutes'
} |
Response
{
'result' => 'success'
} |
Or
{
'result' => 'error',
'error' => 'An Error String',
'error_key' => 'AN_ERROR_LANGUAGE_KEY',
} |
Related content
End of Life Products and Features - advanced_debugging.list
End of Life Products and Features - advanced_debugging.list
More like this
End of Life Products and Features - advanced_debugging.delete
End of Life Products and Features - advanced_debugging.delete
More like this
End of Life Products and Features - access_control.save
End of Life Products and Features - access_control.save
More like this
End of Life Products and Features - t1_e1_settings.save
End of Life Products and Features - t1_e1_settings.save
More like this
End of Life Products and Features - t1_e1_interfaces.save
End of Life Products and Features - t1_e1_interfaces.save
More like this
End of Life Products and Features - remote_logging.save
End of Life Products and Features - remote_logging.save
More like this