<div dir="ltr"><div class="gmail_default" style="font-family:verdana,sans-serif;font-size:small;color:rgb(51,51,153)">I have just checked and although my test configuration recorded an empty file the packets captured with tcpdump can be successfully played back in Wireshark. The audio in the capture is exactly as I would have expected the recording to be.</div>
<div class="gmail_default" style="font-family:verdana,sans-serif;font-size:small;color:rgb(51,51,153)"><br></div><div class="gmail_default" style="font-family:verdana,sans-serif;font-size:small;color:rgb(51,51,153)">Are we suggesting that there is a bug of some description here? Is there anything else I can test to confirm?</div>
<div class="gmail_default" style="font-family:verdana,sans-serif;font-size:small;color:rgb(51,51,153)"><br></div><div class="gmail_default" style="font-family:verdana,sans-serif;font-size:small;color:rgb(51,51,153)">To provide some clarity on my setup here is a list of what i have:</div>
<div class="gmail_default"><ol><li><font color="#333399" face="verdana, sans-serif">Registered Linksys SPA941 on OpenSIPS</font></li><li><font color="#333399" face="verdana, sans-serif">Direct call from OpenSIPS to FreeSWITCH </font></li>
<li><font color="#333399" face="verdana, sans-serif">XML dialplan with </font><span style="color:rgb(51,51,153);font-family:verdana,sans-serif">ESL outbound connection to socket server</span></li><li><span style="color:rgb(51,51,153);font-family:verdana,sans-serif">Socket server issues SendMsg answer</span></li>
<li><span style="color:rgb(51,51,153);font-family:verdana,sans-serif">Socket server issues SendMsg park</span></li><li><span style="color:rgb(51,51,153);font-family:verdana,sans-serif">Socket client intercepts CHANNEL_PARK</span></li>
<li><font color="#333399" face="verdana, sans-serif">Socket client issues SendMsg record (filepath/test.wav 15 200)</font></li></ol><div><font color="#333399" face="verdana, sans-serif"><br></font></div></div></div><div class="gmail_extra">
<br clear="all"><div><pre style="word-wrap:break-word;white-space:pre-wrap"><font face="verdana, sans-serif" color="#333399">______________________________</font><font size="1" face="verdana, sans-serif" color="#333399">
Callum Guy
Developer
X-on
Framlingham Technology Centre
Station Road, Framlingham,
Suffolk, IP13 9EZ
T 0333 332 0116
E <a href="mailto:callum.guy@x-on.co.uk" target="_blank">callum.guy@x-on.co.uk</a>
<img src="http://www.x-ondata.com/images/footerv2.jpg">
<br></font></pre><pre style="word-wrap:break-word;white-space:pre-wrap"><font size="1" face="verdana, sans-serif" color="#333399">X-on is a trading name of Storacall Technology Ltd a limited company registered in England and Wales
Registered Office : Avaland House, 110 London Road, Apsley, Hemel Hempstead, Herts, HP3 9SD
Company Registration No. 2578478
This email has been sent from X-on.The contents and attachments are confidential to the sender and the intended addressees.If the message
is received by anyone other than the addressee please return the message to the sender by replying to it and then delete the message from
your computer without copying or disclosing the contents to anyone.Opinions, conclusions and statements of intent in this email are those of
the sender and do not bind X-on unless confirmed by authorised representatives independently of this message.While best endeavours have
been taken to avoid transmission of viruses, it is the responsibility of the recipient to scan for these.Please note emails sent to and from X-on
are routinely monitored for record keeping and quality control, to ensure regulatory compliance and prevent unauthorised use of our systems.
</font><font size="1" face="verdana, sans-serif" color="#006600">Please consider the environment before printing this email.</font></pre></div>
<br><br><div class="gmail_quote">On 1 October 2013 15:33, Michael Jerris <span dir="ltr"><<a href="mailto:mike@jerris.com" target="_blank">mike@jerris.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div style="word-wrap:break-word">Your saying you see media flowing in both directions even when the record doesn't work, and when you play the stream in wireshark, there is media in that stream, and its not silent?<div>
<div class="h5"><div><br><div><div>On Oct 1, 2013, at 10:23 AM, Callum Guy <<a href="mailto:callum.guy@x-on.co.uk" target="_blank">callum.guy@x-on.co.uk</a>> wrote:</div><br><blockquote type="cite"><div dir="ltr"><div class="gmail_default" style="font-family:verdana,sans-serif;font-size:small;color:rgb(51,51,153)">
I'm calling in from a Linksys SPA941 and I will be the only user on the FreeSWITCH server. I have been using tcpdump to capture my RTP traffic using the following command:</div>
<div class="gmail_default" style="font-family:verdana,sans-serif;font-size:small;color:rgb(51,51,153)"><br></div><div class="gmail_default"><font color="#333399" face="verdana, sans-serif">tcpdump -i any -n dst portrange 10000-50000</font><br>
</div><div class="gmail_default"><font color="#333399" face="verdana, sans-serif"><br></font></div><div class="gmail_default"><font color="#333399" face="verdana, sans-serif">I configured two test scripts as below:</font></div>
<div class="gmail_default"><font color="#333399" face="verdana, sans-serif"><br></font></div><div class="gmail_default"><div class="gmail_default"><font color="#333399" face="verdana, sans-serif"><b>Script 1: Answer call, generate 1000ms silence (as above) and then record. </b></font></div>
<div class="gmail_default"><font color="#333399" face="verdana, sans-serif">This showed a steady stream of UDP data throughout the call and resulted in a recording.</font></div><div class="gmail_default"><div class="gmail_default">
<font color="#333399" face="verdana, sans-serif"><br></font></div><div class="gmail_default"><font color="#333399" face="verdana, sans-serif"><b>Script 2: Answer call, sleep for 1 second and then record. </b></font></div>
<div class="gmail_default"><font color="#333399" face="verdana, sans-serif">This showed a steady stream of UDP data throughout the call but resulted in a blank recording.</font></div><div class="gmail_default"><font color="#333399" face="verdana, sans-serif"><br>
</font></div><div class="gmail_default"><font color="#333399" face="verdana, sans-serif">This is interesting and indicates to me that there is probably something that the FreeSWITCH file play operation is doing (even when its a silence stream) that is not carried out by the record application. I would expect that its unusual for a telephony application to want to answer and record without any play operations first.</font></div>
<div class="gmail_default"><font color="#333399" face="verdana, sans-serif"><br></font></div><div class="gmail_default"><font color="#333399" face="verdana, sans-serif">Thanks again,</font></div><div class="gmail_default">
<font color="#333399" face="verdana, sans-serif"><br></font></div><div class="gmail_default"><font color="#333399" face="verdana, sans-serif">Callum</font></div></div></div></div></blockquote></div><br></div></div></div>
</div><br>_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
<a href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a><br>
<a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<br></blockquote></div><br></div>