<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. 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>> Date: Tue, 13 Apr 2010 16:23:44 +0100<br>> From: steveayre@gmail.com<br>> To: freeswitch-users@lists.freeswitch.org<br>> Subject: Re: [Freeswitch-users] MEDIA_TIMEOUT after long duration call<br>> <br>> Which version of FS are you running? From the line numbers it isn't<br>> the latest, so you might try updating and see if you can still<br>> reproduce.<br>> <br>> Given that the hangup appears to happen on mod_sofia.c:744, there is a<br>> MEDIA_TIMEOUT near that line which is triggered if FS times out trying<br>> to read a video frame from RTP. That will occur when the RTP stack<br>> thinks it has missed too many RTP packets.<br>> <br>> Do you have an RTP packet trace for the call?<br>> <br>> -Steve<br>> <br>> <br>> <br>> On 13 April 2010 14:53, Francisco Scaramanga <scaram@hotmail.de> wrote:<br>> > hi , I have a problem with long duration calls. After 11 hours and 35<br>> > minutes the call ends because of MEDIA_TIMEOUT. It seems to be<br>> > reproduceable.<br>> > Any idea? I use SIP phone SIEMENS Gigaset S685.<br>> ><br>> > 2010-04-12 19:00:51.421875 [DEBUG] sofia.c:3289 Channel<br>> > sofia/internal/1010@192.168.1.234 entering state [completed][200]<br>> > 2010-04-12 19:00:51.421875 [DEBUG] switch_core_session.c:630 Send signal<br>> > sofia/internal/1010@192.168.1.234 [BREAK]<br>> > 2010-04-12 19:00:51.421875 [NOTICE] mod_dptools.c:649 Channel<br>> > [sofia/internal/1010@192.168.1.234] has been answered<br>> > 2010-04-12 19:00:51.421875 [DEBUG] switch_channel.c:182<br>> > sofia/internal/1010@192.168.1.234 receive message [AUDIO_SYNC]<br>> > EXECUTE sofia/internal/1010@192.168.1.234 MyModul<br>> > 2010-04-12 19:00:51.640625 [DEBUG] sofia.c:3289 Channel<br>> > sofia/internal/1010@192.168.1.234 entering state [ready][200]<br>> > 2010-04-13 06:35:53.406250 [NOTICE] mod_sofia.c:744 Hangup<br>> > sofia/internal/1010@192.168.1.234 [CS_EXECUTE] [MEDIA_TIMEOUT]<br>> > 2010-04-13 06:35:53.406250 [DEBUG] switch_channel.c:1683 Send signal<br>> > sofia/internal/1010@192.168.1.234 [KILL]<br>> > 2010-04-13 06:35:53.406250 [DEBUG] switch_core_session.c:932 Send signal<br>> > sofia/internal/1010@192.168.1.234 [BREAK]<br>> > 2010-04-13 06:35:53.406250 [DEBUG] switch_core_state_machine.c:491<br>> > (sofia/internal/1010@192.168.1.234) State EXECUTE going to sleep<br>> > 2010-04-13 06:35:53.406250 [DEBUG] switch_core_state_machine.c:398<br>> > (sofia/internal/1010@192.168.1.234) Running State Change CS_HANGUP<br>> > 2010-04-13 06:35:53.406250 [DEBUG] switch_core_state_machine.c:434<br>> > (sofia/internal/1010@192.168.1.234) State HANGUP<br>> > 2010-04-13 06:35:53.406250 [DEBUG] mod_sofia.c:338 Channel<br>> > sofia/internal/1010@192.168.1.234 hanging up, cause: MEDIA_TIMEOUT<br>> > 2010-04-13 06:35:53.406250 [DEBUG] mod_sofia.c:396 Sending BYE to<br>> > sofia/internal/1010@192.168.1.234<br>> > 2010-04-13 06:35:53.406250 [DEBUG] switch_core_state_machine.c:46<br>> > sofia/internal/1010@192.168.1.234 Standard HANGUP, cause: MEDIA_TIMEOUT<br>> > 2010-04-13 06:35:53.406250 [DEBUG] switch_core_state_machine.c:434<br>> > (sofia/internal/1010@192.168.1.234) State HANGUP going to sleep<br>> > 2010-04-13 06:35:53.406250 [DEBUG] switch_core_state_machine.c:476<br>> > (sofia/internal/1010@192.168.1.234) State Change CS_HANGUP -> CS_REPORTING<br>> > 2010-04-13 06:35:53.406250 [DEBUG] switch_core_session.c:932 Send signal<br>> > sofia/internal/1010@192.168.1.234 [BREAK]<br>> > 2010-04-13 06:35:53.406250 [DEBUG] switch_core_state_machine.c:398<br>> > (sofia/internal/1010@192.168.1.234) Running State Change CS_REPORTING<br>> > 2010-04-13 06:35:53.406250 [DEBUG] switch_core_state_machine.c:612<br>> > (sofia/internal/1010@192.168.1.234) State REPORTING<br>> > 2010-04-13 06:35:53.406250 [DEBUG] switch_core_state_machine.c:53<br>> > sofia/internal/1010@192.168.1.234 Standard REPORTING, cause: MEDIA_TIMEOUT<br>> > 2010-04-13 06:35:53.406250 [DEBUG] switch_core_state_machine.c:612<br>> > (sofia/internal/1010@192.168.1.234) State REPORTING going to sleep<br>> > 2010-04-13 06:35:53.406250 [DEBUG] switch_core_state_machine.c:411<br>> > (sofia/internal/1010@192.168.1.234) State Change CS_REPORTING -> CS_DESTROY<br>> > 2010-04-13 06:35:53.406250 [DEBUG] switch_core_session.c:1068 Session 3<br>> > (sofia/internal/1010@192.168.1.234) Locked, Waiting on external entities<br>> > 2010-04-13 06:35:53.406250 [NOTICE] switch_core_session.c:1086 Session 3<br>> > (sofia/internal/1010@192.168.1.234) Ended<br>> > 2010-04-13 06:35:53.406250 [NOTICE] switch_core_session.c:1088 Close Channel<br>> > sofia/internal/1010@192.168.1.234 [CS_DESTROY]<br>> > 2010-04-13 06:35:53.406250 [DEBUG] switch_core_codec.c:122 Restore original<br>> > codec.<br>> > 2010-04-13 06:35:53.406250 [DEBUG] switch_core_state_machine.c:564<br>> > (sofia/internal/1010@192.168.1.234) State DESTROY<br>> > 2010-04-13 06:35:53.406250 [DEBUG] mod_sofia.c:255<br>> > sofia/internal/1010@192.168.1.234 SOFIA DESTROY<br>> > 2010-04-13 06:35:53.406250 [DEBUG] switch_core_state_machine.c:60<br>> > sofia/internal/1010@192.168.1.234 Standard DESTROY<br>> > 2010-04-13 06:35:53.406250 [DEBUG] switch_core_state_machine.c:564<br>> > (sofia/internal/1010@192.168.1.234) State DESTROY going to sleep<br>> ><br>> > ________________________________<br>> > Ihre Daten brauchen Platz? SkyDrive gibt Ihnen 25 GB - gratis!<br>> > _______________________________________________<br>> > FreeSWITCH-users mailing list<br>> > FreeSWITCH-users@lists.freeswitch.org<br>> > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users<br>> > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users<br>> > http://www.freeswitch.org<br>> ><br>> ><br>> <br>> _______________________________________________<br>> FreeSWITCH-users mailing list<br>> FreeSWITCH-users@lists.freeswitch.org<br>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users<br>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users<br>> 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>