From: Patrick McHardy <kaber@trash.net>
To: Joerg Dorchain <joerg@dorchain.net>
Cc: netfilter@vger.kernel.org
Subject: Re: nf_conntrack_sip problem
Date: Wed, 01 Jul 2009 17:05:49 +0200 [thread overview]
Message-ID: <4A4B7B4D.5090900@trash.net> (raw)
In-Reply-To: <20090701144321.GB9285@Redstar.dorchain.net>
Joerg Dorchain wrote:
> On Wed, Jul 01, 2009 at 02:03:40PM +0200, Patrick McHardy wrote:
>> Depending on how your SIP provider works, you might need to set the
>> sip_direct_signalling option to zero (in case signalling connections
>> can arrive from different addresses than the one registered with),
>> additionally you might need to set the sip_direct_media option to
>> 0 in case the RTP streams arrive from different addresses than the
>> signalling endpoint.
>
> I tried this. Actually, it makes things worse. Now Asterisk
> complains:
> [Jul 1 16:17:46] WARNING[20516]: chan_sip.c:1787 __sip_xmit:
> sip_xmit of 0x86f8de0 (len 384) to 217.10.79.9:5060 returned -1:
> Operation not permitted
>
> (Trying to register with sipgate.de; registration in parallel
> with tel.lu seems to work)
sipgate needs sip_direct_media=0 since the RTP streams originate from
a seperate cluster.
Did you load the NAT module before the conntrack module?
> nf_conntrack_sip without options on a trial incoming call however gives:
>
> # conntrack -E expect
> 180 proto=17 src=85.93.219.114 dst=212.88.133.153 sport=0 dport=7070
> 180 proto=17 src=85.93.219.114 dst=212.88.133.153 sport=0 dport=7071
Besides the direct_media option, I assume you're accepting EXPECTED
and RELATED packets?
next prev parent reply other threads:[~2009-07-01 15:05 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-07-01 11:37 nf_conntrack_sip problem Joerg Dorchain
2009-07-01 12:03 ` Patrick McHardy
2009-07-01 14:43 ` Joerg Dorchain
2009-07-01 15:05 ` Patrick McHardy [this message]
2009-07-01 16:10 ` Joerg Dorchain
2009-07-01 16:16 ` Patrick McHardy
2009-07-01 20:56 ` Joerg Dorchain
2009-07-02 8:17 ` Joerg Dorchain
2009-07-02 9:04 ` Joerg Dorchain
2009-07-03 9:45 ` Patrick McHardy
2009-07-03 11:20 ` Joerg Dorchain
2009-07-03 9:44 ` Patrick McHardy
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4A4B7B4D.5090900@trash.net \
--to=kaber@trash.net \
--cc=joerg@dorchain.net \
--cc=netfilter@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox