The purpose of the Console is to provide informational messages about events regarding your SIP Sorcery account. In particular the sys.Log messages from your dial plan executions will be displayed allowing troubleshooting if things are not working as expected.
The SIP Sorcery Console is available in the Silverlight client or by connecting using an SSH client to ssh.sipsorcery.com. The information displayed is the same for both. The SSH client will be slightly quicker than the Silverlight client as the SSH connections are synchronous whereas the Silverlight client retrieves the console messages by polling the SIP Sorcery server every second.
The screenshot below shows the Silverlight Console tab.
To start logging messages in the Console click Connect. Once the required log messages have been connected click Close. The messages displayed in the Console can be copied (ctrl-a then ctrl-c) and pasted (ctrl-v) to the SIP Sorcery Forums if some assistance is required.
The screenshot below shows the Silverlight Console tab logging messages.
When using the SIP Sorcery ssh server the only authentication method supported is keyboard-interactive. Attempting to authenticate with a public key will cause the connection to be rejected. Some clients attempt to authenticate with a public key by default if one is present in the user's home directory. A handy command line option to force the openssh client to not use a public key is:
ssh username@sipsorcery.com -o PubkeyAuthentication=no
When using the console a filter command can be entered to determine the type of messages that will be displayed. By default all messages are displayed and this can sometimes be overwhelming if an acocunt has a lot of SIP Providers registering or a lot of SIP Accounts using NAT keep-alives. Some common filter commands are listed below:
The SIPSorcery notifications service is exposed as a REST service at https://www.sipsorcery.com/rest/v0.1/notifications.svc. To use the notifications service you will need to obtain your SIPSorcery API key from your Settings Page. After that Using the service is a three step process:
The Ruby script below is an example of how to consume the notifications REST service.