[Serusers] rtp proxy

Sebastian Kühner skuehner at veraza.com
Wed Jul 20 16:14:53 CEST 2005


Hi!

Yes, I started rtpproxy with "rtpproxy" in the command line. (it's in
/usr/local/bin)

Sorry, I should have sent you the ser config:

# ------------- nat helper parameters
#We will you flag 6 to mark NATed contacts
modparam("registrar", "nat_flag", 6)

# Enable NAT pinging
modparam("nathelper", "natping_interval", 60)

# Ping only contacts that are known to be
# behind NAT
modparam("nathelper", "ping_nated_only", 1)

... and at the beginning of the routing:


# special handling for NATed clients; first, nat test is
# executed: it looks for via!=received and RFC1918 addresses
# in Contact (may fail if line-folding used); also,
# the received test should, if complete, should check all
# vias for presence of received
if (nat_uac_test("3")) {
    # allow RR-ed requests, as these may indicate that
    # a NAT-enabled proxy takes care of it; unless it is
    # a REGISTER
    if (method == "REGISTER" || ! search("^Record-Route:")) {
        log("LOG: Someone trying to register from private IP, rewriting\n");
        # This will work only for user agents that support symmetric
        # communication. We tested quite many of them and majority is
        # smart smart enough to be symmetric. In some phones, like
        # it takes a configuration option. With Cisco 7960, it is
        # called NAT_Enable=Yes, with kphone it is called
        # "symmetric media" and "symmetric signaling". (The latter
        # not part of public released yet.)
        fix_nated_contact(); # Rewrite contact with source IP of signalling
        if (method == "INVITE") {
            fix_nated_sdp("1"); # Add direction=active to SDP
        };
         force_rport(); # Add rport parameter to topmost Via
      setflag(6); # Mark as NATed
    };
};

... and at the "end":


if (isflagset(6)) {
    force_rtp_proxy();
    t_on_reply("1");
    append_hf("P-Behind-NAT: Yes\r\n");
};

if (!t_relay()) {
    sl_reply_error();
    break;
};

onreply_route[1] {
    if (status =~ "(183)|2[0-9][0-9]") {
        fix_nated_contact();
        force_rtp_proxy();
    };
}

Thanks for your help!

Sebastian




----- Original Message ----- 
From: "harry gaillac" <gaillacharry at yahoo.fr>
To: "Sebastian Kühner" <skuehner at veraza.com>
Sent: Wednesday, July 20, 2005 11:06 AM
Subject: Re: [Serusers] rtp proxy


> which params do you set in ser.cfg for nathelper
> do you start rtpproxy?
>
> harry
> --- Sebastian Kühner <skuehner at veraza.com> a écrit :
>
> > Hi!
> >
> > Sorry, but I didn't find anything about "compiling"
> > and "nathelper". Where
> > can I find that? I looked at the iptel webpage and
> > in the README of the
> > module.
> >
> > Has anyone experiences with nathelper, ser-0.9.0 and
> > rtpproxy? I get the
> > same error messages...
> >
> > ERROR: send_rtpp_command: can't connect to RTP proxy
> > WARNING: rtpp_test: can't get version of the RTP
> > proxy
> >
> > I compiled it like this:
> > ./configure
> > make
> > make install
> >
> > Thanks!
> >
> > Sebastian
> >
> >
> >
> >
> >
> > ----- Original Message ----- 
> > From: "harry gaillac" <gaillacharry at yahoo.fr>
> > To: "Sebastian Kühner" <skuehner at veraza.com>
> > Sent: Wednesday, July 20, 2005 10:45 AM
> > Subject: Re: [Serusers] rtp proxy
> >
> >
> > > look at
> > http://developer.berlios.de/cvs/?group_id=480
> > >
> > > cvs
> > >
> > -d:pserver:anonymous at cvs.ser.berlios.de:/cvsroot/ser
> > > login
> > > cvs -z3
> > >
> > -d:pserver:anonymous at cvs.ser.berlios.de:/cvsroot/ser
> > > co rtpproxy
> > >
> > > Read nathelper module and rtpproxy code before
> > > compiling !
> > >
> > > You won't find good docs -:(
> > >
> > > Harry
> > >
> > > --- Sebastian Kühner <skuehner at veraza.com> a écrit
> > :
> > >
> > > > Thanks for your answer!
> > > >
> > > > How can I download them? Do I have to click to
> > all
> > > > that files now to
> > > > download?
> > > >
> > > >
> > > > ----- Original Message ----- 
> > > > From: "harry gaillac" <gaillacharry at yahoo.fr>
> > > > To: "Sebastian Kühner" <skuehner at veraza.com>
> > > > Sent: Wednesday, July 20, 2005 10:21 AM
> > > > Subject: RE: [Serusers] rtp proxy
> > > >
> > > >
> > > > > hello,
> > > > >
> > > > > Look here for the latest rtpproxy :
> > > > >
> > > >
> > >
> >
> http://cvs.berlios.de/cgi-bin/viewcvs.cgi/ser/rtpproxy/
> > > > >
> > > > > Check config for nathelper module
> > > > >
> > > > > harry
> > > > > --- Sebastian Kühner <skuehner at veraza.com> a
> > écrit
> > > > :
> > > > >
> > > > > > Hi all,
> > > > > >
> > > > > > I want to implement a rtpproxy, but after
> > > > > > installation and implementation in
> > > > > > ser I get the follwing error messages:
> > > > > >
> > > > > > ERROR: send_rtpp_command: can't connect to
> > RTP
> > > > proxy
> > > > > > 18(5422) WARNING: rtpp_test: can't get
> > version
> > > > of
> > > > > > the RTP proxy
> > > > > > 18(5422) WARNING: rtpp_test: support for RTP
> > > > > > proxyhas been disabled
> > > > > > temporarily
> > > > > > 19(5423) ERROR: send_rtpp_command: can't
> > connect
> > > > to
> > > > > > RTP proxy
> > > > > > 19(5423) WARNING: rtpp_test: can't get
> > version
> > > > of
> > > > > > the RTP proxy
> > > > > > 19(5423) WARNING: rtpp_test: support for RTP
> > > > > > proxyhas been disabled
> > > > > > temporarily
> > > > > >  0(5378) ERROR: send_rtpp_command: can't
> > connect
> > > > to
> > > > > > RTP proxy
> > > > > >  0(5378) WARNING: rtpp_test: can't get
> > version
> > > > of
> > > > > > the RTP proxy
> > > > > >  0(5378) WARNING: rtpp_test: support for RTP
> > > > > > proxyhas been disabled
> > > > > > temporarily
> > > > > >
> > > > > > Where can I get the newest rtpproxy (for ser
> > > > 0.9.0)?
> > > > > > I wanted to enter at
> > > > > > the ftp-site of iptel, but I think it's
> > down.
> > > > > >
> > > > > > Thanks!
> > > > > >
> > > > > > Sebastian
> > > > > >
> > > > > >
> > > > > >
> > _______________________________________________
> > > > > > Serusers mailing list
> > > > > > serusers at lists.iptel.org
> > > > > >
> > http://lists.iptel.org/mailman/listinfo/serusers
> > > > > >
> > > > >
> > > > >
> > > > >
> > > > >
> > > > >
> > > > >
> > > > >
> > > > >
> > > >
> > >
> >
>
___________________________________________________________________________
> > > > > Appel audio GRATUIT partout dans le monde avec
> > le
> > > > nouveau Yahoo! Messenger
> > > > > Téléchargez cette version sur
> > > > http://fr.messenger.yahoo.com
> > > > >
> > > > >
> > > >
> > > >
> > > > _______________________________________________
> > > > Serusers mailing list
> > > > serusers at lists.iptel.org
> > > > http://lists.iptel.org/mailman/listinfo/serusers
> > > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> >
>
___________________________________________________________________________
> > > Appel audio GRATUIT partout dans le monde avec le
> > nouveau Yahoo! Messenger
> > > Téléchargez cette version sur
> > http://fr.messenger.yahoo.com
> > >
> > >
> >
> >
> > _______________________________________________
> > Serusers mailing list
> > serusers at lists.iptel.org
> > http://lists.iptel.org/mailman/listinfo/serusers
> >
>
>
>
>
>
>
>
>
___________________________________________________________________________
> Appel audio GRATUIT partout dans le monde avec le nouveau Yahoo! Messenger
> Téléchargez cette version sur http://fr.messenger.yahoo.com
>
>





More information about the sr-users mailing list