[Freeswitch-users] MEDIA_TIMEOUT after long duration call

Steven Ayre steveayre at gmail.com
Tue Apr 13 08:23:44 PDT 2010


Which version of FS are you running? From the line numbers it isn't
the latest, so you might try updating and see if you can still
reproduce.

Given that the hangup appears to happen on mod_sofia.c:744, there is a
MEDIA_TIMEOUT near that line which is triggered if FS times out trying
to read a video frame from RTP. That will occur when the RTP stack
thinks it has missed too many RTP packets.

Do you have an RTP packet trace for the call?

-Steve



On 13 April 2010 14:53, Francisco Scaramanga <scaram at hotmail.de> wrote:
> hi , I have a problem with long duration calls. After 11 hours and 35
> minutes the call ends because of MEDIA_TIMEOUT. It seems to be
> reproduceable.
> Any idea? I use SIP phone SIEMENS Gigaset S685.
>
> 2010-04-12 19:00:51.421875 [DEBUG] sofia.c:3289 Channel
> sofia/internal/1010 at 192.168.1.234 entering state [completed][200]
> 2010-04-12 19:00:51.421875 [DEBUG] switch_core_session.c:630 Send signal
> sofia/internal/1010 at 192.168.1.234 [BREAK]
> 2010-04-12 19:00:51.421875 [NOTICE] mod_dptools.c:649 Channel
> [sofia/internal/1010 at 192.168.1.234] has been answered
> 2010-04-12 19:00:51.421875 [DEBUG] switch_channel.c:182
> sofia/internal/1010 at 192.168.1.234 receive message [AUDIO_SYNC]
> EXECUTE sofia/internal/1010 at 192.168.1.234 MyModul
> 2010-04-12 19:00:51.640625 [DEBUG] sofia.c:3289 Channel
> sofia/internal/1010 at 192.168.1.234 entering state [ready][200]
> 2010-04-13 06:35:53.406250 [NOTICE] mod_sofia.c:744 Hangup
> sofia/internal/1010 at 192.168.1.234 [CS_EXECUTE] [MEDIA_TIMEOUT]
> 2010-04-13 06:35:53.406250 [DEBUG] switch_channel.c:1683 Send signal
> sofia/internal/1010 at 192.168.1.234 [KILL]
> 2010-04-13 06:35:53.406250 [DEBUG] switch_core_session.c:932 Send signal
> sofia/internal/1010 at 192.168.1.234 [BREAK]
> 2010-04-13 06:35:53.406250 [DEBUG] switch_core_state_machine.c:491
> (sofia/internal/1010 at 192.168.1.234) State EXECUTE going to sleep
> 2010-04-13 06:35:53.406250 [DEBUG] switch_core_state_machine.c:398
> (sofia/internal/1010 at 192.168.1.234) Running State Change CS_HANGUP
> 2010-04-13 06:35:53.406250 [DEBUG] switch_core_state_machine.c:434
> (sofia/internal/1010 at 192.168.1.234) State HANGUP
> 2010-04-13 06:35:53.406250 [DEBUG] mod_sofia.c:338 Channel
> sofia/internal/1010 at 192.168.1.234 hanging up, cause: MEDIA_TIMEOUT
> 2010-04-13 06:35:53.406250 [DEBUG] mod_sofia.c:396 Sending BYE to
> sofia/internal/1010 at 192.168.1.234
> 2010-04-13 06:35:53.406250 [DEBUG] switch_core_state_machine.c:46
> sofia/internal/1010 at 192.168.1.234 Standard HANGUP, cause: MEDIA_TIMEOUT
> 2010-04-13 06:35:53.406250 [DEBUG] switch_core_state_machine.c:434
> (sofia/internal/1010 at 192.168.1.234) State HANGUP going to sleep
> 2010-04-13 06:35:53.406250 [DEBUG] switch_core_state_machine.c:476
> (sofia/internal/1010 at 192.168.1.234) State Change CS_HANGUP -> CS_REPORTING
> 2010-04-13 06:35:53.406250 [DEBUG] switch_core_session.c:932 Send signal
> sofia/internal/1010 at 192.168.1.234 [BREAK]
> 2010-04-13 06:35:53.406250 [DEBUG] switch_core_state_machine.c:398
> (sofia/internal/1010 at 192.168.1.234) Running State Change CS_REPORTING
> 2010-04-13 06:35:53.406250 [DEBUG] switch_core_state_machine.c:612
> (sofia/internal/1010 at 192.168.1.234) State REPORTING
> 2010-04-13 06:35:53.406250 [DEBUG] switch_core_state_machine.c:53
> sofia/internal/1010 at 192.168.1.234 Standard REPORTING, cause: MEDIA_TIMEOUT
> 2010-04-13 06:35:53.406250 [DEBUG] switch_core_state_machine.c:612
> (sofia/internal/1010 at 192.168.1.234) State REPORTING going to sleep
> 2010-04-13 06:35:53.406250 [DEBUG] switch_core_state_machine.c:411
> (sofia/internal/1010 at 192.168.1.234) State Change CS_REPORTING -> CS_DESTROY
> 2010-04-13 06:35:53.406250 [DEBUG] switch_core_session.c:1068 Session 3
> (sofia/internal/1010 at 192.168.1.234) Locked, Waiting on external entities
> 2010-04-13 06:35:53.406250 [NOTICE] switch_core_session.c:1086 Session 3
> (sofia/internal/1010 at 192.168.1.234) Ended
> 2010-04-13 06:35:53.406250 [NOTICE] switch_core_session.c:1088 Close Channel
> sofia/internal/1010 at 192.168.1.234 [CS_DESTROY]
> 2010-04-13 06:35:53.406250 [DEBUG] switch_core_codec.c:122 Restore original
> codec.
> 2010-04-13 06:35:53.406250 [DEBUG] switch_core_state_machine.c:564
> (sofia/internal/1010 at 192.168.1.234) State DESTROY
> 2010-04-13 06:35:53.406250 [DEBUG] mod_sofia.c:255
> sofia/internal/1010 at 192.168.1.234 SOFIA DESTROY
> 2010-04-13 06:35:53.406250 [DEBUG] switch_core_state_machine.c:60
> sofia/internal/1010 at 192.168.1.234 Standard DESTROY
> 2010-04-13 06:35:53.406250 [DEBUG] switch_core_state_machine.c:564
> (sofia/internal/1010 at 192.168.1.234) State DESTROY going to sleep
>
> ________________________________
> Ihre Daten brauchen Platz? SkyDrive gibt Ihnen 25 GB - gratis!
> _______________________________________________
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>
>



More information about the FreeSWITCH-users mailing list