snomONE – Under the hood

In the age of statistic junkies, who does not want to know what is under the hood of the software you are using! Many times we like to see the global view of important data that a software or an application is using for its operation. Sometimes it is just out of curiosity, other times to analyze the behavior of the application. The stats are always useful for both the customer who is using it and the software vendor who creates these applications. The information gathered is a useful tool to improve the quality of the software.

The snomONE displays some of the data and statistics on the system status page. But it also has some built-in statistics commands. These are not exposed to the web interface by default. But one can modify few lines of snomONE HTML to make those statistics or the data available on the web interface. Here are few examples –

List of call ports

If you like to see the active call ports (relates to the call legs), you can use the SSI command – call_ports. This command will display all the call ports that are currently active in the snomONE. This is useful to inspect and compare number of calls to the number of call legs.

List of audio files in the cache

The audio files are loaded to the memory before playing out to the user. Be it the ringback file, personal greetings file or music file. Some files are loaded and kept in the cache. This is generally a good thing as it improves the performance of the snomONE. But in some other cases it can create some unwanted behavior. Consider a case where a personal greeting is loaded to the cache and kept in the cache eternally. The changes made by the user to the personal greetings after is loaded to the memory will not be used until you restart the snomONE. This is not a good thing. By looking at the list of audio files using – audio_cache_files, you can figure out the cause of the issue.

List of DID numbers

When you have a lot of DIDs spread across different accounts on a single domain or spread across different domains, it is always see all of the DIDs on a single page. That’s why we introduced a new command – did_list.

There are many more of these SSI commands to display registrations, DNS cache, MAC addresses associated with the accounts etc.

As a note, these commands are mostly used for analyzing the behavior of the snomONE. So, use them wisely!

This entry was posted in snomONE. Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s