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"><<a href="mailto:scaram@hotmail.de">scaram@hotmail.de</a>></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'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: <a href="mailto:steveayre@gmail.com" target="_blank">steveayre@gmail.com</a><br>
> To: <a href="mailto:freeswitch-users@lists.freeswitch.org" target="_blank">freeswitch-users@lists.freeswitch.org</a><br>> Subject: Re: [Freeswitch-users] MEDIA_TIMEOUT after long duration call<div><div></div><div class="h5">
<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 <<a href="mailto:scaram@hotmail.de" target="_blank">scaram@hotmail.de</a>> 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/<a href="mailto:1010@192.168.1.234" target="_blank">1010@192.168.1.234</a> entering state [completed][200]<br>> > 2010-04-12 19:00:51.421875 [DEBUG] switch_core_session.c:630 Send signal<br>
> > sofia/internal/<a href="mailto:1010@192.168.1.234" target="_blank">1010@192.168.1.234</a> [BREAK]<br>> > 2010-04-12 19:00:51.421875 [NOTICE] mod_dptools.c:649 Channel<br>> > [sofia/internal/<a href="mailto:1010@192.168.1.234" target="_blank">1010@192.168.1.234</a>] has been answered<br>
> > 2010-04-12 19:00:51.421875 [DEBUG] switch_channel.c:182<br>> > sofia/internal/<a href="mailto:1010@192.168.1.234" target="_blank">1010@192.168.1.234</a> receive message [AUDIO_SYNC]<br>> > EXECUTE sofia/internal/<a href="mailto:1010@192.168.1.234" target="_blank">1010@192.168.1.234</a> MyModul<br>
> > 2010-04-12 19:00:51.640625 [DEBUG] sofia.c:3289 Channel<br>> > sofia/internal/<a href="mailto:1010@192.168.1.234" target="_blank">1010@192.168.1.234</a> entering state [ready][200]<br>> > 2010-04-13 06:35:53.406250 [NOTICE] mod_sofia.c:744 Hangup<br>
> > sofia/internal/<a href="mailto:1010@192.168.1.234" target="_blank">1010@192.168.1.234</a> [CS_EXECUTE] [MEDIA_TIMEOUT]<br>> > 2010-04-13 06:35:53.406250 [DEBUG] switch_channel.c:1683 Send signal<br>> > sofia/internal/<a href="mailto:1010@192.168.1.234" target="_blank">1010@192.168.1.234</a> [KILL]<br>
> > 2010-04-13 06:35:53.406250 [DEBUG] switch_core_session.c:932 Send signal<br>> > sofia/internal/<a href="mailto:1010@192.168.1.234" target="_blank">1010@192.168.1.234</a> [BREAK]<br>> > 2010-04-13 06:35:53.406250 [DEBUG] switch_core_state_machine.c:491<br>
> > (sofia/internal/<a href="mailto:1010@192.168.1.234" target="_blank">1010@192.168.1.234</a>) State EXECUTE going to sleep<br>> > 2010-04-13 06:35:53.406250 [DEBUG] switch_core_state_machine.c:398<br>> > (sofia/internal/<a href="mailto:1010@192.168.1.234" target="_blank">1010@192.168.1.234</a>) Running State Change CS_HANGUP<br>
> > 2010-04-13 06:35:53.406250 [DEBUG] switch_core_state_machine.c:434<br>> > (sofia/internal/<a href="mailto:1010@192.168.1.234" target="_blank">1010@192.168.1.234</a>) State HANGUP<br>> > 2010-04-13 06:35:53.406250 [DEBUG] mod_sofia.c:338 Channel<br>
> > sofia/internal/<a href="mailto:1010@192.168.1.234" target="_blank">1010@192.168.1.234</a> hanging up, cause: MEDIA_TIMEOUT<br>> > 2010-04-13 06:35:53.406250 [DEBUG] mod_sofia.c:396 Sending BYE to<br>> > sofia/internal/<a href="mailto:1010@192.168.1.234" target="_blank">1010@192.168.1.234</a><br>
> > 2010-04-13 06:35:53.406250 [DEBUG] switch_core_state_machine.c:46<br>> > sofia/internal/<a href="mailto:1010@192.168.1.234" target="_blank">1010@192.168.1.234</a> Standard HANGUP, cause: MEDIA_TIMEOUT<br>> > 2010-04-13 06:35:53.406250 [DEBUG] switch_core_state_machine.c:434<br>
> > (sofia/internal/<a href="mailto:1010@192.168.1.234" target="_blank">1010@192.168.1.234</a>) State HANGUP going to sleep<br>> > 2010-04-13 06:35:53.406250 [DEBUG] switch_core_state_machine.c:476<br>> > (sofia/internal/<a href="mailto:1010@192.168.1.234" target="_blank">1010@192.168.1.234</a>) 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/<a href="mailto:1010@192.168.1.234" target="_blank">1010@192.168.1.234</a> [BREAK]<br>> > 2010-04-13 06:35:53.406250 [DEBUG] switch_core_state_machine.c:398<br>
> > (sofia/internal/<a href="mailto:1010@192.168.1.234" target="_blank">1010@192.168.1.234</a>) Running State Change CS_REPORTING<br>> > 2010-04-13 06:35:53.406250 [DEBUG] switch_core_state_machine.c:612<br>> > (sofia/internal/<a href="mailto:1010@192.168.1.234" target="_blank">1010@192.168.1.234</a>) State REPORTING<br>
> > 2010-04-13 06:35:53.406250 [DEBUG] switch_core_state_machine.c:53<br>> > sofia/internal/<a href="mailto:1010@192.168.1.234" target="_blank">1010@192.168.1.234</a> Standard REPORTING, cause: MEDIA_TIMEOUT<br>
> > 2010-04-13 06:35:53.406250 [DEBUG] switch_core_state_machine.c:612<br>> > (sofia/internal/<a href="mailto:1010@192.168.1.234" target="_blank">1010@192.168.1.234</a>) State REPORTING going to sleep<br>> > 2010-04-13 06:35:53.406250 [DEBUG] switch_core_state_machine.c:411<br>
> > (sofia/internal/<a href="mailto:1010@192.168.1.234" target="_blank">1010@192.168.1.234</a>) 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/<a href="mailto:1010@192.168.1.234" target="_blank">1010@192.168.1.234</a>) Locked, Waiting on external entities<br>> > 2010-04-13 06:35:53.406250 [NOTICE] switch_core_session.c:1086 Session 3<br>
> > (sofia/internal/<a href="mailto:1010@192.168.1.234" target="_blank">1010@192.168.1.234</a>) Ended<br>> > 2010-04-13 06:35:53.406250 [NOTICE] switch_core_session.c:1088 Close Channel<br>> > sofia/internal/<a href="mailto:1010@192.168.1.234" target="_blank">1010@192.168.1.234</a> [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/<a href="mailto:1010@192.168.1.234" target="_blank">1010@192.168.1.234</a>) State DESTROY<br>
> > 2010-04-13 06:35:53.406250 [DEBUG] mod_sofia.c:255<br>> > sofia/internal/<a href="mailto:1010@192.168.1.234" target="_blank">1010@192.168.1.234</a> SOFIA DESTROY<br>> > 2010-04-13 06:35:53.406250 [DEBUG] switch_core_state_machine.c:60<br>
> > sofia/internal/<a href="mailto:1010@192.168.1.234" target="_blank">1010@192.168.1.234</a> Standard DESTROY<br>> > 2010-04-13 06:35:53.406250 [DEBUG] switch_core_state_machine.c:564<br>> > (sofia/internal/<a href="mailto:1010@192.168.1.234" target="_blank">1010@192.168.1.234</a>) 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>
> > <a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">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>> ><br>> <br>> _______________________________________________<br>> FreeSWITCH-users mailing list<br>> <a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">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><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>