Re: [asterisk-users] bounty for ASTERISK-17474 streamingMusicOnHold bug

2011-09-25 Thread isrlgb
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 l...@solvent-llc.com
Sender: asterisk-users-boun...@lists.digium.com
Date: Mon, 26 Sep 2011 00:36:28 
To: 'Asterisk Users Mailing List - Non-Commercial 
Discussion'asterisk-users@lists.digium.com
Reply-To: Asterisk Users Mailing List - Non-Commercial Discussion
asterisk-users@lists.digium.com
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


Re: [asterisk-users] bounty for ASTERISK-17474 streamingMusicOnHold bug

2011-09-25 Thread Vladimir Mikhelson
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 l...@solvent-llc.com
 Sender: asterisk-users-boun...@lists.digium.com
 Date: Mon, 26 Sep 2011 00:36:28 
 To: 'Asterisk Users Mailing List - Non-Commercial 
 Discussion'asterisk-users@lists.digium.com
 Reply-To: Asterisk Users Mailing List - Non-Commercial Discussion
   asterisk-users@lists.digium.com
 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