Reply To: GENERICAL VOIP PROBLEM WITH NO ANSWER and NO SOLUTION

Home Page Forums Network Management ZeroShell GENERICAL VOIP PROBLEM WITH NO ANSWER and NO SOLUTION Reply To: GENERICAL VOIP PROBLEM WITH NO ANSWER and NO SOLUTION

#54203

iulyb
Member

Not sure if I can help. First you should identify the networking issue.
tcpdump and conntrack are your friends. Here is some help: https://community.sophos.com/kb/en-us/120352

As for kernel modules

#list kernel modules:

lsmod |grep sip
nf_nat_sip 7701 0
nf_nat 10000 7 nf_nat_masquerade_ipv4,nf_nat_ipv4,nf_nat_pptp,nf_nat_proto_gre,nf_nat_sip,nf_nat_ftp,nf_nat_h323
nf_conntrack_sip 18245 1 nf_nat_sip

# get module info:

modinfo nf_conntrack_sip
filename: /lib/modules/4.4.13-ZS/kernel/net/netfilter/nf_conntrack_sip.ko
alias: nfct-helper-sip
alias: ip_conntrack_sip
description: SIP connection tracking helper
author: Christian Hentschel
license: GPL
depends:
intree: Y
vermagic: 4.4.13-ZS SMP mod_unload modversions PENTIUMIII
parm: ports:port numbers of SIP servers (array of ushort)
parm: sip_timeout:timeout for the master SIP session (uint)
parm: sip_direct_signalling:expect incoming calls from registrar only (default 1) (int)
parm: sip_direct_media:Expect Media streams between signalling endpoints only (default 1) (int)

This module accept 4 param (ports, sip_timeout etc).. Here is how you can change port number:

modprobe ip_conntrack_sip ports=5060, 5061 [,up to 8 ports]

Unfortunately sip modules are still buggy and you may need to check for bugs and eventually recompile.
Here is an example bug: https://bugs.centos.org/view.php?id=2310