VOIP Phone call register/unregister issues

VOIP Phone call register/unregister issues

Overview

TopView Voice Notification makes VOIP phone calls for alarm notification.
The VOIP protocol is SIP. TopView is a "SIP client" that connects to the SIP Server to make phone calls.

Each phone call in TopView is made by a separate call process (executable) that 
  1. connects to the SIP Server
  2. registers with the SIP Server 
  3. makes the phone call
  4. completes the phone call (hangs up)
  5. unregisters with the SIP server 

Issue: Unregister event (TopView 6.35 and earlier)

An issue was discovered where a TopView VOIP phone call in v6.35 and earlier may not properly unregister with the SIP Server at the end of the call.
Even though the TopView call process that connected and registered the call is no longer running or connected to the SIP Server, some SIP Servers may persist the connection/registration if the unregister does not occur.

How this issue may present itself

If TopView is not successfully unregistering at the end of a call, one of the following may occur:
  1. TopView is able to register and make a call, or a few calls, but then fails to register future calls. This can occur if the SIP Server is not cleaning up the previous connections and limits the user/extension to a certain number of concurrent connections. After TopView makes this number of calls, future calls will fail to register.
  2. TopView will periodically either register successfully and call, or fail registration and not call. This can occur if the SIP Server cleans up older connections (that did not unregister) at a slower rate than new call connections/registrations are occurring. 
In addition you may see the following message in the log file for a TopView call that cannot register:
403;text="Register exceeds max contacts"

How to resolve this issue

  1. We have issued a patch for TopView v.6.35 to resolve this issue. This patch is available on the TopView 6.35 download page's patches section and labeled as patch "6.35.1.2 VOIP Phone call unregister".
    If you are using the Grandstream UCM device you should also enable the keep-alive settings described below.
  2. If you are unable to upgrade to 6.35 and are using the Grandstream UCM device to make calls, follow the information below to enable keep-alive for the TopView extension(s).

Grandstream UCM device for VOIP calls over analog lines

As mentioned in the TopView UCM Configuration document, TopView users making phone calls through a Grandstream UCM device should enable the TopView Voice Notification setting to require registration with the SIP Server. If TopView is not correctly unregistering at the end of a call, the following extension settings can be used as a workaround.

The Grandstream UCM device contains an extension setting that will monitor the connection from a call to ensure that the connection is still alive - if the connection is not alive it will close the connection and unregister the previous registration.  If TopView is failing to unregister calls, this setting will force the Grandstream to clean up the connection after the call has completed.
  1. Log into the Grandstream UCM device (web browser)
  2. From the left menu select
    Extension/Trunk > Extensions
  3. For each extension used by TopView, click the edit button (pencil) to the right of the extension
    1. Check the box "Enable Keep-alive"
    2. To the right of the checkbox is the Keep-alive Frequency. Set this to 10 (seconds)
    3. Set "Concurrent registrations" to 10
  4. Click [Save] then [Apply Changes]

How an unregistered TopView extension presents itself in the Grandstream Web UI

The listed extensions include a "Status" column with one of the following values:
  1. Unavailable: there is no SIP client registered to the extension
  2. Idle: a SIP client is registered on the extension, no call is active
  3. Ringing: the SIP client is registered and the extension is ringing
  4. In Use:  the SIP client is registered and a call is active
When a TopView call is not active, the listed status for the TopView extension should be "Unavailable". If the status column is "Idle", this indicates that the call was not unregistered.

 






    • Related Articles

    • DTMF detection issues for VOIP calls (e.g. using key presses to acknowledge alarms over voice calls)

      DTMF  (Dual-tone multi-frequency signaling - Wikipedia) is responsible for communication of key presses over the phone call. TopView can use these key presses to allow calls to proceed, or to acknowledge alarms via voice notifications. Here are some ...
    • VOIP and SIP issues

      If test voice notifications via VOIP are experiencing difficulties, we recommend the following tests and procedures: Make sure you're running the most recent version of TopView possible, along with any patches for that version. Verify that the ...
    • What do I need for VOIP call-out notification?

      For many years TopView has supported voice call-out notification over traditional phone lines but, due to both hardware and software developments, voice notification via TAPI modems is much less reliable than it used to be (see the reliability ...
    • Troubleshooting voice call issues with the Grandstream UCM 6xxx devices

      TopView can make VOIP calls for notifications through the Grandstream in order to call through an analog line. This article provides a number of methods to verify your system is able to make voice calls through this device. If you have not yet ...
    • SIP.US Call settings for TopView and troubleshooting

      Overview TopView supports online/hosted SIP Servers for TopView Voice Notification call out. SIP.US is a hosted SIP Server. While most SIP Servers will work with TopView, we have tested a few and can recommend them for use with TopView: see TopView ...