Ok, I am trying to use rtpproxy and nathelper, but it appears that the source IP going to our gateway, is from the phone, and not the proxy. Here is the config I am testing with.
loadmodule "/usr/lib/ser/modules/tm.so" loadmodule "/usr/lib/ser/modules/sl.so" loadmodule "/usr/lib/ser/modules/rr.so" loadmodule "/usr/lib/ser/modules/nathelper.so" route { rewritehost("192.168.161.61");
if (method=="INVITE") { record_route(); force_rtp_proxy(); /* set up reply processing */ t_on_reply("1"); };
if (!t_relay()) { sl_reply_error(); break; }; }
# all incoming replies for t_onrepli-ed transactions enter here onreply_route[1] { if (status=~"[12][0-9][0-9]") force_rtp_proxy(); }
B. J.
-----Original Message----- From: Arnd Vehling [mailto:av@nethead.de] Sent: Sunday, February 15, 2004 12:55 To: B. J. Bomar Cc: serusers@lists.iptel.org Subject: Re: [Serusers] Another newbie question
B. J. Bomar wrote:
Hello all. How does one set up SER to actually proxy a call, and not just have the two end points communicate. I am trying to secure a POTS gateway with a SER proxy. Any help would be appreciated.
You need to setup "ser" with "rtpproxy". Get the 8.1.12 stable from CVS. It contains some example configs how to set this up.
-- Arnd