<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
<tt> 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>
( UA 1 (10.10.10.6)&nbsp; UA 2 (10.10.10.8)&nbsp; SER/MediaProxy Server
(10.10.10.3)<br>
<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; -----------------------------------------------<br>
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Internal Lan<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; -----------------------------------------------
<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; [ router ]<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Public IP on port 5060 passed thru to 10.10.10.3<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
server via PAT on the Cisco router. (ie public_ip:5060=10.10.10.3:5060
where 10.10.10.3=ser/mediaproxy server address)<br>
<br>
UA's on internal LAN (10.10.10.x) can connect with Ser and make calls
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
luck<br>
<br>
Came across a similar type problem in a post with a response from
Greger suggesting a patch to 'mediaproxy.py' and 'rtphandler.py'
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
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
stage/hurdle.<br>
<br>
many thanks<br>
regards<br>
<br>
Hemant<br>
<br>
</tt>
</body>
</html>