I am still experiencing problem with lost media in conference on a client behind NAT.<br>This is what I've done - disabled VAD on a NATed client and asked my friend to produce lots of animal sounds in order to keep channel busy. But at the end of minute sounds of wild nature disapeared again. We reproduced that without security with tcp SIP transport and got the same result. <br>
Then I started to dig into SIP trace and this is what I found. <br>This client (behind NAT) recieve subsequent INVITE message from FS which seem to
destroy dialog and causes client app to close media stream after a session being established normally. I performed the same call from box with public ip and saw no subsequent INVITE's from FS. How come FS sends an INVITE message to already connected client? Is it OK? Should client handle this normally?<br>
<br>Below is client's SIP trace:<br><br>INVITE sip:1.conference.dw@74.208.167.44:5081;transport=TLS SIP/2.0 <br>...<br>User-Agent: DoxWox SIP user agent <br>..<br><br>SIP/2.0 100 Trying <br>..<br>User-Agent: FreeSWITCH-mod_sofia/1.0.trunk-14953M <br>
..<br><br>SIP/2.0 407 Proxy Authentication Required <br>..<br>User-Agent: FreeSWITCH-mod_sofia/1.0.trunk-14953M <br>..<br><br>ACK sip:1.conference.dw@74.208.167.44:5081;transport=TLS SIP/2.0 <br>..<br><br>SIP/2.0 100 Trying <br>
..<br>User-Agent: FreeSWITCH-mod_sofia/1.0.trunk-14953M <br>..<br><br>SIP/2.0 183 Session Progress <br>..<br>User-Agent: FreeSWITCH-mod_sofia/1.0.trunk-14953M <br>..<br><br>SIP/2.0 200 OK <br>..<br>User-Agent: FreeSWITCH-mod_sofia/1.0.trunk-14953M <br>
..<br><br>ACK sip:1.conference.dw@74.208.167.44:5081;transport=tls SIP/2.0 <br>..<br><br><b>Finally, this message cause media stream closing</b><br>INVITE sip:1001@87.184.52.45:64183;transport=tls SIP/2.0 <br>Via: SIP/2.0/TLS 74.208.167.44:5081;branch=z9hG4bK8269NDyXQNjyH <br>
Max-Forwards: 70 <br>From: <<a href="mailto:sip%3A1.conference.dw@74.208.167.44">sip:1.conference.dw@74.208.167.44</a>>;tag=vQH234QtN2U8Q <br>To: <<a href="mailto:sip%3A1001@74.208.167.44">sip:1001@74.208.167.44</a>>;tag=3a231ba86c894ceca81d5021b68d3b6c <br>
Call-ID: 37edc38329f64fe98c36cc0a6ddcbd9d <br>CSeq: 121093810 INVITE <br>Contact: <sip:1.conference.dw@74.208.167.44:5081;transport=tls> <br>User-Agent: FreeSWITCH-mod_sofia/1.0.trunk-14953M <br>Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, UPDATE, INFO, REGISTER, REFER, NOTIFY <br>
Supported: timer, precondition, path, replaces <br>Session-Expires: 120;refresher=uac <br>Min-SE: 120 <br>Content-Type: application/sdp <br>Content-Disposition: session <br>Content-Length: 340 <br>
v=0 <br>o=FreeSWITCH 1254396503 1254396504 IN IP4 74.208.167.44 <br>s=FreeSWITCH <br>c=IN IP4 74.208.167.44 <br>t=0 0 <br>m=audio 27726 RTP/SAVP 103 101 <br>a=rtpmap:103 speex/16000 <br>a=rtpmap:101 telephone-event/8000 <br>
a=fmtp:101 0-16 <br>a=silenceSupp:off - - - - <br>a=ptime:20 <br>a=crypto:1 AES_CM_128_HMAC_SHA1_80 inline:J6x2UgRVUY8GfbwjCuyyttrtnXnwwuWA9Pt+o3VW<br><br>