Simplest way: set the NAT flag for all users, i.e. instead of using
nat_uac_test and set the flag if it matches, set the flag anyway.
g-)
Giudice, Salvatore wrote:
Can anyone give an example of a ser.cfg that forces
all connections
through mediaproxy?
-----Original Message-----
From: Greger V. Teigre [mailto:greger@teigre.com]
Sent: Wednesday, May 18, 2005 12:52 AM
To: Giudice, Salvatore; bogdan aux; serusers(a)lists.iptel.org
Subject: Re: [Serusers] Mediaproxy in LAN (?)
Have a look at the Getting Started document at
http://onsip.org/
Chapter 1 explains the basics around NATing and the corresponding
functions
to use.
g-)
Giudice, Salvatore wrote:
> I am trying to route a call from a non-routable 10.x.x.x network to a
> phone on the internet using ser 0.9.0 and mediaproxy 1.31. Aka: PSTN
> to SIP from my asterisk to an x-lite
>
> I found some references indicating that I should call:
>
>
> if ( src_ip = IP_GATEWAY)
> {
> force_rport();
> fix_contact();
> use_media_proxy();
> };
>
> Supposedly, you need the force_rport and the fix_contact to put media
> proxy in the middle of the two rtp sessions, but I have et to see
> this actually work. Has anyone been able to pass a call through
> media proxy from a GW on a non-routable to a routable network, or
> even between two ip's on the same network as the mediaproxy?
>
> If so, please share your configs.
>
> -----Original Message-----
> From: bogdan aux [mailto:aux1d@yahoo.com]
> Sent: Friday, May 13, 2005 6:16 AM
> To: serusers(a)lists.iptel.org
> Subject: [Serusers] Mediaproxy in LAN (?)
>
> I want to route RTP packets between 2 computers in the
> same network through Mediaproxy. I know this may have
> no sense, but it's just a test configuration.
> The call use_media_proxy() seems to have no effect,
> the RTP packets go directly from one computer to
> another.
> My guess is mediaproxy makes a test on the IPs (they
> are 192.168.147.2 and 192.168.147.3) and refuses to
> proxy the call.
> Is mediaproxy working just between different networks
> or it's an error in my configuration file?
>
>
>
>
> Yahoo! Mail
> Stay connected, organized, and protected. Take the tour:
>
http://tour.mail.yahoo.com/mailtour.html
>
> _______________________________________________
> Serusers mailing list
> serusers(a)lists.iptel.org
>
http://lists.iptel.org/mailman/listinfo/serusers
>
> _______________________________________________
> Serusers mailing list
> serusers(a)lists.iptel.org
>
http://lists.iptel.org/mailman/listinfo/serusers