Take a loot at the nathelper_rtp.cfg file under the modules/nathelper
directory. It contains the basics of what you need.
The funcionality is basically determined by these lines:
if (method=="INVITE") {
record_route();
if (isflagset(1)) { # ATA ?
force_rtp_proxy();
};
/* set up reply processing */
t_on_reply("1");
};
.
.
.
onreply_route[1] {
if (status=~"1[0-9][0-9]" && search("Server: Cisco
ATA.*"))
fix_nated_contact();
force_rtp_proxy();
}
----- Original Message -----
From: "Darren Sessions" <dsessions(a)ionosphere.net>
To: "TeleSIP" <ricvil(a)telesip.net>
Cc: <serusers(a)lists.iptel.org>
Sent: Wednesday, December 03, 2003 12:20 PM
Subject: RE: [Serusers] NatHelper & Portaone RTP Proxy
Hmmm.. You wouldn't by chance have a
"scrubbed" version of your
configuration file I could look at would you? It would be most helpful.
Thanks for everything,
- Darren
-----Original Message-----
From: TeleSIP [mailto:ricvil@telesip.net]
Sent: Wednesday, December 03, 2003 12:18 PM
To: Darren Sessions
Cc: serusers(a)lists.iptel.org
Subject: Re: [Serusers] NatHelper & Portaone RTP Proxy
We have nathelper/rtpproxy/SER all on the same server. The ser.cfg must
be
configured to invoke the nathelper/rtproxy functions
as needed.
I cannot comment on SEMS since we don't use it.
----- Original Message -----
From: "Darren Sessions" <dsessions(a)ionosphere.net>
To: "TeleSIP" <ricvil(a)telesip.net>
Cc: <serusers(a)lists.iptel.org>
Sent: Wednesday, December 03, 2003 12:11 PM
Subject: RE: [Serusers] NatHelper & Portaone RTP Proxy
My next questions is then, what configuration
changes do I make to the
nathelper server to make it forward requests made from the endpoints to
the
> primary ser box? and how does voicemail come into play (using sems)?
Does
the nathelper
server "know" about all the servers or simply does the
signaling traffic and rtp traffic get routed through the nathelper box?
Thanks a ton for all the help!
- Darren
-----Original Message-----
From: TeleSIP [mailto:ricvil@telesip.net]
Sent: Wednesday, December 03, 2003 10:46 AM
To: Darren Sessions
Cc: serusers(a)lists.iptel.org
Subject: Re: [Serusers] NatHelper & Portaone RTP Proxy
It works great on RedHat. We have it running now for about 4 months on
our
> production servers and it has never crashed
>
> ----- Original Message -----
> From: "Darren Sessions" <dsessions(a)ionosphere.net>
> To: "TeleSIP" <ricvil(a)telesip.net>
> Cc: <serusers(a)lists.iptel.org>
> Sent: Wednesday, December 03, 2003 10:16 AM
> Subject: RE: [Serusers] NatHelper & Portaone RTP Proxy
>
>
> > I'm starting over on a Redhat Linux box right now.
> >
> > I'll let you know how it goes..
> >
> >
> > -----Original Message-----
> > From: TeleSIP [mailto:ricvil@telesip.net]
> > Sent: Wednesday, December 03, 2003 10:15 AM
> > To: Darren Sessions
> > Cc: serusers(a)lists.iptel.org
> > Subject: Re: [Serusers] NatHelper & Portaone RTP Proxy
> >
> >
> > Darren,
> >
> > 3 months ago I tried to get this to work on Solaris 8. Maxim also put
> some
> > time into it but I was never able to get it to compile. If you have
> better
> > luck please let us all know.
> >
> > Thanks,
> > Andres.
> >
> > ----- Original Message -----
> > From: "Darren Sessions" <dsessions(a)ionosphere.net>
> > To: "Andrei Pelinescu-Onciul"
<pelinescu-onciul(a)fokus.fraunhofer.de>
> > Cc: <serusers(a)lists.iptel.org>
> > Sent: Wednesday, December 03, 2003 9:40 AM
> > Subject: RE: [Serusers] NatHelper & Portaone RTP Proxy
> >
> >
> > > I am having problems compiling rtpproxy on a Sun Netra 1400t with
> Solaris
> > 9.
> > >
> > > root:/export/home/rtpproxy # make all
> > > cc -o main.o -c main.c
> > > In file included from main.c:45:
> > > myqueue.h:40:23: sys/cdefs.h: No such file or directory
> > > main.c:51:17: err.h: No such file or directory
> > > main.c: In function `main':
> > > main.c:486: structure has no member named `sun_len'
> > > make: *** [main.o] Error 1
> > >
> > > I am new to this stuff, so everyone will have to bear with me.
> > >
> > > I can't seem to find cdefs.h or err.h. I did however throw the
> > Makefile.gnu
> > > up as Makefile and uncommented the section labeled "for
Solaris".
> > >
> > > Any help would be appreciated! :)
> > >
> > > Thanks,
> > >
> > > - Darren
> > >
> > > -----Original Message-----
> > > From: Andrei Pelinescu-Onciul
> > > [mailto:pelinescu-onciul@fokus.fraunhofer.de]
> > > Sent: Tuesday, December 02, 2003 5:36 PM
> > > To: Darren Sessions
> > > Cc: serusers(a)lists.iptel.org
> > > Subject: Re: [Serusers] NatHelper & Portaone RTP Proxy
> > >
> > >
> > > On Dec 02, 2003 at 17:10, Darren Sessions
<dsessions(a)ionosphere.net>
> > wrote:
> > > > Someone correct me if I'm wrong, but is the typical setup for
> Nathelper
> > > and
> > > > Portaone RTP proxy work on seperate servers with dual network
cards?
> >
> > No. nathelper use unix sockets to communicate with rtprpoxy so they
must
> > be located on the same box (ser runing
nathelper and rtproxy).
> >
> > Also it is better to run/configure them on only one interface (to
avoid
> > > packets with different source address than the destination of the
> intial
> > > packet going back to the nat).
> > >
> > > >then
> > > > talking to another SER box doing registrations and call routing?
and
the
> > > Portaone RTP taking the voice packets?
> >
> >
> > Andrei
> >
> > _______________________________________________
> > Serusers mailing list
> > serusers(a)lists.iptel.org
> >
http://lists.iptel.org/mailman/listinfo/serusers
> >
> >
>