<br><font size=2 face="sans-serif">Hi Ruud, Hi Adrian,</font>
<br>
<br><font size=2 face="sans-serif">Thanks a lot for the quick feedback
;-).</font>
<br>
<br><font size=2 face="sans-serif">About using private IP addresses: i
did not know there might be some limitations here, but i do not see why
it should be an issue unless some specific code prevents from using such
addresses. Of course, i'm aware that usually (but not only) media proxy
is used along with NAT / NAT traversal, which always implies hiding private
addresses. </font>
<br>
<br><font size=2 face="sans-serif">From Adrian's email i understand that
media proxy is only dedicated to NAT traversal and cannot be used as a
&quot;pure&quot; media proxy (one might want to force RTP proxy on one
box without NAT and with private IP addresses). According to me, NAT detection
was performed by opensips only (nat traversal and nathelper modules) but
if you tell me that media proxy also holds internal mechanisms for NAT
detection, that's ok.</font>
<br>
<br><font size=2 face="sans-serif">Just for information, so far, all previous
tests with forced media proxy, without NAT and using private IPs, are all
OK, even with parallel call forking from TDM to SIP.</font>
<br>
<br><font size=2 face="sans-serif">=&gt; can you confirm that media proxy
can not be used as a 'forced&quot; media proxy, without NAT ?</font>
<br><font size=2 face="sans-serif">=&gt; If no, will it work if i use only
public addresses with media proxy, avoiding its NAT detection mechanism
?</font>
<br>
<br><font size=2 face="sans-serif">According to the answer given to the
above 2 questions, I will try to upgrade my platform accordingly and will
come back to you with the results. Meanwhile, please find hereafter some
answers for Ruud's email...</font>
<br>
<br><font size=2 face="sans-serif">The objectives on my side are to place
a call from a sip user to 2 TDM users by parallel-forking this call to
2 different media gateways (please check the context details i put in the
first email).</font>
<br>
<br><font size=2 face="sans-serif">So, sip user is calling </font><font size=2><tt>8003@192.168.2.233
</tt></font><font size=2 face="sans-serif">which is registered in 2 locations
in opensips. Opensips forks the call to both gateways and it rings on both
TDM phones.</font>
<br>
<br><font size=2 face="sans-serif">When i pick up with one gateway (the
working one), it always works: i mean opensips receives a 200OK/SDP from
the gateway and sends a CANCEL to the other one, and then media is established.</font>
<br><font size=2 face="sans-serif">When i pick up with the other gateway,
it nevers work: i mean opensips receives a 200OK/SDP from the gateway and
sends a CANCEL to the other one, and then media is NOT established because
IP addresses used by media proxy are wrong (check my previous email or
provided mediaproxy logs).</font>
<br>
<br><font size=2 face="sans-serif">I think there is some wrong information
update between opensips and media proxy at some point, either with the
183/SDP messages or 200OK, because the IP @ of one gateway is taken as
RTP IP to reach the other gateway.</font>
<br>
<br><font size=2 face="sans-serif">Please find the media proxy logs below
and let me know if you need anything else.</font>
<br>
<br><font size=2 face="sans-serif">Thanks a lot again,</font>
<br>
<br><font size=2 face="sans-serif">Regards,</font>
<br>
<br><font size=2 face="sans-serif">Erwan.</font>
<br>
<br><font size=2 face="sans-serif">PS : i can provide network traces if
required.</font>
<br><font size=2 face="sans-serif"><br>
MEDIAPROXY RELAY</font>
<br><font size=2 face="sans-serif">===================</font>
<br>
<br><font size=2 face="sans-serif">PICK-UP user behind with MGW 10.0.0.2
(working)</font>
<br><font size=2 face="sans-serif">==========================================</font>
<br>
<br><font size=2 face="sans-serif">debug: Received new SDP offer</font>
<br><font size=2 face="sans-serif">mediaproxy.mediacontrol.StreamListenerProtocol
starting on 50072</font>
<br><font size=2 face="sans-serif">mediaproxy.mediacontrol.StreamListenerProtocol
starting on 50073</font>
<br><font size=2 face="sans-serif">mediaproxy.mediacontrol.StreamListenerProtocol
starting on 50074</font>
<br><font size=2 face="sans-serif">mediaproxy.mediacontrol.StreamListenerProtocol
starting on 50075</font>
<br><font size=2 face="sans-serif">debug: Added new stream: (audio) 192.168.2.223:5298
(RTP: Unknown, RTCP: Unknown) &lt;-&gt; 192.168.2.233:50072 &lt;-&gt; 192.168.2.233:50074
&lt;-&gt; Unknown (RTP: Unknown, RTCP: Unknown)</font>
<br><font size=2 face="sans-serif">mediaproxy.mediacontrol.StreamListenerProtocol
starting on 50076</font>
<br><font size=2 face="sans-serif">mediaproxy.mediacontrol.StreamListenerProtocol
starting on 50077</font>
<br><font size=2 face="sans-serif">mediaproxy.mediacontrol.StreamListenerProtocol
starting on 50078</font>
<br><font size=2 face="sans-serif">mediaproxy.mediacontrol.StreamListenerProtocol
starting on 50079</font>
<br><font size=2 face="sans-serif">debug: Added new stream: (video) 192.168.2.223:5300
(RTP: Unknown, RTCP: Unknown) &lt;-&gt; 192.168.2.233:50076 &lt;-&gt; 192.168.2.233:50078
&lt;-&gt; Unknown (RTP: Unknown, RTCP: Unknown)</font>
<br><font size=2 face="sans-serif">debug: created new session 446F218E0033B4E7F005BA55E58915F2@cust1.sipetrali.fr:
c1p1@cust1.sipetrali.fr (7ED810FBDF34536891ED7A7C7B958FA9) --&gt; 8003@192.168.2.233</font>
<br><font size=2 face="sans-serif">debug: Got traffic information for stream:
(audio) 192.168.2.223:5298 (RTP: Unknown, RTCP: Unknown) &lt;-&gt; 192.168.2.233:50072
&lt;-&gt; 192.168.2.233:50074 &lt;-&gt; Unknown (RTP: 10.0.0.2:19098, RTCP:
Unknown)</font>
<br><font size=2 face="sans-serif">debug: updating existing session 446F218E0033B4E7F005BA55E58915F2@cust1.sipetrali.fr:
c1p1@cust1.sipetrali.fr (7ED810FBDF34536891ED7A7C7B958FA9) --&gt; 8003@192.168.2.233</font>
<br><font size=2 face="sans-serif">debug: Received updated SDP answer</font>
<br><font size=2 face="sans-serif">debug: Got initial answer from callee
for stream: (audio) 192.168.2.223:5298 (RTP: Unknown, RTCP: Unknown) &lt;-&gt;
192.168.2.233:50072 &lt;-&gt; 192.168.2.233:50074 &lt;-&gt; 10.0.0.2:19098
(RTP: 10.0.0.2:19098, RTCP: Unknown)</font>
<br><font size=2 face="sans-serif">debug: Stream explicitly rejected: (video)
192.168.2.223:5300 (RTP: Unknown, RTCP: Unknown) &lt;-&gt; 192.168.2.233:50076
&lt;-&gt; 192.168.2.233:50078 &lt;-&gt; Unknown (RTP: Unknown, RTCP: Unknown)</font>
<br><font size=2 face="sans-serif">(Port 50076 Closed)</font>
<br><font size=2 face="sans-serif">(Port 50077 Closed)</font>
<br><font size=2 face="sans-serif">(Port 50078 Closed)</font>
<br><font size=2 face="sans-serif">(Port 50079 Closed)</font>
<br><font size=2 face="sans-serif">debug: Got traffic information for stream:
(audio) 192.168.2.223:5298 (RTP: Unknown, RTCP: Unknown) &lt;-&gt; 192.168.2.233:50072
&lt;-&gt; 192.168.2.233:50074 &lt;-&gt; 10.0.0.2:19098 (RTP: 10.0.0.2:19098,
RTCP: 10.0.1.1:19163)</font>
<br><font size=2 face="sans-serif">debug: Got traffic information for stream:
(audio) 192.168.2.223:5298 (RTP: 192.168.2.223:5298, RTCP: Unknown) &lt;-&gt;
192.168.2.233:50072 &lt;-&gt; 192.168.2.233:50074 &lt;-&gt; 10.0.0.2:19098
(RTP: 10.0.0.2:19098, RTCP: 10.0.1.1:19163)</font>
<br><font size=2 face="sans-serif">debug: Got traffic information for stream:
(audio) 192.168.2.223:5298 (RTP: 192.168.2.223:5298, RTCP: 192.168.2.223:5299)
&lt;-&gt; 192.168.2.233:50072 &lt;-&gt; 192.168.2.233:50074 &lt;-&gt; 10.0.0.2:19098
(RTP: 10.0.0.2:19098, RTCP: 10.0.1.1:19163)</font>
<br><font size=2 face="sans-serif">debug: removing session 446F218E0033B4E7F005BA55E58915F2@cust1.sipetrali.fr:
c1p1@cust1.sipetrali.fr (7ED810FBDF34536891ED7A7C7B958FA9) --&gt; 8003@192.168.2.233</font>
<br><font size=2 face="sans-serif">(Port 50072 Closed)</font>
<br><font size=2 face="sans-serif">(Port 50073 Closed)</font>
<br><font size=2 face="sans-serif">(Port 50074 Closed)</font>
<br><font size=2 face="sans-serif">(Port 50075 Closed)</font>
<br>
<br>
<br><font size=2 face="sans-serif">PICK-UP user behind MGW 10.0.1.1 (not
working)</font>
<br><font size=2 face="sans-serif">=========================================</font>
<br>
<br><font size=2 face="sans-serif">debug: Received new SDP offer</font>
<br><font size=2 face="sans-serif">mediaproxy.mediacontrol.StreamListenerProtocol
starting on 50080</font>
<br><font size=2 face="sans-serif">mediaproxy.mediacontrol.StreamListenerProtocol
starting on 50081</font>
<br><font size=2 face="sans-serif">mediaproxy.mediacontrol.StreamListenerProtocol
starting on 50082</font>
<br><font size=2 face="sans-serif">mediaproxy.mediacontrol.StreamListenerProtocol
starting on 50083</font>
<br><font size=2 face="sans-serif">debug: Added new stream: (audio) 192.168.2.223:5304
(RTP: Unknown, RTCP: Unknown) &lt;-&gt; 192.168.2.233:50080 &lt;-&gt; 192.168.2.233:50082
&lt;-&gt; Unknown (RTP: Unknown, RTCP: Unknown)</font>
<br><font size=2 face="sans-serif">mediaproxy.mediacontrol.StreamListenerProtocol
starting on 50084</font>
<br><font size=2 face="sans-serif">mediaproxy.mediacontrol.StreamListenerProtocol
starting on 50085</font>
<br><font size=2 face="sans-serif">mediaproxy.mediacontrol.StreamListenerProtocol
starting on 50086</font>
<br><font size=2 face="sans-serif">mediaproxy.mediacontrol.StreamListenerProtocol
starting on 50087</font>
<br><font size=2 face="sans-serif">debug: Added new stream: (video) 192.168.2.223:5306
(RTP: Unknown, RTCP: Unknown) &lt;-&gt; 192.168.2.233:50084 &lt;-&gt; 192.168.2.233:50086
&lt;-&gt; Unknown (RTP: Unknown, RTCP: Unknown)</font>
<br><font size=2 face="sans-serif">debug: created new session 4CB7CB3F95CB9EE01E75BCDEE07914FD@cust1.sipetrali.fr:
c1p1@cust1.sipetrali.fr (EA301B072FD4D18C5A3638A83D916B25) --&gt; 8003@192.168.2.233</font>
<br><font size=2 face="sans-serif">debug: Got traffic information for stream:
(audio) 192.168.2.223:5304 (RTP: Unknown, RTCP: Unknown) &lt;-&gt; 192.168.2.233:50080
&lt;-&gt; 192.168.2.233:50082 &lt;-&gt; Unknown (RTP: 10.0.0.2:19560, RTCP:
Unknown)</font>
<br><font size=2 face="sans-serif">debug: updating existing session 4CB7CB3F95CB9EE01E75BCDEE07914FD@cust1.sipetrali.fr:
c1p1@cust1.sipetrali.fr (EA301B072FD4D18C5A3638A83D916B25) --&gt; 8003@192.168.2.233</font>
<br><font size=2 face="sans-serif">debug: Received updated SDP answer</font>
<br><font size=2 face="sans-serif">debug: Got initial answer from callee
for stream: (audio) 192.168.2.223:5304 (RTP: Unknown, RTCP: Unknown) &lt;-&gt;
192.168.2.233:50080 &lt;-&gt; 192.168.2.233:50082 &lt;-&gt; 10.0.1.1:16910
(RTP: 10.0.0.2:19560, RTCP: Unknown)</font>
<br><font size=2 face="sans-serif">debug: Stream explicitly rejected: (video)
192.168.2.223:5306 (RTP: Unknown, RTCP: Unknown) &lt;-&gt; 192.168.2.233:50084
&lt;-&gt; 192.168.2.233:50086 &lt;-&gt; Unknown (RTP: Unknown, RTCP: Unknown)</font>
<br><font size=2 face="sans-serif">(Port 50084 Closed)</font>
<br><font size=2 face="sans-serif">(Port 50085 Closed)</font>
<br><font size=2 face="sans-serif">(Port 50086 Closed)</font>
<br><font size=2 face="sans-serif">(Port 50087 Closed)</font>
<br><font size=2 face="sans-serif">debug: Got traffic information for stream:
(audio) 192.168.2.223:5304 (RTP: Unknown, RTCP: Unknown) &lt;-&gt; 192.168.2.233:50080
&lt;-&gt; 192.168.2.233:50082 &lt;-&gt; 10.0.1.1:16910 (RTP: 10.0.0.2:19560,
RTCP: 10.0.0.2:19561)</font>
<br><font size=2 face="sans-serif">debug: Got traffic information for stream:
(audio) 192.168.2.223:5304 (RTP: 192.168.2.223:5304, RTCP: Unknown) &lt;-&gt;
192.168.2.233:50080 &lt;-&gt; 192.168.2.233:50082 &lt;-&gt; 10.0.1.1:16910
(RTP: 10.0.0.2:19560, RTCP: 10.0.0.2:19561)</font>
<br><font size=2 face="sans-serif">debug: Got traffic information for stream:
(audio) 192.168.2.223:5304 (RTP: 192.168.2.223:5304, RTCP: 192.168.2.223:5305)
&lt;-&gt; 192.168.2.233:50080 &lt;-&gt; 192.168.2.233:50082 &lt;-&gt; 10.0.1.1:16910
(RTP: 10.0.0.2:19560, RTCP: 10.0.0.2:19561)</font>
<br><font size=2 face="sans-serif">debug: removing session 4CB7CB3F95CB9EE01E75BCDEE07914FD@cust1.sipetrali.fr:
c1p1@cust1.sipetrali.fr (EA301B072FD4D18C5A3638A83D916B25) --&gt; 8003@192.168.2.233</font>
<br><font size=2 face="sans-serif">(Port 50080 Closed)</font>
<br><font size=2 face="sans-serif">(Port 50081 Closed)</font>
<br><font size=2 face="sans-serif">(Port 50082 Closed)</font>
<br><font size=2 face="sans-serif">(Port 50083 Closed)</font>
<br>
<br>
<br><font size=2 face="sans-serif">MEDIAPROXY DISPATCHER</font>
<br><font size=2 face="sans-serif">==========================</font>
<br>
<br><font size=2 face="sans-serif">PICK-UP user behind with MGW 10.0.0.2
(working)</font>
<br><font size=2 face="sans-serif">==========================================</font>
<br>
<br><font size=2 face="sans-serif">debug: Issuing &quot;update&quot; command
to relay at 192.168.2.233</font>
<br><font size=2 face="sans-serif">debug: Issuing &quot;update&quot; command
to relay at 192.168.2.233</font>
<br><font size=2 face="sans-serif">debug: Issuing &quot;remove&quot; command
to relay at 192.168.2.233</font>
<br><font size=2 face="sans-serif">debug: Got statistics: {'from_tag':
'7ED810FBDF34536891ED7A7C7B958FA9', 'dialog_id': None, 'start_time': 1244015369.8499999,
'timed_out': False, 'call_id': '446F218E0033B4E7F005BA55E58915F2@cust1.sipetrali.fr',
'to_tag': 'F6C72F2C-4DA', 'streams': [{'status': 'rejected', 'caller_codec':
'Unknown', 'post_dial_delay': None, 'callee_codec': 'Unknown', 'start_time':
0, 'caller_bytes': 0, 'callee_bytes': 0, 'caller_packets': 0, 'end_time':
0, 'callee_remote': 'Unknown', 'caller_remote': 'Unknown', 'media_type':
'video', 'callee_local': '192.168.2.233:50078', 'timeout_wait': 0, 'caller_local':
'192.168.2.233:50076', 'callee_packets': 0}, {'status': 'closed', 'caller_codec':
'Unknown(13)', 'post_dial_delay': 0.54064583778399999, 'callee_codec':
'G711u', 'start_time': 0, 'caller_bytes': 50000, 'callee_bytes': 50800,
'caller_packets': 250, 'end_time': 5, 'callee_remote': '10.0.0.2:19098',
'caller_remote': '192.168.2.223:5298', 'media_type': 'audio', 'callee_local':
'192.168.2.233:50074', 'timeout_wait': 0, 'caller_local': '192.168.2.233:50072',
'callee_packets': 254}], 'duration': 5, 'to_uri': '8003@192.168.2.233',
'from_uri': 'c1p1@cust1.sipetrali.fr', 'callee_ua': 'Cisco-SIPGateway/IOS-12.x',
'caller_ua': 'Kapanga Softphone Desktop 1.00/2172f+1213709005_001CBFA9A746_001C233756B9_005056C00001_005056C00008'}</font>
<br>
<br><font size=2 face="sans-serif">PICK-UP user behind MGW 10.0.1.1 (not
working)</font>
<br><font size=2 face="sans-serif">=========================================</font>
<br>
<br><font size=2 face="sans-serif">debug: Issuing &quot;update&quot; command
to relay at 192.168.2.233</font>
<br><font size=2 face="sans-serif">debug: Issuing &quot;update&quot; command
to relay at 192.168.2.233</font>
<br><font size=2 face="sans-serif">debug: Issuing &quot;remove&quot; command
to relay at 192.168.2.233</font>
<br><font size=2 face="sans-serif">debug: Got statistics: {'from_tag':
'EA301B072FD4D18C5A3638A83D916B25', 'dialog_id': None, 'start_time': 1244015394.48,
'timed_out': False, 'call_id': '4CB7CB3F95CB9EE01E75BCDEE07914FD@cust1.sipetrali.fr',
'to_tag': 'C286F9C8-F9F', 'streams': [{'status': 'rejected', 'caller_codec':
'Unknown', 'post_dial_delay': None, 'callee_codec': 'Unknown', 'start_time':
0, 'caller_bytes': 0, 'callee_bytes': 0, 'caller_packets': 0, 'end_time':
0, 'callee_remote': 'Unknown', 'caller_remote': 'Unknown', 'media_type':
'video', 'callee_local': '192.168.2.233:50086', 'timeout_wait': 0, 'caller_local':
'192.168.2.233:50084', 'callee_packets': 0}, {'status': 'closed', 'caller_codec':
'Unknown(13)', 'post_dial_delay': 0.54059290885900002, 'callee_codec':
'G711u', 'start_time': 0, 'caller_bytes': 49936, 'callee_bytes': 0, 'caller_packets':
250, 'end_time': 5, 'callee_remote': '10.0.0.2:19560', 'caller_remote':
'192.168.2.223:5304', 'media_type': 'audio', 'callee_local': '192.168.2.233:50082',
'timeout_wait': 0, 'caller_local': '192.168.2.233:50080', 'callee_packets':
0}], 'duration': 5, 'to_uri': '8003@192.168.2.233', 'from_uri': 'c1p1@cust1.sipetrali.fr',
'callee_ua': 'Cisco-SIPGateway/IOS-12.x', 'caller_ua': 'Kapanga Softphone
Desktop 1.00/2172f+1213709005_001CBFA9A746_001C233756B9_005056C00001_005056C00008'}</font>
<br>
<table><tr><td bgcolor=#ffffff><font color=#000000>*********************************<br>
This message and any attachments (the "message") are confidential and intended solely for the addressees. <br>
Any unauthorised use or dissemination is prohibited.<br>
Messages are susceptible to alteration. <br>
France Telecom Group shall not be liable for the message if altered, changed or falsified.<br>
If you are not the intended addressee of this message, please cancel it immediately and inform the sender.<br>
********************************<br>
</font></td></tr></table>