Re: [asterisk-users] bounty for ASTERISK-17474 streamingMusicOnHold bug
Too early in the day - as I read this "dahdi restart" probably won't work correctly in the scenario as I follow it. The only workable scenario I see here is an asterisk restart since the dahdi timers "hose the works";. -Original Message- From: asterisk-users-boun...@lists.digium.com [mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of Vladimir Mikhelson Sent: Monday, September 26, 2011 9:38 AM To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: Re: [asterisk-users] bounty for ASTERISK-17474 streamingMusicOnHold bug Danny, The options for dahdi are "destroy restart set show." Which one would you suggest to use to "stop dahdi" prior to restarting moh?" Thank you, Vladimir On 9/26/2011 8:32 AM, Danny Nicholas wrote: > Based on isrlgb's response, I would stop dahdi, reload moh, then > restart dahdi. > > -Original Message- > From: asterisk-users-boun...@lists.digium.com > [mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of Vladimir > Mikhelson > Sent: Monday, September 26, 2011 12:37 AM > To: isr...@gmail.com; Asterisk Users Mailing List - Non-Commercial > Discussion > Subject: Re: [asterisk-users] bounty for ASTERISK-17474 > streamingMusicOnHold bug > > Great explanation. Makes complete sense to me. > > Any workaround you can think of? > > -Vladimir > > > > On 9/26/2011 12:26 AM, isr...@gmail.com wrote: >> It doesn't work at all with the dahdi timers The reason it works it >> works till the first reload is because you are preloading it before >> dahdi so it starts and uses the pthread timer later when you reload >> it starts using the dahdi timer and there it goes >> >> >> -Original Message- >> From: "Luke Hamburg" >> Sender: asterisk-users-boun...@lists.digium.com >> Date: Mon, 26 Sep 2011 00:36:28 >> To: 'Asterisk Users Mailing List - Non-Commercial >> Discussion' >> Reply-To: Asterisk Users Mailing List - Non-Commercial Discussion >> >> Subject: Re: [asterisk-users] bounty for ASTERISK-17474 streaming >> MusicOnHold bug >> >> Danny Nicholas wrote: >>>> 2. Don't know if moving to 10.x would help you, but since that is >>>> still >> considered beta, that's probably not an option anyhow. >> >> Yup, not really an option for me. I actually use this system daily >> and don't want to muck around with 10.0 just yet. >> >>>> 3. My understanding is that bounties need to be posted on the >> asterisk-dev list. >> >> Fair enough, I couldn't find that info - can anyone else confirm this? >> I don't want to go barging into the dev list looking like a fool. >> >>>> 4. With those caveats, have you tried this: Copy the load_module >>>> and >> unload_module routines from res_timing_pthread.c to >> res_timing_dahdi.c (you'll probably need some includes [..] >> >> Hehe - no I definitely haven't tried that. That's a bit above my pay >> grade for now. I was hoping to find a more formal fix for this. >> Still clinging onto the idea that with a decent bounty put together, >> someone who knows the code well enough would be able to fix this. >> The fact that it WORKS GREAT until the first 'moh reload' suggests to >> me that it might be a relatively easy bug to squash. >> >> >> >> >> -- >> _ >> -- Bandwidth and Colocation Provided by http://www.api-digital.com -- >> New to Asterisk? Join us for a live introductory webinar every Thurs: >>http://www.asterisk.org/hello >> >> asterisk-users mailing list >> To UNSUBSCRIBE or update options visit: >>http://lists.digium.com/mailman/listinfo/asterisk-users >> -- >> _ >> -- Bandwidth and Colocation Provided by http://www.api-digital.com -- >> New to Asterisk? Join us for a live introductory webinar every Thurs: >>http://www.asterisk.org/hello >> >> asterisk-users mailing list >> To UNSUBSCRIBE or update options visit: >>http://lists.digium.com/mailman/listinfo/asterisk-users >> > -- > _ > -- Bandwidth and Colocation Provided by http://www.api-digital.com -- > New to Asterisk? Join us for a live introductory webinar every Thurs: >http://www.asterisk.org/hello > > asterisk-users mailing list >
Re: [asterisk-users] bounty for ASTERISK-17474 streamingMusicOnHold bug
Danny, The options for dahdi are "destroy restart set show." Which one would you suggest to use to "stop dahdi" prior to restarting moh?" Thank you, Vladimir On 9/26/2011 8:32 AM, Danny Nicholas wrote: > Based on isrlgb's response, I would stop dahdi, reload moh, then restart > dahdi. > > -Original Message- > From: asterisk-users-boun...@lists.digium.com > [mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of Vladimir > Mikhelson > Sent: Monday, September 26, 2011 12:37 AM > To: isr...@gmail.com; Asterisk Users Mailing List - Non-Commercial > Discussion > Subject: Re: [asterisk-users] bounty for ASTERISK-17474 streamingMusicOnHold > bug > > Great explanation. Makes complete sense to me. > > Any workaround you can think of? > > -Vladimir > > > > On 9/26/2011 12:26 AM, isr...@gmail.com wrote: >> It doesn't work at all with the dahdi timers The reason it works it >> works till the first reload is because you are preloading it before >> dahdi so it starts and uses the pthread timer later when you reload it >> starts using the dahdi timer and there it goes >> >> >> -Original Message- >> From: "Luke Hamburg" >> Sender: asterisk-users-boun...@lists.digium.com >> Date: Mon, 26 Sep 2011 00:36:28 >> To: 'Asterisk Users Mailing List - Non-Commercial >> Discussion' >> Reply-To: Asterisk Users Mailing List - Non-Commercial Discussion >> >> Subject: Re: [asterisk-users] bounty for ASTERISK-17474 streaming >> MusicOnHold bug >> >> Danny Nicholas wrote: >>>> 2. Don't know if moving to 10.x would help you, but since that is >>>> still >> considered beta, that's probably not an option anyhow. >> >> Yup, not really an option for me. I actually use this system daily >> and don't want to muck around with 10.0 just yet. >> >>>> 3. My understanding is that bounties need to be posted on the >> asterisk-dev list. >> >> Fair enough, I couldn't find that info - can anyone else confirm this? >> I don't want to go barging into the dev list looking like a fool. >> >>>> 4. With those caveats, have you tried this: Copy the load_module and >> unload_module routines from res_timing_pthread.c to res_timing_dahdi.c >> (you'll probably need some includes [..] >> >> Hehe - no I definitely haven't tried that. That's a bit above my pay >> grade for now. I was hoping to find a more formal fix for this. >> Still clinging onto the idea that with a decent bounty put together, >> someone who knows the code well enough would be able to fix this. The >> fact that it WORKS GREAT until the first 'moh reload' suggests to me >> that it might be a relatively easy bug to squash. >> >> >> >> >> -- >> _ >> -- Bandwidth and Colocation Provided by http://www.api-digital.com -- >> New to Asterisk? Join us for a live introductory webinar every Thurs: >>http://www.asterisk.org/hello >> >> asterisk-users mailing list >> To UNSUBSCRIBE or update options visit: >>http://lists.digium.com/mailman/listinfo/asterisk-users >> -- >> _ >> -- Bandwidth and Colocation Provided by http://www.api-digital.com -- >> New to Asterisk? Join us for a live introductory webinar every Thurs: >>http://www.asterisk.org/hello >> >> asterisk-users mailing list >> To UNSUBSCRIBE or update options visit: >>http://lists.digium.com/mailman/listinfo/asterisk-users >> > -- > _ > -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to > Asterisk? Join us for a live introductory webinar every Thurs: >http://www.asterisk.org/hello > > asterisk-users mailing list > To UNSUBSCRIBE or update options visit: >http://lists.digium.com/mailman/listinfo/asterisk-users > > > -- > _ > -- Bandwidth and Colocation Provided by http://www.api-digital.com -- > New to Asterisk? Join us for a live introductory webinar every Thurs: >http://www.asterisk.org/hello > > asterisk-users mailing list > To UNSUBSCRIBE or update options visit: >http://lists.digium.com/mailman/listinfo/asterisk-users > -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] bounty for ASTERISK-17474 streamingMusicOnHold bug
Based on isrlgb's response, I would stop dahdi, reload moh, then restart dahdi. -Original Message- From: asterisk-users-boun...@lists.digium.com [mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of Vladimir Mikhelson Sent: Monday, September 26, 2011 12:37 AM To: isr...@gmail.com; Asterisk Users Mailing List - Non-Commercial Discussion Subject: Re: [asterisk-users] bounty for ASTERISK-17474 streamingMusicOnHold bug Great explanation. Makes complete sense to me. Any workaround you can think of? -Vladimir On 9/26/2011 12:26 AM, isr...@gmail.com wrote: > It doesn't work at all with the dahdi timers The reason it works it > works till the first reload is because you are preloading it before > dahdi so it starts and uses the pthread timer later when you reload it > starts using the dahdi timer and there it goes > > > -Original Message- > From: "Luke Hamburg" > Sender: asterisk-users-boun...@lists.digium.com > Date: Mon, 26 Sep 2011 00:36:28 > To: 'Asterisk Users Mailing List - Non-Commercial > Discussion' > Reply-To: Asterisk Users Mailing List - Non-Commercial Discussion > > Subject: Re: [asterisk-users] bounty for ASTERISK-17474 streaming > MusicOnHold bug > > Danny Nicholas wrote: >>> 2. Don't know if moving to 10.x would help you, but since that is >>> still > considered beta, that's probably not an option anyhow. > > Yup, not really an option for me. I actually use this system daily > and don't want to muck around with 10.0 just yet. > >>> 3. My understanding is that bounties need to be posted on the > asterisk-dev list. > > Fair enough, I couldn't find that info - can anyone else confirm this? > I don't want to go barging into the dev list looking like a fool. > >>> 4. With those caveats, have you tried this: Copy the load_module and > unload_module routines from res_timing_pthread.c to res_timing_dahdi.c > (you'll probably need some includes [..] > > Hehe - no I definitely haven't tried that. That's a bit above my pay > grade for now. I was hoping to find a more formal fix for this. > Still clinging onto the idea that with a decent bounty put together, > someone who knows the code well enough would be able to fix this. The > fact that it WORKS GREAT until the first 'moh reload' suggests to me > that it might be a relatively easy bug to squash. > > > > > -- > _ > -- Bandwidth and Colocation Provided by http://www.api-digital.com -- > New to Asterisk? Join us for a live introductory webinar every Thurs: >http://www.asterisk.org/hello > > asterisk-users mailing list > To UNSUBSCRIBE or update options visit: >http://lists.digium.com/mailman/listinfo/asterisk-users > -- > _ > -- Bandwidth and Colocation Provided by http://www.api-digital.com -- > New to Asterisk? Join us for a live introductory webinar every Thurs: >http://www.asterisk.org/hello > > asterisk-users mailing list > To UNSUBSCRIBE or update options visit: >http://lists.digium.com/mailman/listinfo/asterisk-users > -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] bounty for ASTERISK-17474 streamingMusicOnHold bug
Great explanation. Makes complete sense to me. Any workaround you can think of? -Vladimir On 9/26/2011 12:26 AM, isr...@gmail.com wrote: > It doesn't work at all with the dahdi timers > The reason it works it works till the first reload is because you are > preloading it before dahdi so it starts and uses the pthread timer later when > you reload it starts using the dahdi timer and there it goes > > > -Original Message- > From: "Luke Hamburg" > Sender: asterisk-users-boun...@lists.digium.com > Date: Mon, 26 Sep 2011 00:36:28 > To: 'Asterisk Users Mailing List - Non-Commercial > Discussion' > Reply-To: Asterisk Users Mailing List - Non-Commercial Discussion > > Subject: Re: [asterisk-users] bounty for ASTERISK-17474 streaming > MusicOnHold bug > > Danny Nicholas wrote: >>> 2. Don't know if moving to 10.x would help you, but since that is still > considered beta, that's probably not an option anyhow. > > Yup, not really an option for me. I actually use this system daily and > don't want to muck around with 10.0 just yet. > >>> 3. My understanding is that bounties need to be posted on the > asterisk-dev list. > > Fair enough, I couldn't find that info - can anyone else confirm this? I > don't want to go barging into the dev list looking like a fool. > >>> 4. With those caveats, have you tried this: Copy the load_module and > unload_module routines from res_timing_pthread.c to res_timing_dahdi.c > (you'll probably need some includes [..] > > Hehe - no I definitely haven't tried that. That's a bit above my pay grade > for now. I was hoping to find a more formal fix for this. Still clinging > onto the idea that with a decent bounty put together, someone who knows the > code well enough would be able to fix this. The fact that it WORKS GREAT > until the first 'moh reload' suggests to me that it might be a relatively > easy bug to squash. > > > > > -- > _ > -- Bandwidth and Colocation Provided by http://www.api-digital.com -- > New to Asterisk? Join us for a live introductory webinar every Thurs: >http://www.asterisk.org/hello > > asterisk-users mailing list > To UNSUBSCRIBE or update options visit: >http://lists.digium.com/mailman/listinfo/asterisk-users > -- > _ > -- Bandwidth and Colocation Provided by http://www.api-digital.com -- > New to Asterisk? Join us for a live introductory webinar every Thurs: >http://www.asterisk.org/hello > > asterisk-users mailing list > To UNSUBSCRIBE or update options visit: >http://lists.digium.com/mailman/listinfo/asterisk-users > -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] bounty for ASTERISK-17474 streamingMusicOnHold bug
It doesn't work at all with the dahdi timers The reason it works it works till the first reload is because you are preloading it before dahdi so it starts and uses the pthread timer later when you reload it starts using the dahdi timer and there it goes -Original Message- From: "Luke Hamburg" Sender: asterisk-users-boun...@lists.digium.com Date: Mon, 26 Sep 2011 00:36:28 To: 'Asterisk Users Mailing List - Non-Commercial Discussion' Reply-To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: Re: [asterisk-users] bounty for ASTERISK-17474 streaming MusicOnHold bug Danny Nicholas wrote: >> 2. Don't know if moving to 10.x would help you, but since that is still considered beta, that's probably not an option anyhow. Yup, not really an option for me. I actually use this system daily and don't want to muck around with 10.0 just yet. >> 3. My understanding is that bounties need to be posted on the asterisk-dev list. Fair enough, I couldn't find that info - can anyone else confirm this? I don't want to go barging into the dev list looking like a fool. >> 4. With those caveats, have you tried this: Copy the load_module and unload_module routines from res_timing_pthread.c to res_timing_dahdi.c (you'll probably need some includes [..] Hehe - no I definitely haven't tried that. That's a bit above my pay grade for now. I was hoping to find a more formal fix for this. Still clinging onto the idea that with a decent bounty put together, someone who knows the code well enough would be able to fix this. The fact that it WORKS GREAT until the first 'moh reload' suggests to me that it might be a relatively easy bug to squash. -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users