Debug SSI Commands

From Vodia PBX Wiki
Jump to: navigation, search

snom ONE Debug SSI Commands

Note: These debug commands should be used carefully and only when needed.

The following debug SSI commands can be added to the reg_status.htm file:

  • ssi call_ports
  • ssi audio_cache_files
  • ssi dns_cache
  • ssi reg_list
  • ssi get_column

How to use the debug SSI commands

Using the Admin > Web Page Control, you can modify the reg_status.htm page to enable these SSI commands. The location depends on where you want to display the list on the page. Typically, it can be placed at the end of the html body, just before the footer. Also, it is advisable to use one command at a time instead of putting all these commands at the same time on the reg_status.htm page.

Command 1: call_ports This command displays current allocation of the internal call port table information. This helps to detect and fix any stuck call port in some unknown state.

table width="100%" align="center" cellpadding="1" cellspacing="0" class="cFootText">
       {ssi call_ports}
</table>


Command 2: audio_cache_files

This command displays all the wav files that are currently in the PBX cache. Add the following 5 lines to the reg_status.htm file.

table width="100%" align="center" cellpadding="1" cellspacing="0" class="cFootText">
       <tr>
       <td class="cText">Wav files in the cache: </td>
       <td class="cText">{ssi audio_cache_files}</td>
       </tr>
</table>

Command 3: dns_cache

This command displays the DNS cache information as maintained by PBX.

table width="100%" align="center" cellpadding="1" cellspacing="0" class="cFootText">
<tr><td>Type</td><td>Domain</td><td>Address</td><td>Duration</td></tr>
       {ssi dns_cache}
</table>


Command 4: reg_list

This command displays the all the registrations and subscriptions on the PBX.

table width="100%" align="center" cellpadding="1" cellspacing="0" class="cFootText"
       <tr><td>Domain</td><td>Account</td><td>Address</td><td>Model/version</td><td>Call ID</td></tr>
       {ssi reg_list}
</table>


Command 5: get_column

This command displays the specific column information for the number of rows specified. If start and end rows are not specified, then it will return 10 rows.

table width="100%" align="center" cellpadding="1" cellspacing="0" class="cFootText">
       {ssi get_column extensions first_name 1 5}
</table>