[OpenSER-Users] Problem with Mediaproxy

Dan-Cristian Bogos dan.bogos at gmail.com
Fri Dec 7 13:22:19 CET 2007


Hi Daniel,

Can u post your openser configuration as well as a complete ngrep
trace for the calls you have problems with?

DanB

On Dec 7, 2007 11:37 AM, Daniel <d.grotti at gmail.com> wrote:
> Dear all,
> I'm testing my proxy and I'm using mediaproxy for natted client.
> Everything works fine, if there is a client behind nat calling a public
> user, mediaproxy works fine. This is true also if there is a public client
> calling a natted user.
>
> I have some problem when there are 2 client behind NAT.
>
> 1. I tryed to test the system with 1 client behind NAT and 1 client behind
> the SAME NAT (both of client under the same subnet:192.168.10.x).
>      In this case Mediaproxy doesn't work. RTP in direct between clients.
>
> 2. I tryed to test the system with 1 client behind NAT and 1 client behind
> the SAME NAT (with clients under different subnet:192.168.10.x and
> 192.168.0.x).
>       In this case Mediaproxy doesn't work. RTP in direct between clients.
>
> This is Mediaproxy Debug in the last case:
>
> **********************************************
>  Dec  7 10:37:36 SERVER mediaproxy[2116]: request
> ZDhiMWM2NDhmNzQ1ODNjYThkZjIxZGNiMmEzZmQxMjI. 192.168.0.167:58786:audio
> NAT_IP PROXY_IP remote NAT_IP remote
> X-Lite=20release=201011s=20stamp=2041150 info=
> from:userA at PROXY_IP,to:UserB at PROXY_IP,fromtag:c1310701,totag:
> Dec  7 10:37:36 SERVER mediaproxy[2116]: session
> ZDhiMWM2NDhmNzQ1ODNjYThkZjIxZGNiMmEzZmQxMjI.: started. listening on
> MEDIAPROXY_IP:60014
> Dec  7 10:37:36 SERVER mediaproxy[2116]: execution time:  1.56 ms
> Dec  7 10:37:43 SERVER mediaproxy[2116]: lookup
> ZDhiMWM2NDhmNzQ1ODNjYThkZjIxZGNiMmEzZmQxMjI. 192.168.10.224:25732:audio
> NAT_IP PROXY_IP remote unknown unknown
> X-Lite=20release=201011s=20stamp=2041150 info=
> from:UserA at PROXY_IP,to:UserB at PROXYIP,fromtag:c1310701,totag:67246350
> Dec  7 10:37:43 SERVER mediaproxy[2116]: execution time:  0.51 ms
> Dec  7 10:38:00 SERVER mediaproxy[2116]: delete
> ZDhiMWM2NDhmNzQ1ODNjYThkZjIxZGNiMmEzZmQxMjI. info=
> Dec  7 10:38:00 SERVER mediaproxy[2116]: session
> ZDhiMWM2NDhmNzQ1ODNjYThkZjIxZGNiMmEzZmQxMjI.: 0/0/0 packets, 0/0/0 bytes
> (caller/called/relayed)
> Dec  7 10:38:00 SERVER mediaproxy[2116]: session
> ZDhiMWM2NDhmNzQ1ODNjYThkZjIxZGNiMmEzZmQxMjI.: ended.
> Dec  7 10:38:00 SERVER mediaproxy[2116]: execution time:  0.61 ms
> *******************************
>
>
>  I am sure of mediaproxy change SDP parameter even in these last cases (I
> can see on openser debug that proxy send out, for example, a 200 OK with SDP
> part changed. And xlogs DEBUG show me that openser enters in
> "use_media_proxy" routine) .
>
> But when I sniff the packet on client side, I see SDP part with private IP !
>
> Any suggestion?
>
> Regards,
> daniel
>
> --
> Daniel Grotti
> ________________________
> e-mail : d.grotti at gmail.com
> _______________________________________________
> Users mailing list
> Users at lists.openser.org
> http://lists.openser.org/cgi-bin/mailman/listinfo/users
>
>




More information about the Users mailing list