0 votes

Inquiring Stun Server Settings

Asterisk 13 has stun settings for both tcp/udp, there is connection on Mac, Linux and Android, issue a command to dial from console, cell phone rings because this is the one testing with at that moment and I will exit the droid and try the client on Mac with same results.  There is still no voice, rtp is configured using stun.zoiper.com:3478 udp/tcp, do not want to by pass using this feature, all the settings are the same, zoiper5 latest upgrade 02.13.2018 free for now registers no idea what is preventing the traveling of voice traffic.  Any suggestions would be appreciated?  In the meantime I am checking log files to give an indication of why the voice is not traveling.

Regards,



in General by (150 points)

Hi,

If you are locally connected to your server, you don't require stun, but enable Rport instead if you need to connect from outside, please use TCP instead of UDP, also be sure your server is allowing traffic ( iptables )

Regards,

Paul

Hello Paul,


No one will be locally connected to the server it will always be outside.  SIP / RTP for messages plus media.  Interesting you write iptables, 3 months ago iptables was not allowed on Google Cloud Instance and two days ago I see it install after updating the server.  I sent a support email and received the following:


I asked a similar question in December 2017. 

A decision was made to not use iptables for the Centos 7 Instance and configured Ingress/Egress within GCP. 

Within the last five (5) months instances were created and deleted on purpose for testing but a week ago in creating a Centos 7 Server Instance and runnning yum -y update there was no installation of iptables.  In December 2017 the package did not exist for the Centos 7 image on GCP and decided to install it separately before finally just using the Firewall feature within GCP.

Yesterday I noticed the image date of Centos 7 Server was 2.27.2018 but this time iptables appeared in the list of packages from running the command.  


yum -y update


 Installed: 


kernel.x86_64 0:3.10.0-693.21.1.el7 Updated: google-cloud-sdk.noarch 0:192.0.0-1.el7 iptables.x86_64 0:1.4.21-18.3.el7_4 

kernel-tools.x86_64 0:3.10.0-693.21.1.el7 kernel-tools-libs.x86_64 0:3.10.0-693.21.1.el7 libgcc.x86_64 0:4.8.5-16.el7_4.2 

libgomp.x86_64 0:4.8.5-16.el7_4.2 libstdc++.x86_64 0:4.8.5-16.el7_4.2 libteam.x86_64 0:1.25-6.el7_4.3 python-perf.x86_64 0:3.10.0-693.21.1.el7 

selinux-policy.noarch 0:3.13.1-166.el7_4.9 selinux-policy-targeted.noarch 0:3.13.1-166.el7_4.9 systemd.x86_64 0:219-42.el7_4.10 

systemd-libs.x86_64 0:219-42.el7_4.10 systemd-sysv.x86_64 0:219-42.el7_4.10 teamd.x86_64 0:1.25-6.el7_4.3

I will read the information from the sent link about iptables and nat gateway.  Yes the focus is security in and out of the instance.


I will do as suggested and update this ticket shortly.


Ed

This worked this morning on an Instance created in December 2017 the one I created on March 13, 2018 it is not working.  Will update 🤘

https://youtu.be/J8H2leO-0nk


Hi Ed,

Your kernel netfilter is supporting sip and so on?

Zwageman,


I am going to have to check into this and update this ticket.

Thanks,

Ed



Hi Ed,

I never used the kernel of a distro, always compile myself, then you know whats inside the motor :-)


Please log in or register to answer this question.

Welcome!
Ask your questions and receive answers from other members of the Zoiper Community.

Did you check our Help Section?

You are a Zoiper Biz or Premium customer? If so, click HERE to get premium support.
2,438 questions
1,541 answers
2,314 comments
134,143 users