>From an ngrep I just did when calling myself, openser NEVER offers the rtp proxy's IP...<br>This is the INVITE back from openser...<br><br><br>U <a href="http://1.2.3.4:5060">1.2.3.4:5060</a> -> <a href="http://9.8.7.6:34856">9.8.7.6:34856</a><br>
INVITE sip:5512344@9.8.7.6:34856;rinstance=62bd304e8bc79a77 SIP/2.0.<br>Record-Route: <sip:<a href="http://1.2.3.4">1.2.3.4</a>;lr=on;ftag=dd265b50;nat=yes>.<br>Via: SIP/2.0/UDP <a href="http://1.2.3.4">1.2.3.4</a>;branch=z9hG4bK01f4.9b50b5e3.0.<br>
Via: SIP/2.0/UDP 192.168.1.2:34856;received=<a href="http://9.8.7.6">9.8.7.6</a>;branch=z9hG4bK-d8754z-bf19eb5a3306cc73-1---d8754z-;rport=34856.<br>Max-Forwards: 69.<br>Contact: <<a href="http://sip:5512344@9.8.7.6:34856">sip:5512344@9.8.7.6:34856</a>>.<br>
To: "5512344"<<a href="mailto:sip%3A5512344@1.2.3.4">sip:5512344@1.2.3.4</a>>.<br>From: "David Villasmil"<<a href="mailto:sip%3A5512344@1.2.3.4">sip:5512344@1.2.3.4</a>>;tag=dd265b50.<br>Call-ID: ZDNmNmYzZTIxNDg0Zjg0MWRiNTUxOTNlMzIwNDk5NTg..<br>
CSeq: 2 INVITE.<br>Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, NOTIFY, MESSAGE, SUBSCRIBE, INFO.<br>Content-Type: application/sdp.<br>User-Agent: eyeBeam release 1014c stamp 46090.<br>Content-Length: 387.<br>P-hint: route(3)|setflag7,forcerport,fix_contact.<br>
P-hint: inbound->inbound .<br>P-hint: Route[6]: mediaproxy .<br>.<br>v=0.<br>o=- 9 2 IN IP4 <a href="http://192.168.1.2">192.168.1.2</a>.<br>s=CounterPath eyeBeam 1.5.<br>c=IN IP4 <a href="http://1.2.3.4">1.2.3.4</a>.<br>
t=0 0.<br>m=audio 35052 RTP/AVP 0 97 98 8 18 101.<br>a=alt:1 1 : 9FvoKhKL rd5+6GWR <a href="http://192.168.1.2">192.168.1.2</a> 42392.<br>a=fmtp:18 annexb=no.<br>a=fmtp:101 0-15.<br>a=rtpmap:97 SPEEX/8000.<br>a=rtpmap:98 iLBC/8000.<br>
a=rtpmap:18 G729/8000.<br>a=rtpmap:101 telephone-event/8000.<br>a=sendrecv.<br>a=x-rtp-session-id:98B58B529501409082C4B9BB1259EF7A.<br><br>althoug on the "P-hint" I added that it should use mediaproxy's IP.<br>
<br><br>I wonder why...<br><br><br><div class="gmail_quote">On Fri, Jun 13, 2008 at 7:34 PM, David Villasmil <<a href="mailto:david.villasmil.work@gmail.com">david.villasmil.work@gmail.com</a>> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
An update, if I call myself from behind nat, I get audio, but its passed directly... :S<br><br>I need it to go through the proxy..<br><br>Still, I see mediaproxy starting to listen for the rtps (I think)..<br><a href="http://1.2.3.4" target="_blank">1.2.3.4</a>=server<br>
<a href="http://9.8.7.6" target="_blank">9.8.7.6</a>=client<br><br>request ZDNmNmYzZTIxNDg0Zjg0MWRiNTUxOTNlMzIwNDk5NTg. 192.168.1.2:42392:audio <a href="http://9.8.7.6" target="_blank">9.8.7.6</a> <a href="http://1.2.3.4" target="_blank">1.2.3.4</a> local <a href="http://9.8.7.6" target="_blank">9.8.7.6</a> remote eyeBeam=20release=201014c=20stamp=2046090 info=<a href="mailto:from%3A5512344@1.2.3.4" target="_blank">from:5512344@1.2.3.4</a>,<a href="mailto:to%3A5512344@1.2.3.4" target="_blank">to:5512344@1.2.3.4</a>,fromtag:dd265b50,totag:<br>
session ZDNmNmYzZTIxNDg0Zjg0MWRiNTUxOTNlMzIwNDk5NTg.: started. listening on <a href="http://1.2.3.4:35052" target="_blank">1.2.3.4:35052</a><br><br>jeez!<div><div></div><div class="Wj3C7c"><br><br><br><div class="gmail_quote">
On Fri, Jun 13, 2008 at 7:29 PM, David Villasmil <<a href="mailto:david.villasmil.work@gmail.com" target="_blank">david.villasmil.work@gmail.com</a>> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">SORRY TO HAVE REPLIED TO YOUR EMAIL!!!<br><br>I hate it when gmail does that!<div>
<br><br>Thanks,<br><br> It rather very easy, I need all calls to go through
the media-proxy. I'm testing behind nat, server is on the internet. If
I make a call from one UAC natted to another UAC natted, it works fine,
rtps go to the proxy. If I call from behind NAT to echo test, I don't
get any audio. rtps go directly to the echo test server's IP, but i
don't get anything back. I'm doing something very wrong, I've modifed
the script like a thousand time, and still...<br><br><br><br></div><div><div></div><div><div class="gmail_quote">On Fri, Jun 13, 2008 at 7:25 PM, David Villasmil <<a href="mailto:david.villasmil.work@gmail.com" target="_blank">david.villasmil.work@gmail.com</a>> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Thanks,<br><br> It rather very easy, I need all calls to go through the media-proxy. I'm testing behind nat, server is on the internet. If I make a call from one UAC natted to another UAC natted, it works fine, rtps go to the proxy. If I call from behind NAT to echo test, I don't get any audio. rtps go directly to the echo test server's IP, but i don't get anything back. I'm doing something very wrong, I've modifed the script like a thousand time, and still...<div>
<div></div><div><br>
<br><div class="gmail_quote">On Fri, Jun 13, 2008 at 7:11 PM, Raúl Alexis Betancor Santana <<a href="mailto:rabs@dimension-virtual.com" target="_blank">rabs@dimension-virtual.com</a>> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
El Viernes, 13 de Junio de 2008 17:47, David Villasmil escribió:<br>
<div>> That was not my intention at all and I'm sorry you got it that way. I did<br>
> take a look at my script and I thought I should do was eliminate all tests<br>
> for nats and simply call use_media_proxy when an INVITE comes in, and an<br>
> on_reply was hit. Also of course end_media_session() n a BYE or a CANCEL...<br>
> But it is still not working, well it instruct my UAC to send rtps directly<br>
> to the echo test ip... and this wasn't working.<br>
><br>
> And because I did not see anything work (I don't have much experience with<br>
> media-proxy) I thought I'd ask here... my bad. ;-)<br>
><br>
> Of course I will keeo looking at this, I don't want anyone to do my job...<br>
> ;-)<br>
><br>
<br>
</div>Ok, so from that point on ... what it's your test scenario, paint it and we<br>
could guide you to the right point.<br>
<br>
We do not have a crystal ball ;-)<br>
<font color="#888888"><br>
--<br>
</font><div><div></div><div>Saludos.<br>
<br>
Raúl Alexis Betancor Santana<br>
Dimensión Virtual S.L.<br>
<br>
_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.openser.org" target="_blank">Users@lists.openser.org</a><br>
<a href="http://lists.openser.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.openser.org/cgi-bin/mailman/listinfo/users</a><br>
</div></div></blockquote></div><br>
</div></div></blockquote></div><br>
</div></div></blockquote></div><br>
</div></div></blockquote></div><br>