<br>Is&nbsp;your application symmetric?<br><br><div><span class="gmail_quote">On 9/20/06, <b class="gmail_sendername">Andrey Kuprianov</b> &lt;<a href="mailto:andrey.kouprianov@gmail.com">andrey.kouprianov@gmail.com</a>&gt; wrote:
</span><blockquote class="gmail_quote" style="margin-top: 0; margin-right: 0; margin-bottom: 0; margin-left: 0; margin-left: 0.80ex; border-left-color: #cccccc; border-left-width: 1px; border-left-style: solid; padding-left: 1ex">
&nbsp;&nbsp; Hi,<br><br>Im facing this problem for a few days already. Hope someone might have<br>an idea or two. It's a long email too, btw.<br><br>Im testing my app behind NAT's with SER-0.9.6 + mediaproxy + Asterisk<br>(conf server). While X-Lite works *fine* and I get 2 way audio always,
<br>my app seems to have some kind of weird bug and I end up with 1 way<br>audio stream.<br><br>Here's the thing. Application starts receiver and transmitter on<br>completely different ports. Here's SDP for remote and local machines
<br>(public IP's been x'ed by myself, of course):<br><br>This one's sent in INVITE message to SER ==&gt;<br>69563 DEBUG media.MediaManager - Local SDP: (this one's from local machine)<br>v=0<br>o=xps 1158739216750 1158739216757 IN IP4 
<a href="http://192.168.1.3">192.168.1.3</a><br>s=MC<br>c=IN IP4 <a href="http://192.168.1.3">192.168.1.3</a><br>t=0 0<br>m=audio 25000 RTP/AVP 0 8<br>a=rtpmap:0 PCMU/8000<br>a=rtpmap:8 PCMA/8000<br>a=sendrecv<br><br>This one's sent with 200 OK from SER ==&gt;
<br>69563 DEBUG media.MediaManager - Remote SDP:<br>v=0<br>o=root 2500 2500 IN IP4 203.159.x.x<br>s=session<br>c=IN IP4 203.159.x.x<br>t=0 0<br>m=audio 30004 RTP/AVP 0 8<br>a=rtpmap:0 PCMU/8000<br>a=rtpmap:8 PCMA/8000<br>
a=silenceSupp:off - - - -<br><br>The further log shows that transmitters and receivers have started on<br>the proper IP/port ==&gt;<br><br>69594 DEBUG media.AVReceiver -&nbsp;&nbsp;Start listening for RTP @ addr:<br><a href="http://192.168.1.3">
192.168.1.3</a> port: 25000 ttl: 1<br>69657 DEBUG media.AVTransmitter - Created transmitter for:<br>[203.159.x.x] at ports: [30004] encoded as: [[ULAW/rtp, alaw]]<br>69657 DEBUG media.MediaManager - Starting transmission<br>
69672 DEBUG media.AVTransmitter - Track 0 is set to transmit as:<br>ULAW/rtp, 8000.0 Hz, 8-bit, Mono, FrameSize=8 bits<br>69860 INFO media.AVTransmitter - Binded to port 30004<br>69875 DEBUG media.AVTransmitter - Started transmitting track 0 encoded
<br>as ULAW/rtp @ [203.159.x.x]:30004<br><br>Nevertheless, the Ethereal capture shows that mediaproxy sends the<br>stream NOT to port 25000 (local port), but to port 30004 (remote<br>port)!! Why? This is not the case with X-Lite, however. Xlite captures
<br>show that streams are sent to proper ports always. Btw, Im attaching<br>SIP+RTP Ethereal captures with this mail. Please, take a look.<br><br>I also want to mention, that this doesnt happen with my app. for all<br>the NATed nets. In some nets it works fine, but not in this one. Just
<br>weird.<br><br>Please, let me know if anyone has ideas or hints regarding this nonsence :)<br><br>&nbsp;&nbsp; Bests,<br><br>&nbsp;&nbsp;&nbsp;&nbsp;Andrey.<br><br><br>_______________________________________________<br>Serusers mailing list<br><a href="mailto:Serusers@lists.iptel.org">
Serusers@lists.iptel.org</a><br><a href="http://lists.iptel.org/mailman/listinfo/serusers">http://lists.iptel.org/mailman/listinfo/serusers</a><br><br><br><br></blockquote></div><br>