<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Verdana
}
--></style>
</head>
<body class='hmmessage'>
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'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.&nbsp; 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: steveayre@gmail.com<br>&gt; To: freeswitch-users@lists.freeswitch.org<br>&gt; Subject: Re: [Freeswitch-users] MEDIA_TIMEOUT after long duration call<br>&gt; <br>&gt; Which version of FS are you running? From the line numbers it isn'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;scaram@hotmail.de&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/1010@192.168.1.234 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/1010@192.168.1.234 [BREAK]<br>&gt; &gt; 2010-04-12 19:00:51.421875 [NOTICE] mod_dptools.c:649 Channel<br>&gt; &gt; [sofia/internal/1010@192.168.1.234] has been answered<br>&gt; &gt; 2010-04-12 19:00:51.421875 [DEBUG] switch_channel.c:182<br>&gt; &gt; sofia/internal/1010@192.168.1.234 receive message [AUDIO_SYNC]<br>&gt; &gt; EXECUTE sofia/internal/1010@192.168.1.234 MyModul<br>&gt; &gt; 2010-04-12 19:00:51.640625 [DEBUG] sofia.c:3289 Channel<br>&gt; &gt; sofia/internal/1010@192.168.1.234 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/1010@192.168.1.234 [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/1010@192.168.1.234 [KILL]<br>&gt; &gt; 2010-04-13 06:35:53.406250 [DEBUG] switch_core_session.c:932 Send signal<br>&gt; &gt; sofia/internal/1010@192.168.1.234 [BREAK]<br>&gt; &gt; 2010-04-13 06:35:53.406250 [DEBUG] switch_core_state_machine.c:491<br>&gt; &gt; (sofia/internal/1010@192.168.1.234) 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/1010@192.168.1.234) 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/1010@192.168.1.234) State HANGUP<br>&gt; &gt; 2010-04-13 06:35:53.406250 [DEBUG] mod_sofia.c:338 Channel<br>&gt; &gt; sofia/internal/1010@192.168.1.234 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/1010@192.168.1.234<br>&gt; &gt; 2010-04-13 06:35:53.406250 [DEBUG] switch_core_state_machine.c:46<br>&gt; &gt; sofia/internal/1010@192.168.1.234 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/1010@192.168.1.234) 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/1010@192.168.1.234) 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/1010@192.168.1.234 [BREAK]<br>&gt; &gt; 2010-04-13 06:35:53.406250 [DEBUG] switch_core_state_machine.c:398<br>&gt; &gt; (sofia/internal/1010@192.168.1.234) 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/1010@192.168.1.234) State REPORTING<br>&gt; &gt; 2010-04-13 06:35:53.406250 [DEBUG] switch_core_state_machine.c:53<br>&gt; &gt; sofia/internal/1010@192.168.1.234 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/1010@192.168.1.234) 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/1010@192.168.1.234) 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/1010@192.168.1.234) 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/1010@192.168.1.234) Ended<br>&gt; &gt; 2010-04-13 06:35:53.406250 [NOTICE] switch_core_session.c:1088 Close Channel<br>&gt; &gt; sofia/internal/1010@192.168.1.234 [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/1010@192.168.1.234) State DESTROY<br>&gt; &gt; 2010-04-13 06:35:53.406250 [DEBUG] mod_sofia.c:255<br>&gt; &gt; sofia/internal/1010@192.168.1.234 SOFIA DESTROY<br>&gt; &gt; 2010-04-13 06:35:53.406250 [DEBUG] switch_core_state_machine.c:60<br>&gt; &gt; sofia/internal/1010@192.168.1.234 Standard DESTROY<br>&gt; &gt; 2010-04-13 06:35:53.406250 [DEBUG] switch_core_state_machine.c:564<br>&gt; &gt; (sofia/internal/1010@192.168.1.234) 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; FreeSWITCH-users@lists.freeswitch.org<br>&gt; &gt; http://lists.freeswitch.org/mailman/listinfo/freeswitch-users<br>&gt; &gt; UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users<br>&gt; &gt; http://www.freeswitch.org<br>&gt; &gt;<br>&gt; &gt;<br>&gt; <br>&gt; _______________________________________________<br>&gt; FreeSWITCH-users mailing list<br>&gt; FreeSWITCH-users@lists.freeswitch.org<br>&gt; http://lists.freeswitch.org/mailman/listinfo/freeswitch-users<br>&gt; UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users<br>&gt; http://www.freeswitch.org<br>                                               <br /><hr />Ihre Daten brauchen Platz?  <a href='http://redirect.gimas.net/?n=M1004SkyDrive' target='_new'>SkyDrive gibt Ihnen 25 GB - gratis!</a></body>
</html>