问题描述:

I am having an issue I have created the user extension (1001) and set password using the below command and I am not able to authenticate user from softphone(xlite and softphone). Kamailio is configured on Redhat-7.2 and I am not able to find any troubleshooting tools or logs that can help me to solve this issue.

kamctl add [email protected] [email protected]

Service Kamailio is running fine

 [[email protected] ~]# service kamailio status

kamailio.service - SYSV: Kamailio is a fast, reliable and flexible SIP Server.

Loaded: loaded (/etc/rc.d/init.d/kamailio)

Active: active (running) since Sat 2016-10-08 09:12:07 EDT; 1h 18min ago

Docs: man:systemd-sysv-generator(8)

Process: 4014 ExecStop=/etc/rc.d/init.d/kamailio stop (code=exited, status=0/SUCCESS)

Process: 4024 ExecStart=/etc/rc.d/init.d/kamailio start (code=exited, status=0/SUCCESS)

Change the SIP_Domain /etc/kamailio/kamctlrc to IP i.e 192.168.254.132 and also change alias in /etc/kamailio/kamailio.cfg

alias=192.168.254.132

Running the below command for online user gives the below information.

[[email protected] ~]# kamctl ul show

which: no gdb in (/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/root/bin:/)

Domain:: location table=1024 records=0 max_slot=0

I am not sure what else can be changed to authenticate the user 1001. Can anybody help me regarding this.

网友答案:

This has been resolved by disabling the firewalld in redhat 7 use the below two commands to perform this.

# systemctl stop firewalld
# systemctl disable firewalld
网友答案:

You should follow these step to solve the problem:

  1. check whether you are getting register packet on the kamailio server or not.
  2. if register packet is not coming then there is problem with firewall. so disable it.
  3. if register packet is coming check weather you entered the right password for the extension while registration.
  4. if password is right then check then kamailio config.(auth part of that config).
相关阅读:
Top