Page 1 of 1

Asterisk - RTP - SIP -Disconnected

PostPosted: Tue Jul 13, 2021 9:34 am
by Zaraab
Why is this happening? -------> Disconnecting call for lack of RTP activity in 61 seconds

If this were to happen for any port(UDP/TCP) issue, then why at first place the SIP phone will be able to register?

---->>>Asterisk 13.29.2 / Latest SVN/ Dahdi 2.7.0.1<<<-------

Re: Asterisk - RTP - SIP -Disconnected

PostPosted: Tue Jul 13, 2021 2:44 pm
by carpenox
Why are you using dahdi 2.7? Try 3.1 and also change your stun server in rtp.conf away from Google

Re: Asterisk - RTP - SIP -Disconnected

PostPosted: Tue Jul 13, 2021 3:17 pm
by GenXOutsourcing
Zaraab wrote:Why is this happening? -------> Disconnecting call for lack of RTP activity in 61 seconds

If this were to happen for any port(UDP/TCP) issue, then why at first place the SIP phone will be able to register?

---->>>Asterisk 13.29.2 / Latest SVN/ Dahdi 2.7.0.1<<<-------


This happens when asterisk does not receive a response from the phone....

Do you have the rtp ports open in firewall?
Did this just start? or is a new install?

You didnt say how you install? what OS?

Re: Asterisk - RTP - SIP -Disconnected

PostPosted: Tue Jul 13, 2021 4:27 pm
by Zaraab
carpenox wrote:Why are you using dahdi 2.7? Try 3.1 and also change your stun server in rtp.conf away from Google



The dahdi version 3 has compilation error in centOS

Re: Asterisk - RTP - SIP -Disconnected

PostPosted: Tue Jul 13, 2021 4:29 pm
by Zaraab
Hey #nox. The dahdi 3.1 has compilation error in centos 7

I have scratch installed and firewall is setup with all ports open and running #Genx
The sip phone is ringing.. Which means the phone is sending response to asterisk right?

Re: Asterisk - RTP - SIP -Disconnected

PostPosted: Tue Jul 13, 2021 4:32 pm
by carpenox
ah yes for cent 7 u need 2.11

Re: Asterisk - RTP - SIP -Disconnected

PostPosted: Tue Jul 13, 2021 4:34 pm
by Zaraab
Yeah... Any idea why this error is coming? #nox

Re: Asterisk - RTP - SIP -Disconnected

PostPosted: Tue Jul 13, 2021 4:36 pm
by GenXOutsourcing
Zaraab wrote:Hey #nox. The dahdi 3.1 has compilation error in centos 7

I have scratch installed and firewall is setup with all ports open and running #Genx
The sip phone is ringing.. Which means the phone is sending response to asterisk right?


Ringing means that Vici can send to the phone............. but the phone needs to respond rtp to stay connected

Re: Asterisk - RTP - SIP -Disconnected

PostPosted: Thu Jul 15, 2021 1:57 am
by Zaraab
GenXOutsourcing wrote:
Zaraab wrote:Hey #nox. The dahdi 3.1 has compilation error in centos 7

I have scratch installed and firewall is setup with all ports open and running #Genx
The sip phone is ringing.. Which means the phone is sending response to asterisk right?


Ringing means that Vici can send to the phone............. but the phone needs to respond rtp to stay connected



For getting the ring, the SIP phone must send signal(id/pass) and verify itself with asterisk and then its able to get the call is not it? So where & how the response is missing as for RTP towards the vici?

Re: Asterisk - RTP - SIP -Disconnected

PostPosted: Thu Jul 15, 2021 6:34 am
by carpenox
Open ports 10000 - 20000 for udp

Re: Asterisk - RTP - SIP -Disconnected

PostPosted: Fri Jul 16, 2021 7:11 am
by dhijrwn
carpenox wrote:Open ports 10000 - 20000 for udp


How to do this? using iptables?

Re: Asterisk - RTP - SIP -Disconnected

PostPosted: Fri Jul 16, 2021 11:27 am
by carpenox
firewall-cmd i believe is in cent 7, i know for sure its in cent 8

Re: Asterisk - RTP - SIP -Disconnected

PostPosted: Sat Jul 17, 2021 11:51 am
by Zaraab
carpenox wrote:Open ports 10000 - 20000 for udp



all are open. It was issue with the vpn i was using.

Re: Asterisk - RTP - SIP -Disconnected

PostPosted: Sat Jul 17, 2021 11:52 am
by Zaraab
dhijrwn wrote:
carpenox wrote:Open ports 10000 - 20000 for udp


How to do this? using iptables?



Avoid using Iptables and use the framework---> Firewalld

Re: Asterisk - RTP - SIP -Disconnected

PostPosted: Sat Jul 17, 2021 12:30 pm
by carpenox
isnt that what i said zaraab? firewall-cmd is firewalld fyi :-p

Re: Asterisk - RTP - SIP -Disconnected

PostPosted: Sun Jul 18, 2021 11:58 am
by Zaraab
carpenox wrote:isnt that what i said zaraab? firewall-cmd is firewalld fyi :-p


absolutely my friend!

Just was guiding him that its firewalld other than iptables!