[Serusers] Ser + Mediaproxy Issues

Greger V. Teigre greger at teigre.com
Tue Sep 6 10:34:08 CEST 2005


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.
g-)
---- Original Message ----
From: Hemant Patel (IP)
To: serusers at lists.iptel.org
Sent: Monday, September 05, 2005 12:51 PM
Subject: [Serusers] Ser + Mediaproxy Issues

> Hello List ,
> 
> Am working my way through the OnSIP getting started examples (4.0a)
> My testbed and network setup is similar to the OnSip example :
> 
>          10.10.10.6                  10.10.10.8               
> 10.10.10.3 
> 
>    +-----------+     +-----------+  +-----------------+
>    | NATed UAs |     | NAted UAs |  |SER / MediaProxy |
>    +-----------+     +-----------+  +------------------
>          |                  |              | 5060 listened
>          |                  |              |
>          |                  |              |               
> __________________________________________________ 
>> __________________LAN (10.10.10.x)_______________|
> 
>                                               | PAT on Cisco 5060
> passed through to 10.10.10.3:5060 
>                                         ___|____
>                                         |router    |
>                                         |______ |
>                                               |
> 
>    +-----------+    (--------)
>    | NATed UA |-----(Internet)
>    +-----------+    (--------)
> 
> 
> SER and Two UA's (SJphone) behind a Router with FW.
> SER and MediaProxy running on the same box (same internal LAN)
> 
> 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.x:5060 where 10.10.10.x=ser/mediaproxy server
> address)   
> 
> UA's on internal LAN (10.10.10.x) can connect with Ser and make calls
> OK. 
> 
> UA from outside the LAN cannot register with SER.
> 
> I've looked through most of the posts in July/August '05 but without
> luck 
> 
> 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  
> I've tried this but without success. Maybe my patch is incorrect.
> I've also tried to follow Greger's advice for ser.cfg by announcing ;
> record_route_preset("public_ip")
> alias=public_ip
> 
> This didn't seem to work. I've probably got something fundamentally
> wrong somewhere either in my patches or ser.cfg (?!) 
> I'd be most grateful for any and all assistance to get me over this
> stage/hurdle. 
> 
> many thanks
> regards
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20050906/36270431/attachment.htm>


More information about the sr-users mailing list