havfo / WEBRTC-to-SIP

Setup for a WEBRTC client and Kamailio server to call SIP clients
279 stars 146 forks source link

iptables.sh issue #16

Closed salihy closed 6 years ago

salihy commented 6 years ago

I get error when running iptables.sh script. I use Debian 9, and installed kamailio from debs in http://deb.kamailio.org/

iptables: No chain/target/match by that name.
ip6tables: No chain/target/match by that name.

the location of error is this

# RTPEngine
$IPTABLES -I INPUT -p udp -j RTPENGINE --dport $RTP --id 0
$IP6TABLES -I INPUT -p udp -j RTPENGINE --dport $RTP --id 0

Thank you for your help.

havfo commented 6 years ago

Have you installed RTPEngine?

salihy commented 6 years ago

Yes, I installed as described, but there was no ./debian/flavors/no_ngcp executable, and I skipped that step.

havfo commented 6 years ago

This could mean that the RTPEngine kernel module has not been installed. Did all the RTPEngine .deb files get installed correctly and did the kernel module get built?

salihy commented 6 years ago

I tried on a clean server again and same error, could you please try it? I used debian 9.4.0 netinst iso, and installed rtpengine from git.