📁
Master DNL Class4 Version 5
  • Introduction
  • Support
  • First Time Setup
    • Create Vendor
    • Create Routing
      • Routing Plan
      • Static Route
      • Dynamic Route
    • Create Client
    • Call Simulation
    • Check CDR
    • Check Report
    • Check PCAP
    • Setup ANI Rotation
    • Set Min Call Duration
    • Block Calls by DNC
  • Maintainence
    • Update US LERG in Switch
    • How to manage PCAP cleaning
    • How to manage CDR cleaning
      • Using dnl_backup_tool
      • Using dnl_cloud_tool
  • Troubleshoot
    • Getting "Missing table" error during invoice generation
    • Switch can't process more than 30K ports
    • How many calls are client sending
    • Call Failure
    • Enforce Valid DNIS Length
    • Enforce E164 Format for Vendor Trunk
    • Configure VoIP Switch in UI
    • SIP Switch is Down
    • Validate Auto-Invoice Rule
  • Installation
    • Installation with RPM
Powered by GitBook
On this page

Was this helpful?

  1. Troubleshoot

Configure VoIP Switch in UI

PreviousEnforce E164 Format for Vendor TrunkNextSIP Switch is Down

Last updated 4 years ago

Was this helpful?

How it works

Each Class 4 platform can run multiple softswitch instances. Each of softswitch can connect to the UI via the following section:

Within the VoIP Gateway, you can add your softswitch instance:

Each softswitch has a "name" and this name is configured in the following config:

/opt/denovo/dnl_softswitch/conf/dnl_softswitch.conf 

Inside the file, you can see the name :

################################################
#
# Denovolab softswitch configuration
#
################################################

[general]
 #....
switch_name = class4

[CLI]
cli_listen_ip = 127.0.0.1
cli_listen_port = 4320
cli_connection_expires = 600
cli_connection_limit = 200

The CLI interface allow the UI to telnet into the switch and query for switch information.

If started correctly, you should see the following CLI port is up:

tcp        0      0 127.0.0.1:4320          0.0.0.0:*               LISTEN      9559/dnl_softswitch 
tcp        0      0 127.0.0.1:49292         127.0.0.1:6240          ESTABLISHED 9559/dnl_softswitch 
tcp        0      0 127.0.0.1:44122         127.0.0.1:6230          ESTABLISHED 9559/dnl_softswitch 
udp        0      0 176.31.100.14:4319      0.0.0.0:*                           9559/dnl_softswitch 
unix  3      [ ]         STREAM     CONNECTED     1175410976 9559/dnl_softswitch  
unix  2      [ ]         DGRAM                    1175410045 9559/dnl_softswitch  

Once CLI port is up, you can configure the VoIP Gateway as follows:

Now, notice that SIP is not up.

Our next step is to add SIP interface to the VoIP gateway.

After you add a new SIP interface, you can restart softswitch using the following command:

systemctl restart dnl_softswitch

After you restart Class4 softswtich, you can see the SIP interface with 6060 port is started.

[root@ns389055 denovo]# netstat -anp |grep dnl_softswitch
tcp        0      0 127.0.0.1:4320          0.0.0.0:*               LISTEN      13446/dnl_softswitc 
tcp        0      0 127.0.0.1:56574         127.0.0.1:6240          ESTABLISHED 13446/dnl_softswitc 
tcp        0      0 127.0.0.1:51428         127.0.0.1:6230          ESTABLISHED 13446/dnl_softswitc 
udp        0      0 176.31.100.14:4319      0.0.0.0:*                           13446/dnl_softswitc 
udp        0      0 176.31.100.14:6060      0.0.0.0:*                           13446/dnl_softswitc