[OpenSIPS-Users] 180 seconds RTP timeout

Eduardo Lejarreta lejarreta.e at sarenet.es
Fri Nov 9 14:00:24 CET 2012


Good morning

 

In reference to
http://lists.opensips.org/pipermail/users/2012-May/021623.html

 

Kernel + Iptables + netfilter + conntrack . versions up to date and
supported. Over CentOS.

 

We've tried this scenario, no RTP flow between both legs.  -> Once the call
is established.

 

iptables -A FORWARD -s <gw-ip>/32 -p udp -j REJECT --reject-with
icmp-host-prohibited

iptables -A FORWARD -d <gw-ip>/32 -p udp -j REJECT --reject-with
icmp-host-prohibited

iptables -A FORWARD -s <UA-ip>/32 -p udp -j REJECT --reject-with
icmp-host-prohibited

iptables -A FORWARD -d <UA-ip>/32 -p udp -j REJECT --reject-with
icmp-host-prohibited

 

(Yes I know that this closes SIP dialog also but for investigating purposes
is enough. Ngrep and tail over the log running in paralell)

 

Other timers like on_hold_timeout and stream_timeout are working fine.

 

We suspect that the problem is in mediacontrol.py and maybe other libraries
where the path for the 180 second is:

 

/proc/sys/net/ipv4/netfilter/ip_conntrack_udp_timeout_stream

 

When the real var. is:

 

/proc/sys/net/netfilter/nf_conntrack_udp_timeout_stream

 

I've tried to rebuild mediacontrol.py with the correct path but it's still
failing. Any idea?

 

Thanks.

-- 

Eduardo Lejarreta

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20121109/4d032118/attachment.htm>


More information about the Users mailing list