General Questions

Q: What versions of Asterisk are recommended by Khomp?
  • Khomp continuously performs tests using diverse versions of Asterisk, since the stable versions of the 1.2 series until the latest versions of the series 1.6.x. However, some special versions are recommended because of stability issues, or not supported, as known issues. Q: As a quick reference guide, the versions that we recommend: Q: Several versions of series 1.4 and some of series 1.6 and 1.8 are not recommended due to problems that affect direct operation, as listed below: 1. Go up? IMPORTANT: Version 1.8.12 has some known and still unsolved problems, please check the patches file in the source distribution of the Khomp channel for information on problems and corrections Q: Asterisk is not initialized. Check if k3lserver is in operation, to do that it is necessary to configure an EBS or a board in the interface. To ensure k3lserver will not prevent Asterisk from initializing, use the load-error=skip option in the khomp.conf file.
    Q: Xinetd + tftpboot In environments like Elastix, which use provisioning, port 69 is commonly used by Xinetd or another TFTP server. In this case, the Kibs service which also uses the same port cannot communicate with EBS. To solve that problem, it is necessary to enter //tftpboot in the Alternative Path in /etc/khomp/config/kibs.yaml and restart the Kibs service.
    Q: Which ports are used with EBS?
    Q: What network bandwidth does EBS equipment use? Khomp recommends using EBS (External Board Series) directly connected to the server using a dedicated and exclusive network board to avoid any type of interference and network competition. These are the network consumption figures according to each EBS model:
    1 canal = 64kb 
    1 E1 <=  30: 4 Mbps e 250 pacotes/s (1 pacote a cada 4ms contendo 32 amostras de áudio)
    2 E1 <=  60: 8 Mbps e  500 pacotes/s (1 pacote a cada 2ms contendo 16 amostras de áudio)
    4 E1 <= 120: 16 Mbps e 1000 pacotes/s (1 pacote a cada 1ms contendo 8 amostras de áudio)
    
    EBS FXO 4 portas -  2 Mbps e 150 pacotes/s (1 pacote a cada 8ms contendo 32 amostras de áudio)
    EBS GSM 8 Modens -  4 Mbps e 250 pacotes/s (1 pacote a cada 4ms contendo 32 amostras de áudio)
    

    Q: EBS does not upload.

    Q: Audio problems.

    Q: How to set up the volume of calls in KHOMP channels?

    1. Dial Application
    Dial(Khomp/b0c1+b0c14/input_volume=+2:output_volume=+2)
    input_volume: Sets the connection input volume, ranging from -10 to +10;
    output_volume: Sets the output volume of the connection, which can vary from -10 to +10;
    
    1. ?KSetVolume? application. The purpose of this application is to adjust input and output volume in Khomp?s channels, having the following syntax:
    KSetVolume(<volume>)
    KSetVolume(<input-volume>|<output-volume>)
    

    Where fields have the following meaning:

    volume: Ajusta o volume de entrada e saída (-10 a +10);
    input-volume: Sets the calls input volume, ranging from (-10 to +10, "none" to not change).
    output-volume: Sets the output volume, which can vary from (-10 to +10, "none" to not change);
    
    1. Channel configuration (edit the etc/asterisk/khomp.conf file)
    input-volume: Sets the input call volume, ranging from -10 to +10 (local option);
    output-volume (old "volume"): Sets the output volume of callswhich can vary from  -10 to +10 (local option);
    

    Blocking collect calls

    channels-b0l0]
    drop-collect-call = yes
    
    You can also enable the variable on dialplan:
    [default]
    exten => _X.,1,Set(KDropCollectCall=yes)
    

    FXS digits timeout

    ?fxs-digit-timemout = 7?

    If KHOMP has not approved the GNU/Linux version/distribution that I use, does that mean the board will not work in this distribution, regardless of my kernel?

    That does not mean that if a certain system is not listed as approved it will not work - quite the contrary. The drivers and the installer are designed to work independently of distribution, which makes it easier to install them in several GNU/Linux systems without significant difficulty. However, some aspects must be checked as requirements for the proper functioning of the drivers:

    1. Adopted kernel version - all 2.6 series versions are supported, but it is better to use version 2.6.22 or higher;
    2. GCC compiler version - supported from GCC 3.4 on, GCC 4.1 or higher is recommended;
    3. Glibc library version - supported from GLIBC 2.3.6 on;
    4. Asterisk version.

    The Message: "chan_khomp: ERROR: loading K3L API failed: Could not connect to k3lServer. Cause [Socket error: Socket=00000026 - Connection refused (error=111) (KTools/KD3/Basics/KClientSocket.cpp:84)]? indicates that the k3lserver is not in operation.

    While executing Asterisk, I get the following error message when loading chan_khomp.so: "cannot restore segment prot after reloc: Permission denied". What may be going on?

    *chcon --reference=/usr/lib/asterisk/modules/app_dial.so
    */usr/lib/asterisk/modules/chan_khomp.so
    *chcon --reference=/usr/lib/asterisk/modules/app_dial.so
    
    /usr/sbin/asterisk
    
    SELINUX=disabled
    

    in the file

    /etc/sysconfig/selinux
    

    or

    /etc/selinux/config