[asterisk-users] Update peer IP address

Marie Fischer marie at vtl.ee
Mon Sep 14 14:51:19 CDT 2015


On 14.09.2015, at 21:58, Sebastian Kemper <sebastian_ml at gmx.net> wrote:

> So I got rid of the firewall rule that opened the RTP ports. And then it
> dawned on me that I don't even need to open the 5060 port. The REGISTER
> requests established a UDP connection that the kernel's conntrack module
> was tracking anyway. The only issue was that the REGISTERs occurred only
> every 480s and the UDP connections were removed after 180s already.
> 
> So at first I raised net.netfilter.nf_conntrack_udp_timeout_stream to
> 500. That worked. But I didn't really want to raise the default. So
> instead I added "qualify=yes" to the dtag_inbound peer. Now asterisk is
> sending an OPTIONS request to Telekom every 120s (I raised the frequency
> from 60 to 120 by setting "qualifyfreq=120" under [general]), which
> keeps the connection open.

As far as I understand, raising the UDP session timeout (or lowering the REGISTER timeout, if possible) is actually the better solution. Most Telcos I know don't answer the OPTIONS request anyway and some might object to the traffic overhead.

-- 
marie


More information about the asterisk-users mailing list