<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD><TITLE></TITLE>
<META http-equiv=Content-Type content=text/html;charset=ISO-8859-1>
<META content="MSHTML 6.00.2900.2722" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY text=#000000 bgColor=#ffffff>
<DIV>You will be better off using a public IP for mediaproxy and ser or a fully
mapped IP (static IP) instead of port mapping (and then use my --vip patch).
Mediaproxy uses a large range of high UDP ports that need to be accessible from
the UAs.</DIV>
<DIV>g-)</DIV>
<DIV>---- Original Message ----<BR>From: Hemant Patel (IP)<BR>To:
serusers@lists.iptel.org<BR>Sent: Monday, September 05, 2005 12:51 PM<BR>Subject:
[Serusers] Ser + Mediaproxy Issues<BR><BR>> Hello List ,<BR>> <BR>> Am
working my way through the OnSIP getting started examples (4.0a)<BR>> My
testbed and network setup is similar to the OnSip example :<BR>>
<BR>>
10.10.10.6
10.10.10.8
<BR>> 10.10.10.3 <BR>> <BR>>
+-----------+ +-----------+
+-----------------+<BR>> | NATed UAs
| | NAted UAs | |SER / MediaProxy
|<BR>> +-----------+
+-----------+
+------------------<BR>>
|
|
| 5060 listened<BR>>
|
|
|<BR>>
|
|
|
<BR>> __________________________________________________ <BR>>>
__________________LAN (10.10.10.x)_______________|<BR>>
<BR>>
| PAT on Cisco 5060<BR>> passed through to 10.10.10.3:5060
<BR>>
___|____<BR>>
|router
|<BR>>
|______
|<BR>>
|<BR>> <BR>> +-----------+
(--------)<BR>> | NATed UA
|-----(Internet)<BR>> +-----------+
(--------)<BR>> <BR>> <BR>> SER and Two UA's (SJphone) behind a Router
with FW.<BR>> SER and MediaProxy running on the same box (same internal
LAN)<BR>> <BR>> Public IP address and Port (5060) passed through to
Ser/Mediaproxy<BR>> server via PAT on the Cisco router. (ie<BR>>
public_ip:5060=10.10.10.x:5060 where 10.10.10.x=ser/mediaproxy server<BR>>
address) <BR>> <BR>> UA's on internal LAN (10.10.10.x) can
connect with Ser and make calls<BR>> OK. <BR>> <BR>> UA from outside
the LAN cannot register with SER.<BR>> <BR>> I've looked through most of
the posts in July/August '05 but without<BR>> luck <BR>> <BR>> Came
across a similar type problem in a post with a response from<BR>> Greger
suggesting a patch to 'mediaproxy.py' and 'rtphandler.py'<BR>> introducing a
--vip option in mediaproxy.py <BR>> I've tried this but without
success. Maybe my patch is incorrect.<BR>> I've also tried to follow Greger's
advice for ser.cfg by announcing ;<BR>>
record_route_preset("public_ip")<BR>> alias=public_ip<BR>> <BR>> This
didn't seem to work. I've probably got something fundamentally<BR>> wrong
somewhere either in my patches or ser.cfg (?!) <BR>> I'd be most grateful for
any and all assistance to get me over this<BR>> stage/hurdle. <BR>>
<BR>> many thanks<BR>> regards</DIV></BODY></HTML>