<div dir="ltr"><div class="gmail_extra" style="font-size:12.8px">good night sir ,</div><div class="gmail_extra" style="font-size:12.8px">i replaced  R by Y </div><div class="gmail_extra" style="font-size:12.8px">i have  this problem </div><div class="gmail_extra" style="font-size:12.8px"><img src="cid:ii_153c95f7f2268f8c" alt="Images intégrées 1" width="474" height="107" class="" tabindex="0"><br></div><div class="gmail_extra" style="font-size:12.8px"><br></div><div class="gmail_extra" style="font-size:12.8px">the file contains rtp named g711.pcap ,you will find it attached </div><div class="gmail_extra" style="font-size:12.8px"><br></div><div class="gmail_extra" style="font-size:12.8px">and the script to execute to convert this pcap to wav is :</div><div class="gmail_extra" style="font-size:12.8px"><div class="gmail_extra">ssrc=$(tshark -n -r /home/amani/projet/PFE/g711.pcap -Y rtp -T fields -e rtp.ssrc -Eseparator=, | sort -u | awk &#39;FNR ==1 {print}&#39;)</div><div class="gmail_extra">sudo tshark -n -r /home/amani/projet/PFE/g711.pcap -Y rtp -Y &quot;rtp.ssrc == $ssrc&quot; -T fields -e rtp.payload | tee payloads</div><div class="gmail_extra">for payload in `cat payloads`; do IFS=:; for byte in $payload; do printf &quot;\\x$byte&quot; &gt;&gt;  /home/amani/projet/PFE/g711.raw; done; done</div><div class="gmail_extra">sox -t raw -r 8000 -v 4 -c 1 -e mu-law  /home/amani/projet/PFE/g711.raw  /home/amani/projet/PFE/g711.wav</div><div class="gmail_extra"><br></div><div class="gmail_extra"><br></div><div class="gmail_extra">can you please sir execute it ? and tell me where is the problem ? </div><div class="gmail_extra">thank you </div><div class="gmail_extra">best regards </div><div class="gmail_extra"><br></div></div></div><div class="gmail_extra"><br><div class="gmail_quote">2016-03-30 22:16 GMT+01:00 amani mansour <span dir="ltr">&lt;<a href="mailto:amani.mansour2@gmail.com" target="_blank">amani.mansour2@gmail.com</a>&gt;</span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_extra">good night sir ,</div><div class="gmail_extra">i replaced  R by Y </div><div class="gmail_extra">i have  this problem </div><div class="gmail_extra"><img src="cid:ii_153c95f7f2268f8c" alt="Images intégrées 1" width="474" height="107"><br></div><div class="gmail_extra"><br></div><div class="gmail_extra">the file contains rtp named g711.pcap ,you will find it attached </div><div class="gmail_extra"><br></div><div class="gmail_extra">and the script to execute to convert this pcap to wav is :</div><div class="gmail_extra"><div class="gmail_extra">ssrc=$(tshark -n -r /home/amani/projet/PFE/g711.pcap -Y rtp -T fields -e rtp.ssrc -Eseparator=, | sort -u | awk &#39;FNR ==1 {print}&#39;)</div><div class="gmail_extra">sudo tshark -n -r /home/amani/projet/PFE/g711.pcap -Y rtp -Y &quot;rtp.ssrc == $ssrc&quot; -T fields -e rtp.payload | tee payloads</div><div class="gmail_extra">for payload in `cat payloads`; do IFS=:; for byte in $payload; do printf &quot;\\x$byte&quot; &gt;&gt;  /home/amani/projet/PFE/g711.raw; done; done</div><div class="gmail_extra">sox -t raw -r 8000 -v 4 -c 1 -e mu-law  /home/amani/projet/PFE/g711.raw  /home/amani/projet/PFE/g711.wav</div><div class="gmail_extra"><br></div><div class="gmail_extra"><br></div><div class="gmail_extra">can you please sir execute it ? and tell me where is the problem ? </div><div class="gmail_extra">thank you </div><div class="gmail_extra">best regards </div><span class="HOEnZb"><font color="#888888"><div class="gmail_extra">amani</div></font></span></div></div>
</blockquote></div><br></div>