Something broken in RTP in latest trunk (r13502)?
After using the latest trunk revisions I get no audio anymore. The last working build I have is about 5 days ago. I havn't upgraded until today, so I don't know exactly when this happened. I've noticed quite a few changes on the RTP stack, beacuse of the implementation om ZRTP, and I guess it's somewhere around this time when it happened. How to continue debugging on this issue? I have both a working version of FS (compiled 5 days ago), and a broken one (compiled today), so I can test this very easily, and everything is on a non live server. The conf-dir is the same between the revisions. The calls I'm trying to do is both directly to FS (voicemail or similar applications), and aslo calls to another SIP-trunk, to PSTN (media stream is sent through FS). Regards, Peter
Peter Olsson <peter.olsson@visionutveckling.se> wrote:
After using the latest trunk revisions I get no audio anymore. The last working build I have is about 5 days ago. I havn't upgraded until today, so I don't know exactly when this happened.
You could always check out some intermediate revisions, compile them, and see if they work. This will enable you to find out exactly which revision introduced the problem. The correct way to do this is as a binary search. In the git revision control system, this is partially automated as the bisect command. Even though FreeSWITCH uses Subversion rather than Git, you can still perform the bisect manually by checking out particular revisions by number. svn update -r <revision number> should do it.
Its called build skew... we added an extra_data element to the frame struct. Please do a fresh checkout and build. /b On May 29, 2009, at 5:46 AM, Jason White wrote:
Peter Olsson <peter.olsson@visionutveckling.se> wrote:
After using the latest trunk revisions I get no audio anymore. The last working build I have is about 5 days ago. I havn't upgraded until today, so I don't know exactly when this happened.
You could always check out some intermediate revisions, compile them, and see if they work. This will enable you to find out exactly which revision introduced the problem.
The correct way to do this is as a binary search. In the git revision control system, this is partially automated as the bisect command. Even though FreeSWITCH uses Subversion rather than Git, you can still perform the bisect manually by checking out particular revisions by number. svn update -r <revision number> should do it.
_______________________________________________ Freeswitch-users mailing list Freeswitch-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
Brian West brian@freeswitch.org -- Meet us at ClueCon! http://www.cluecon.com
I did that, and it compiles fine. It's just not working :) But as I said in my last post, I think it could also be related to sofia, when using h323 it works... However - maybe I'm using opal's RTP stream by then..? I'll get some logs for the scenario, and if I don't find a solution I'll start a new issue on jira. /Peter Från: freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] För Brian West Skickat: den 29 maj 2009 15:17 Till: freeswitch-users@lists.freeswitch.org Ämne: Re: [Freeswitch-users] Something broken in RTP in latest trunk (r13502)? Its called build skew... we added an extra_data element to the frame struct. Please do a fresh checkout and build. /b On May 29, 2009, at 5:46 AM, Jason White wrote: Peter Olsson <peter.olsson@visionutveckling.se<mailto:peter.olsson@visionutveckling.se>> wrote: After using the latest trunk revisions I get no audio anymore. The last working build I have is about 5 days ago. I havn't upgraded until today, so I don't know exactly when this happened. You could always check out some intermediate revisions, compile them, and see if they work. This will enable you to find out exactly which revision introduced the problem. The correct way to do this is as a binary search. In the git revision control system, this is partially automated as the bisect command. Even though FreeSWITCH uses Subversion rather than Git, you can still perform the bisect manually by checking out particular revisions by number. svn update -r <revision number> should do it. _______________________________________________ Freeswitch-users mailing list Freeswitch-users@lists.freeswitch.org<mailto:Freeswitch-users@lists.freeswitch.org> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org Brian West brian@freeswitch.org<mailto:brian@freeswitch.org> -- Meet us at ClueCon! http://www.cluecon.com<http://www.cluecon.com/> !DSPAM:4a1fe21a32931540574738!
when you say "i did that" you typed "make current" to rebuild? or you are assuming your successful compile is the same effect as cleaning the 100 object files that have the wrong data structure in them so the audio data they really seek is 8 bytes offset from where they think they are until they are deleted and recompiled by the make current command? The coincidental side-effect of this is no audio in any rtp streams...... *shrug* or you can continue to update more and more revisions on top of each other and end up with even worse build skew. We tried 3 times to tell you that's plenty...... On Fri, May 29, 2009 at 8:28 AM, Peter Olsson < peter.olsson@visionutveckling.se> wrote:
I did that, and it compiles fine. It’s just not working :) But as I said in my last post, I think it could also be related to sofia, when using h323 it works... However – maybe I’m using opal’s RTP stream by then..?
I’ll get some logs for the scenario, and if I don’t find a solution I’ll start a new issue on jira.
/Peter
*Från:* freeswitch-users-bounces@lists.freeswitch.org [mailto: freeswitch-users-bounces@lists.freeswitch.org] *För *Brian West *Skickat:* den 29 maj 2009 15:17 *Till:* freeswitch-users@lists.freeswitch.org *Ämne:* Re: [Freeswitch-users] Something broken in RTP in latest trunk (r13502)?
Its called build skew... we added an extra_data element to the frame struct. Please do a fresh checkout and build.
/b
On May 29, 2009, at 5:46 AM, Jason White wrote:
Peter Olsson <peter.olsson@visionutveckling.se> wrote:
After using the latest trunk revisions I get no audio anymore. The last
working build I have is about 5 days ago. I havn't upgraded until today, so
I don't know exactly when this happened.
You could always check out some intermediate revisions, compile them, and see if they work. This will enable you to find out exactly which revision introduced the problem.
The correct way to do this is as a binary search. In the git revision control system, this is partially automated as the bisect command. Even though FreeSWITCH uses Subversion rather than Git, you can still perform the bisect manually by checking out particular revisions by number. svn update -r <revision number> should do it.
_______________________________________________ Freeswitch-users mailing list Freeswitch-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
Brian West
brian@freeswitch.org
-- Meet us at ClueCon! http://www.cluecon.com
!DSPAM:4a1fe21a32931540574738!
_______________________________________________ Freeswitch-users mailing list Freeswitch-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
-- Anthony Minessale II FreeSWITCH http://www.freeswitch.org/ ClueCon http://www.cluecon.com/ AIM: anthm MSN:anthony_minessale@hotmail.com <MSN%3Aanthony_minessale@hotmail.com> GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com<PAYPAL%3Aanthony.minessale@gmail.com> IRC: irc.freenode.net #freeswitch FreeSWITCH Developer Conference sip:888@conference.freeswitch.org <sip%3A888@conference.freeswitch.org> iax:guest@conference.freeswitch.org/888 googletalk:conf+888@conference.freeswitch.org<googletalk%3Aconf%2B888@conference.freeswitch.org> pstn:213-799-1400
Actually I deleted everything from disk and downloaded a fresh clean copy from SVN and rebuilt it from scratch. I should mention that I'm on windows, so I never do "make current". I just do a full clean, get latest from SVN and rebuild, that's what I do every time. But for this time I even deleted everything from disk and did a fresh rebuild - but nothing helped.. /Peter Från: freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] För Anthony Minessale Skickat: den 29 maj 2009 15:42 Till: freeswitch-users@lists.freeswitch.org Ämne: Re: [Freeswitch-users] Something broken in RTP in latest trunk (r13502)? when you say "i did that" you typed "make current" to rebuild? or you are assuming your successful compile is the same effect as cleaning the 100 object files that have the wrong data structure in them so the audio data they really seek is 8 bytes offset from where they think they are until they are deleted and recompiled by the make current command? The coincidental side-effect of this is no audio in any rtp streams...... *shrug* or you can continue to update more and more revisions on top of each other and end up with even worse build skew. We tried 3 times to tell you that's plenty...... On Fri, May 29, 2009 at 8:28 AM, Peter Olsson <peter.olsson@visionutveckling.se<mailto:peter.olsson@visionutveckling.se>> wrote: I did that, and it compiles fine. It's just not working :) But as I said in my last post, I think it could also be related to sofia, when using h323 it works... However - maybe I'm using opal's RTP stream by then..? I'll get some logs for the scenario, and if I don't find a solution I'll start a new issue on jira. /Peter Från: freeswitch-users-bounces@lists.freeswitch.org<mailto:freeswitch-users-bounces@lists.freeswitch.org> [mailto:freeswitch-users-bounces@lists.freeswitch.org<mailto:freeswitch-users-bounces@lists.freeswitch.org>] För Brian West Skickat: den 29 maj 2009 15:17 Till: freeswitch-users@lists.freeswitch.org<mailto:freeswitch-users@lists.freeswitch.org> Ämne: Re: [Freeswitch-users] Something broken in RTP in latest trunk (r13502)? Its called build skew... we added an extra_data element to the frame struct. Please do a fresh checkout and build. /b On May 29, 2009, at 5:46 AM, Jason White wrote: Peter Olsson <peter.olsson@visionutveckling.se<mailto:peter.olsson@visionutveckling.se>> wrote: After using the latest trunk revisions I get no audio anymore. The last working build I have is about 5 days ago. I havn't upgraded until today, so I don't know exactly when this happened. You could always check out some intermediate revisions, compile them, and see if they work. This will enable you to find out exactly which revision introduced the problem. The correct way to do this is as a binary search. In the git revision control system, this is partially automated as the bisect command. Even though FreeSWITCH uses Subversion rather than Git, you can still perform the bisect manually by checking out particular revisions by number. svn update -r <revision number> should do it. _______________________________________________ Freeswitch-users mailing list Freeswitch-users@lists.freeswitch.org<mailto:Freeswitch-users@lists.freeswitch.org> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org Brian West brian@freeswitch.org<mailto:brian@freeswitch.org> -- Meet us at ClueCon! http://www.cluecon.com<http://www.cluecon.com/> _______________________________________________ Freeswitch-users mailing list Freeswitch-users@lists.freeswitch.org<mailto:Freeswitch-users@lists.freeswitch.org> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org -- Anthony Minessale II FreeSWITCH http://www.freeswitch.org/ ClueCon http://www.cluecon.com/ AIM: anthm MSN:anthony_minessale@hotmail.com<mailto:MSN%3Aanthony_minessale@hotmail.com> GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com<mailto:PAYPAL%3Aanthony.minessale@gmail.com> IRC: irc.freenode.net<http://irc.freenode.net> #freeswitch FreeSWITCH Developer Conference sip:888@conference.freeswitch.org<mailto:sip%3A888@conference.freeswitch.org> iax:guest@conference.freeswitch.org/888<http://iax:guest@conference.freeswitch.org/888> googletalk:conf+888@conference.freeswitch.org<mailto:googletalk%3Aconf%2B888@conference.freeswitch.org> pstn:213-799-1400 !DSPAM:4a1fe7c832931532616746!
the upgrade changed the switch_frame structure so most likely you did not do "make current" as we always recommend. Try that...... On Fri, May 29, 2009 at 5:46 AM, Jason White <jason@jasonjgw.net> wrote:
Peter Olsson <peter.olsson@visionutveckling.se> wrote:
After using the latest trunk revisions I get no audio anymore. The last working build I have is about 5 days ago. I havn't upgraded until today, so I don't know exactly when this happened.
You could always check out some intermediate revisions, compile them, and see if they work. This will enable you to find out exactly which revision introduced the problem.
The correct way to do this is as a binary search. In the git revision control system, this is partially automated as the bisect command. Even though FreeSWITCH uses Subversion rather than Git, you can still perform the bisect manually by checking out particular revisions by number. svn update -r <revision number> should do it.
_______________________________________________ Freeswitch-users mailing list Freeswitch-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
-- Anthony Minessale II FreeSWITCH http://www.freeswitch.org/ ClueCon http://www.cluecon.com/ AIM: anthm MSN:anthony_minessale@hotmail.com <MSN%3Aanthony_minessale@hotmail.com> GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com<PAYPAL%3Aanthony.minessale@gmail.com> IRC: irc.freenode.net #freeswitch FreeSWITCH Developer Conference sip:888@conference.freeswitch.org <sip%3A888@conference.freeswitch.org> iax:guest@conference.freeswitch.org/888 googletalk:conf+888@conference.freeswitch.org<googletalk%3Aconf%2B888@conference.freeswitch.org> pstn:213-799-1400
I've looked into this a bit more now, and I think it is a sofia issue, I will look trough the changes in sofia since I had the last working configuration, and see if I find anything. /Peter -----Ursprungligt meddelande----- Från: freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] För Jason White Skickat: den 29 maj 2009 12:47 Till: freeswitch-users@lists.freeswitch.org Ämne: Re: [Freeswitch-users] Something broken in RTP in latest trunk (r13502)? Peter Olsson <peter.olsson@visionutveckling.se> wrote:
After using the latest trunk revisions I get no audio anymore. The last working build I have is about 5 days ago. I havn't upgraded until today, so I don't know exactly when this happened.
You could always check out some intermediate revisions, compile them, and see if they work. This will enable you to find out exactly which revision introduced the problem. The correct way to do this is as a binary search. In the git revision control system, this is partially automated as the bisect command. Even though FreeSWITCH uses Subversion rather than Git, you can still perform the bisect manually by checking out particular revisions by number. svn update -r <revision number> should do it. _______________________________________________ Freeswitch-users mailing list Freeswitch-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org !DSPAM:4a1fbe7332937861021362!
Nope its not a sofia issue... its build skew ;) /b On May 29, 2009, at 8:24 AM, Peter Olsson wrote:
I've looked into this a bit more now, and I think it is a sofia issue, I will look trough the changes in sofia since I had the last working configuration, and see if I find anything.
/Peter
Brian West brian@freeswitch.org -- Meet us at ClueCon! http://www.cluecon.com
Nope - it's not :) Just to make sure I even deleted the source completely, and checked everything out again. /Peter Från: freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] För Brian West Skickat: den 29 maj 2009 15:26 Till: freeswitch-users@lists.freeswitch.org Ämne: Re: [Freeswitch-users] Something broken in RTP in latest trunk (r13502)? Nope its not a sofia issue... its build skew ;) /b On May 29, 2009, at 8:24 AM, Peter Olsson wrote: I've looked into this a bit more now, and I think it is a sofia issue, I will look trough the changes in sofia since I had the last working configuration, and see if I find anything. /Peter Brian West brian@freeswitch.org<mailto:brian@freeswitch.org> -- Meet us at ClueCon! http://www.cluecon.com<http://www.cluecon.com/> !DSPAM:4a1fe3bf32935202978184!
did you delete the binaries from /usr/local/freeswitch/bin , lib and mod too ? On Fri, May 29, 2009 at 8:33 AM, Peter Olsson < peter.olsson@visionutveckling.se> wrote:
Nope – it’s not :)
Just to make sure I even deleted the source completely, and checked everything out again.
/Peter
*Från:* freeswitch-users-bounces@lists.freeswitch.org [mailto: freeswitch-users-bounces@lists.freeswitch.org] *För *Brian West *Skickat:* den 29 maj 2009 15:26 *Till:* freeswitch-users@lists.freeswitch.org *Ämne:* Re: [Freeswitch-users] Something broken in RTP in latest trunk (r13502)?
Nope its not a sofia issue... its build skew ;)
/b
On May 29, 2009, at 8:24 AM, Peter Olsson wrote:
I've looked into this a bit more now, and I think it is a sofia issue, I will look trough the changes in sofia since I had the last working configuration, and see if I find anything.
/Peter
Brian West
brian@freeswitch.org
-- Meet us at ClueCon! http://www.cluecon.com
!DSPAM:4a1fe3bf32935202978184!
_______________________________________________ Freeswitch-users mailing list Freeswitch-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
-- Anthony Minessale II FreeSWITCH http://www.freeswitch.org/ ClueCon http://www.cluecon.com/ AIM: anthm MSN:anthony_minessale@hotmail.com <MSN%3Aanthony_minessale@hotmail.com> GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com<PAYPAL%3Aanthony.minessale@gmail.com> IRC: irc.freenode.net #freeswitch FreeSWITCH Developer Conference sip:888@conference.freeswitch.org <sip%3A888@conference.freeswitch.org> iax:guest@conference.freeswitch.org/888 googletalk:conf+888@conference.freeswitch.org<googletalk%3Aconf%2B888@conference.freeswitch.org> pstn:213-799-1400
I'm on Windows, so I have everything under my fs directory, but I deleted the complete directory and did everything from scratch... /Peter Från: freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] För Anthony Minessale Skickat: den 29 maj 2009 15:46 Till: freeswitch-users@lists.freeswitch.org Ämne: Re: [Freeswitch-users] Something broken in RTP in latest trunk (r13502)? did you delete the binaries from /usr/local/freeswitch/bin , lib and mod too ? On Fri, May 29, 2009 at 8:33 AM, Peter Olsson <peter.olsson@visionutveckling.se<mailto:peter.olsson@visionutveckling.se>> wrote: Nope - it's not :) Just to make sure I even deleted the source completely, and checked everything out again. /Peter Från: freeswitch-users-bounces@lists.freeswitch.org<mailto:freeswitch-users-bounces@lists.freeswitch.org> [mailto:freeswitch-users-bounces@lists.freeswitch.org<mailto:freeswitch-users-bounces@lists.freeswitch.org>] För Brian West Skickat: den 29 maj 2009 15:26 Till: freeswitch-users@lists.freeswitch.org<mailto:freeswitch-users@lists.freeswitch.org> Ämne: Re: [Freeswitch-users] Something broken in RTP in latest trunk (r13502)? Nope its not a sofia issue... its build skew ;) /b On May 29, 2009, at 8:24 AM, Peter Olsson wrote: I've looked into this a bit more now, and I think it is a sofia issue, I will look trough the changes in sofia since I had the last working configuration, and see if I find anything. /Peter Brian West brian@freeswitch.org<mailto:brian@freeswitch.org> -- Meet us at ClueCon! http://www.cluecon.com<http://www.cluecon.com/> _______________________________________________ Freeswitch-users mailing list Freeswitch-users@lists.freeswitch.org<mailto:Freeswitch-users@lists.freeswitch.org> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org -- Anthony Minessale II FreeSWITCH http://www.freeswitch.org/ ClueCon http://www.cluecon.com/ AIM: anthm MSN:anthony_minessale@hotmail.com<mailto:MSN%3Aanthony_minessale@hotmail.com> GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com<mailto:PAYPAL%3Aanthony.minessale@gmail.com> IRC: irc.freenode.net<http://irc.freenode.net> #freeswitch FreeSWITCH Developer Conference sip:888@conference.freeswitch.org<mailto:sip%3A888@conference.freeswitch.org> iax:guest@conference.freeswitch.org/888<http://iax:guest@conference.freeswitch.org/888> googletalk:conf+888@conference.freeswitch.org<mailto:googletalk%3Aconf%2B888@conference.freeswitch.org> pstn:213-799-1400 !DSPAM:4a1fe8ca32931197316932!
Can you try to do a binary search and nail down the exact version that caused this issue and then file a bug on http://jira.freeswitch.org. Thanks Mike On May 29, 2009, at 9:55 AM, Peter Olsson wrote:
I’m on Windows, so I have everything under my fs directory, but I deleted the complete directory and did everything from scratch...
/Peter
Från: freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org ] För Anthony Minessale Skickat: den 29 maj 2009 15:46 Till: freeswitch-users@lists.freeswitch.org Ämne: Re: [Freeswitch-users] Something broken in RTP in latest trunk (r13502)?
did you delete the binaries from /usr/local/freeswitch/bin , lib and mod too ?
On Fri, May 29, 2009 at 8:33 AM, Peter Olsson <peter.olsson@visionutveckling.se
wrote: Nope – it’s not :)
Just to make sure I even deleted the source completely, and checked everything out again.
Från: freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org ] För Brian West Skickat: den 29 maj 2009 15:26
Till: freeswitch-users@lists.freeswitch.org Ämne: Re: [Freeswitch-users] Something broken in RTP in latest trunk (r13502)? Nope its not a sofia issue... its build skew ;)
On May 29, 2009, at 8:24 AM, Peter Olsson wrote:
I've looked into this a bit more now, and I think it is a sofia issue, I will look trough the changes in sofia since I had the last working configuration, and see if I find anything.
/Peter
participants (5)
-
Anthony Minessale
-
Brian West
-
Jason White
-
Michael Jerris
-
Peter Olsson