The last stable release is actually 1.0.6<br><br><br><div class="gmail_quote">On Tue, Apr 13, 2010 at 12:03 PM, Francisco Scaramanga <span dir="ltr">&lt;<a href="mailto:scaram@hotmail.de">scaram@hotmail.de</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">



<div>
I am running the last stable release 1.0.4 and could reproduce the failure. Sometimes it happens in a call of 4 minutes duration.<br><br>I don&#39;t have a rtp packet trace but there is one more reason for MEDIA_TIMEOUT. I had a look at the sourcecode and followed the calls down to the winsock function recvfrom. It also could be a socket error.  If the recvfrom function returns -2 a MEDIA_TIMEOUT will happen. Maybe something was wrong with the network hardware cables, switch ..<br>
I changed my hardware. Test is running...<br><br>How can I enable a rtp packet trace? It think I should check this too.<br><br><br>&gt; Date: Tue, 13 Apr 2010 16:23:44 +0100<br>&gt; From: <a href="mailto:steveayre@gmail.com" target="_blank">steveayre@gmail.com</a><br>
&gt; To: <a href="mailto:freeswitch-users@lists.freeswitch.org" target="_blank">freeswitch-users@lists.freeswitch.org</a><br>&gt; Subject: Re: [Freeswitch-users] MEDIA_TIMEOUT after long duration call<div><div></div><div class="h5">
<br>&gt; <br>&gt; Which version of FS are you running? From the line numbers it isn&#39;t<br>&gt; the latest, so you might try updating and see if you can still<br>&gt; reproduce.<br>&gt; <br>&gt; Given that the hangup appears to happen on mod_sofia.c:744, there is a<br>
&gt; MEDIA_TIMEOUT near that line which is triggered if FS times out trying<br>&gt; to read a video frame from RTP. That will occur when the RTP stack<br>&gt; thinks it has missed too many RTP packets.<br>&gt; <br>&gt; Do you have an RTP packet trace for the call?<br>
&gt; <br>&gt; -Steve<br>&gt; <br>&gt; <br>&gt; <br>&gt; On 13 April 2010 14:53, Francisco Scaramanga &lt;<a href="mailto:scaram@hotmail.de" target="_blank">scaram@hotmail.de</a>&gt; wrote:<br>&gt; &gt; hi , I have a problem with long duration calls. After 11 hours and 35<br>
&gt; &gt; minutes the call ends because of MEDIA_TIMEOUT. It seems to be<br>&gt; &gt; reproduceable.<br>&gt; &gt; Any idea? I use SIP phone SIEMENS Gigaset S685.<br>&gt; &gt;<br>&gt; &gt; 2010-04-12 19:00:51.421875 [DEBUG] sofia.c:3289 Channel<br>
&gt; &gt; sofia/internal/<a href="mailto:1010@192.168.1.234" target="_blank">1010@192.168.1.234</a> entering state [completed][200]<br>&gt; &gt; 2010-04-12 19:00:51.421875 [DEBUG] switch_core_session.c:630 Send signal<br>
&gt; &gt; sofia/internal/<a href="mailto:1010@192.168.1.234" target="_blank">1010@192.168.1.234</a> [BREAK]<br>&gt; &gt; 2010-04-12 19:00:51.421875 [NOTICE] mod_dptools.c:649 Channel<br>&gt; &gt; [sofia/internal/<a href="mailto:1010@192.168.1.234" target="_blank">1010@192.168.1.234</a>] has been answered<br>
&gt; &gt; 2010-04-12 19:00:51.421875 [DEBUG] switch_channel.c:182<br>&gt; &gt; sofia/internal/<a href="mailto:1010@192.168.1.234" target="_blank">1010@192.168.1.234</a> receive message [AUDIO_SYNC]<br>&gt; &gt; EXECUTE sofia/internal/<a href="mailto:1010@192.168.1.234" target="_blank">1010@192.168.1.234</a> MyModul<br>
&gt; &gt; 2010-04-12 19:00:51.640625 [DEBUG] sofia.c:3289 Channel<br>&gt; &gt; sofia/internal/<a href="mailto:1010@192.168.1.234" target="_blank">1010@192.168.1.234</a> entering state [ready][200]<br>&gt; &gt; 2010-04-13 06:35:53.406250 [NOTICE] mod_sofia.c:744 Hangup<br>
&gt; &gt; sofia/internal/<a href="mailto:1010@192.168.1.234" target="_blank">1010@192.168.1.234</a> [CS_EXECUTE] [MEDIA_TIMEOUT]<br>&gt; &gt; 2010-04-13 06:35:53.406250 [DEBUG] switch_channel.c:1683 Send signal<br>&gt; &gt; sofia/internal/<a href="mailto:1010@192.168.1.234" target="_blank">1010@192.168.1.234</a> [KILL]<br>
&gt; &gt; 2010-04-13 06:35:53.406250 [DEBUG] switch_core_session.c:932 Send signal<br>&gt; &gt; sofia/internal/<a href="mailto:1010@192.168.1.234" target="_blank">1010@192.168.1.234</a> [BREAK]<br>&gt; &gt; 2010-04-13 06:35:53.406250 [DEBUG] switch_core_state_machine.c:491<br>
&gt; &gt; (sofia/internal/<a href="mailto:1010@192.168.1.234" target="_blank">1010@192.168.1.234</a>) State EXECUTE going to sleep<br>&gt; &gt; 2010-04-13 06:35:53.406250 [DEBUG] switch_core_state_machine.c:398<br>&gt; &gt; (sofia/internal/<a href="mailto:1010@192.168.1.234" target="_blank">1010@192.168.1.234</a>) Running State Change CS_HANGUP<br>
&gt; &gt; 2010-04-13 06:35:53.406250 [DEBUG] switch_core_state_machine.c:434<br>&gt; &gt; (sofia/internal/<a href="mailto:1010@192.168.1.234" target="_blank">1010@192.168.1.234</a>) State HANGUP<br>&gt; &gt; 2010-04-13 06:35:53.406250 [DEBUG] mod_sofia.c:338 Channel<br>
&gt; &gt; sofia/internal/<a href="mailto:1010@192.168.1.234" target="_blank">1010@192.168.1.234</a> hanging up, cause: MEDIA_TIMEOUT<br>&gt; &gt; 2010-04-13 06:35:53.406250 [DEBUG] mod_sofia.c:396 Sending BYE to<br>&gt; &gt; sofia/internal/<a href="mailto:1010@192.168.1.234" target="_blank">1010@192.168.1.234</a><br>
&gt; &gt; 2010-04-13 06:35:53.406250 [DEBUG] switch_core_state_machine.c:46<br>&gt; &gt; sofia/internal/<a href="mailto:1010@192.168.1.234" target="_blank">1010@192.168.1.234</a> Standard HANGUP, cause: MEDIA_TIMEOUT<br>&gt; &gt; 2010-04-13 06:35:53.406250 [DEBUG] switch_core_state_machine.c:434<br>
&gt; &gt; (sofia/internal/<a href="mailto:1010@192.168.1.234" target="_blank">1010@192.168.1.234</a>) State HANGUP going to sleep<br>&gt; &gt; 2010-04-13 06:35:53.406250 [DEBUG] switch_core_state_machine.c:476<br>&gt; &gt; (sofia/internal/<a href="mailto:1010@192.168.1.234" target="_blank">1010@192.168.1.234</a>) State Change CS_HANGUP -&gt; CS_REPORTING<br>
&gt; &gt; 2010-04-13 06:35:53.406250 [DEBUG] switch_core_session.c:932 Send signal<br>&gt; &gt; sofia/internal/<a href="mailto:1010@192.168.1.234" target="_blank">1010@192.168.1.234</a> [BREAK]<br>&gt; &gt; 2010-04-13 06:35:53.406250 [DEBUG] switch_core_state_machine.c:398<br>
&gt; &gt; (sofia/internal/<a href="mailto:1010@192.168.1.234" target="_blank">1010@192.168.1.234</a>) Running State Change CS_REPORTING<br>&gt; &gt; 2010-04-13 06:35:53.406250 [DEBUG] switch_core_state_machine.c:612<br>&gt; &gt; (sofia/internal/<a href="mailto:1010@192.168.1.234" target="_blank">1010@192.168.1.234</a>) State REPORTING<br>
&gt; &gt; 2010-04-13 06:35:53.406250 [DEBUG] switch_core_state_machine.c:53<br>&gt; &gt; sofia/internal/<a href="mailto:1010@192.168.1.234" target="_blank">1010@192.168.1.234</a> Standard REPORTING, cause: MEDIA_TIMEOUT<br>
&gt; &gt; 2010-04-13 06:35:53.406250 [DEBUG] switch_core_state_machine.c:612<br>&gt; &gt; (sofia/internal/<a href="mailto:1010@192.168.1.234" target="_blank">1010@192.168.1.234</a>) State REPORTING going to sleep<br>&gt; &gt; 2010-04-13 06:35:53.406250 [DEBUG] switch_core_state_machine.c:411<br>
&gt; &gt; (sofia/internal/<a href="mailto:1010@192.168.1.234" target="_blank">1010@192.168.1.234</a>) State Change CS_REPORTING -&gt; CS_DESTROY<br>&gt; &gt; 2010-04-13 06:35:53.406250 [DEBUG] switch_core_session.c:1068 Session 3<br>
&gt; &gt; (sofia/internal/<a href="mailto:1010@192.168.1.234" target="_blank">1010@192.168.1.234</a>) Locked, Waiting on external entities<br>&gt; &gt; 2010-04-13 06:35:53.406250 [NOTICE] switch_core_session.c:1086 Session 3<br>
&gt; &gt; (sofia/internal/<a href="mailto:1010@192.168.1.234" target="_blank">1010@192.168.1.234</a>) Ended<br>&gt; &gt; 2010-04-13 06:35:53.406250 [NOTICE] switch_core_session.c:1088 Close Channel<br>&gt; &gt; sofia/internal/<a href="mailto:1010@192.168.1.234" target="_blank">1010@192.168.1.234</a> [CS_DESTROY]<br>
&gt; &gt; 2010-04-13 06:35:53.406250 [DEBUG] switch_core_codec.c:122 Restore original<br>&gt; &gt; codec.<br>&gt; &gt; 2010-04-13 06:35:53.406250 [DEBUG] switch_core_state_machine.c:564<br>&gt; &gt; (sofia/internal/<a href="mailto:1010@192.168.1.234" target="_blank">1010@192.168.1.234</a>) State DESTROY<br>
&gt; &gt; 2010-04-13 06:35:53.406250 [DEBUG] mod_sofia.c:255<br>&gt; &gt; sofia/internal/<a href="mailto:1010@192.168.1.234" target="_blank">1010@192.168.1.234</a> SOFIA DESTROY<br>&gt; &gt; 2010-04-13 06:35:53.406250 [DEBUG] switch_core_state_machine.c:60<br>
&gt; &gt; sofia/internal/<a href="mailto:1010@192.168.1.234" target="_blank">1010@192.168.1.234</a> Standard DESTROY<br>&gt; &gt; 2010-04-13 06:35:53.406250 [DEBUG] switch_core_state_machine.c:564<br>&gt; &gt; (sofia/internal/<a href="mailto:1010@192.168.1.234" target="_blank">1010@192.168.1.234</a>) State DESTROY going to sleep<br>
&gt; &gt;<br>&gt; &gt; ________________________________<br>&gt; &gt; Ihre Daten brauchen Platz? SkyDrive gibt Ihnen 25 GB - gratis!<br>&gt; &gt; _______________________________________________<br>&gt; &gt; FreeSWITCH-users mailing list<br>
&gt; &gt; <a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a><br>&gt; &gt; <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
&gt; &gt; UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>&gt; &gt; <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
&gt; &gt;<br>&gt; &gt;<br>&gt; <br>&gt; _______________________________________________<br>&gt; FreeSWITCH-users mailing list<br>&gt; <a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a><br>
&gt; <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>&gt; UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
&gt; <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>                                               <br><hr>Ihre Daten brauchen Platz?  <a href="http://redirect.gimas.net/?n=M1004SkyDrive" target="_blank">SkyDrive gibt Ihnen 25 GB - gratis!</a></div>
</div></div>
<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><br clear="all"><br>-- <br>Anthony Minessale II<br><br>FreeSWITCH <a href="http://www.freeswitch.org/">http://www.freeswitch.org/</a><br>ClueCon <a href="http://www.cluecon.com/">http://www.cluecon.com/</a><br>
Twitter: <a href="http://twitter.com/FreeSWITCH_wire">http://twitter.com/FreeSWITCH_wire</a><br><br>AIM: anthm<br><a href="mailto:MSN%3Aanthony_minessale@hotmail.com">MSN:anthony_minessale@hotmail.com</a><br>GTALK/JABBER/<a href="mailto:PAYPAL%3Aanthony.minessale@gmail.com">PAYPAL:anthony.minessale@gmail.com</a><br>
IRC: <a href="http://irc.freenode.net">irc.freenode.net</a> #freeswitch<br><br>FreeSWITCH Developer Conference<br><a href="mailto:sip%3A888@conference.freeswitch.org">sip:888@conference.freeswitch.org</a><br><a href="mailto:googletalk%3Aconf%2B888@conference.freeswitch.org">googletalk:conf+888@conference.freeswitch.org</a><br>
pstn:+19193869900<br>