<p style>We use a obfuscation software to encrypt/mangle both SIP/RTP which sits before asterisk. What happens is sometimes we don&#39;t get any voice. after some &quot;rtp set debug&quot; we found out that when received ip of the rtp stream is router&#39;s public ip, everything works cleanly. But sometimes we get the private ip&#39;s of the client as received address in rtp stream which results in &quot;no voice&quot;. it seems asterisk because of some unknown reason failed to traverse nat for the media stream.</p>
<p style><br></p><p style><font color="#222222" face="arial, sans-serif">How asterisk manages nat is not known to me. But common SIP nat traversal methods dictate that first it modifies SDP to put its address as the destination address for both side. Then it waits for a rtp packet (symmetric rtp) to know to what port it should send media. </font></p>
<p style><font color="#222222" face="arial, sans-serif"><br></font></p><p style><font color="#222222" face="arial, sans-serif">I&#39;m not understanding at what stage it fails. Because of wrong IP is shown i&#39;m suspecting that its because of not writing SDP correctly. For what reason it happens still unknown to us. </font></p>
<p style><font color="#222222" face="arial, sans-serif"><br></font></p><p style><font color="#222222" face="arial, sans-serif">Any pointer to how it should be debugged?</font></p><p style><font color="#222222" face="arial, sans-serif"><br>
</font></p><p style>What reason behind this strange behavior is still unknown to us.</p><p style>Thanks in advance.</p><div><br></div>-- <br>-aft<br><br>