Course11:Advanced - Operations
Explains how to setup an innovaphone PBX system so that it can be maintained smoothly.
Monitoring and Debugging
- make sure you notice problems before your end users do
- gather as much information to understand the nature and cause of any problems
Events

There are a

Some of them indicate bad user behaviour such as

Others may indicate a misconfiguration of the system such as

Yet others will likely report hardware problems such as

Also, temporary performance problems in your network could create an event, such as

In any case, events shown in the event log must be examined carefully and it needs to be determined if they indicate a problem that need to be fixed.
Clicking on the event-code listed in the Code column will open a popup window with some useful context information. For example, for the aforementioned type 0x00010002,
Protocol | SIP |
AOR | <sip:a@x> |
Comment | Timeout |
will be shown.
Alarms

In a managed installation, there should be no entries in the alarm list at any time!
The event and alarm list is always kept in local flash memory. The number of entries to keep can be configured in the

All alarms are sent via SNMP traps. The SNMP trap delivers: code,severity,txt (e.g interface down) and alarmsource (e.g IP0/ETH1). This can be useful if the customers has a SNMP network management tool in use.
Syslog

- PBX/Gateway Calls - calls and their flow in the PBX or Gateway
- Gateway Routing - number mapping and call routing in Relay
- H.323/SIP-Registrations - endpoint/interface registration successes or fails
- Administration - configuration changes performed on the device
- and more

Support will always ask you for a log demonstrating the problem. To reduce the number of turnarounds required for them to understand the problem, make sure your log includes the maximum of relevant information and the minimum of irrelevant information. To do so
- tick on all logging check marks that relate to information relevant to the problem
- tick off any logging check mark that creates irrelevant information
- try to trim down the log so that it fully captures the reproduced problem but nothing else
- clearly indicate the situation captured in the syslog (not: there is a problem, see syslog. Rather: in the syslog, there is a call coming from TEL1, calling party is xyz, called party is abc. It is sent to extension -xx and terminates with cause code 21. Expected behaviour though is for the call to alert at the phone registered with user efg)
Traces

As opposed to syslog, traces are permanently saved into an in-core ring buffer. This implies that
- you can obtain information about events that happened before you obtain the trace (provided you obtain it before they get overridden in the ring buffer)
- when you reproduce a problem and then obtain the trace, the trace will include information prior to your reproduction of the problem (which is probably not useful)
- tracing always consumes CPU resources, not only while obtaining a trace
- obtain the trace, thereby clearing the trace buffer
- reproduce the problem
- obtain the trace again

Writing to the trace ring buffer is disabled when the device traps. Also, the trace ring buffer is not cleared on a re-start. Thus, after a re-start, you can obtain the trace from before the re-start, showing the trap situation!
Trace is also a simple text based tool and the notes made about obtaining and providing it to support made for the syslog do apply here too.
Wireshark
From V6 SR2, the trace mechanism was greatly enhanced by the


When the Enable RPCAP check mark is ticked in the

Usually, you will also tick All TCP/UDP Traffic in the tracing tab, so that Wireshark will capture all network traffic from and to the device. However, wireshark will also capture all other trace information too. Wireshark's advanced filtering and analysis capabilities allow to capture even huge traces in a life system and drill down the information so that the problem reproed can be isolated from all the irrelevant information. To begin with, try to capture a normal call, then look at Telephony / Voip Calls.
Tracing encrypted Signalling
In such installations, you can also get traces for trouble shooting (either with text trace or wireshark) and send them to us for analysis. However, as they are encrypted, we cannot read them! (no, there is no manufacturer back-door)
While we usually have no intention to listen to your talks (so SRTP is not a problem), we usually do want to analyze you call signalling. As a result, traces from encrypted communication are useless to us. To circumvent this problem, you must tick the All IPv4 TLS Traffic (or All IPv6 TLS Traffic) check-mark in the tracing page when obtaining traces. This will enclose an uncrypted copy of the trace signalling data.


If you want to see the encrypted signalling messages in Wireshark, you can mark a specific packet and apply the


Storing and Consolidating Syslog and Events
Also, in a distributed system such as a VoIP PBX, it is often difficult to determine where the problem actually would be logged. For this reason, it is clearly desirable to consolidate all events, alarms and sylogs to a single place. You can do this by relaying this type of information to a single web server for storage. This will usually be one of your innovaphone devices that has a CF card installed.
Relaying is configured in the

This way, all events, alarms and syslog entries are permanently sent to the central device. All events and alarms will show up in the

Remote events and alarms are not stored in the Flash memory of the receiving device (i.e. your central event/alarm server). If the central event server is restarted, all remote events are lost. Alarms are retransmitted by the generating device(2 minutes after reboot and every 30 minutes), updating the alarms list on the central device. If you have to reboot the central event/alarm server, make sure to use the Save option to store the Event-list.
Using DHCP for basic Configuration
innovaphone devices thus feature a number of configuration options that can be

Generally, when a devices receives an option via DHCP, it overwrites the configuration found in the device itself. This makes it possible to overwrite default options. The options received by DHCP are shown in each devices Current Lease area in the

Which DHCP Server to use?

Much easier however is to use innovaphone's


Running a "private" DHCP Server
In some scenarios, it is not an option to use the innovaphone DHCP server as a replacement for an existing DHCP server. Also, sometimes there is no DHCP server available at all and the local network policy does not allow a DHCP server to offer IP leases in the network.
In such cases, the innovaphone DHCP server can be used to serve innovaphone clients only. This is enforced by setting the Reserved and same Vendor Clients only check mark on the IP4/ETH/DHCP tab of the device running the DHCP server. As innovaphone clients (e.g. phone) will by default wait up to 8 seconds for an innovaphone DHCP server lease offer (even if they meanwhile receive another one), they usually do not need to be configured specifically for this to work.
Please note that it is usually not required to set the Server Identifier or Selected Server only field.
Starting with version 10, it is possible to use the option DHCP Custom in order make the DHCP-server distribute vendor specific information.
The vendor class identifier and the vendor options can be entered as character strings or in hex representation.
How to find correct option values
To help with this, you can have a look at the

To find out the right settings, you would thus
- turn off DHCP client mode in the phone (to make sure there are no settings received with DHCP)
- configure the phone according to your needs using the phone menus or the web user interface
- copy the DHCP option values from
Phone/State/DHCP-Options to your DHCP option settings