Дерево страниц
Перейти к концу метаданных
Переход к началу метаданных

Configuration

To configure incoming call authorization with SMG gateway, specify SMG gateway configuration file in call.gate.outgoing.call.config parameter of /etc/eltex-ngw/notification.properties configuration file.
Example:

#Call gate configuration
call.gate.outgoing.call.config=smg_gate.conf
call.gate.pool.size=50
pool.wait.millis=5000


Configure SMG gateway interaction in smg_gate.conf configuration file (it is located in the same directory as notification.properties).

smg.host=<ip-address>
smg.port=3799
smg.secret=radiuspass

listen.port=1814
listen.secret=radiuspass1


smg.host = SMG gateway addresssmg.port = the port that listens to SMG

gatewaysmg.secret = RADIUS-Authorization key configured on SMG gateway


listen.port = the port that listens to NGW. Any relevant port can be configured; it is required to specify a new port on SMG gateway

listen.secret = RADIUS Accounting key


After configuration files are modified, restart eltex-ngw server

root@vagrant-ubuntu16-xenial-64-SWLC:~# service eltex-ngw restart

Check

To check SMG gateway connection, use radclient utility and make a CoA request containing a telephone number to which an incoming call should come in.

root@vagrant-ubuntu16-xenial-64-SWLC:~# echo Called-Station-Id="79964567890"  | radclient  -sx 192.168.1.10:3799 coa radiuspass
Sending CoA-Request of id 150 to 192.168.1.10 port 3799
        Called-Station-Id = "79964567890"
rad_recv: CoA-ACK packet from host 192.168.1.10 port 3799, id=150, length=33
        Calling-Station-Id = "73830012345"

           Total approved auths:  1
             Total denied auths:  0
               Total lost auths:  0


CoA-ACK with Calling-Station-id containing a telephone number from which a call will be made, should be received in response.

  • Нет меток