Re: [asterisk-users] ztdummy and MOH
Try adding this to the [options] section of /etc/asterisk/asterisk.conf: internal_timing = yes The restart asterisk. Let us know if it helps. That solves the problem. Thanks! ___ --Bandwidth and Colocation provided by Easynews.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] ztdummy and MOH
No, what happens is the SIP client has silence suppression enabled. MOH works by symmetrical RTP. One frame of voice is received one frame of MOH is sent. So if the client supresses silence frames there is no MOH played during that time. ALso if you see: started music on hold stopped music on hold right after Chances are its your configuration that is the issue. On 3/28/07, Lacy Moore - Aspendora <[EMAIL PROTECTED]> wrote: On 3/27/07, Klaverstyn, David C <[EMAIL PROTECTED]> wrote: > WOW that fixed it! What an Idiot. > I was going somewhere with that, but never mind. Good luck. Maybe the idiot is the guy who posted no additional details of his configuration, in particular, whether the CLI was showing music on hold starting, and then stopping, or whether the music on hold process was continuing but no sound. If it was a timing issue, by rubbing your hand across the mouthpiece, I would guess it is generating interupts for the timer to work and music on hold works, until you stop rubbing it and it fades it out. Hitting or tapping the mouthpiece produces the same outcome. Or, it that doesn't produce anything, it could be a permissions problem. It could be something not configured correctly in the config file. It could be that you are using mp3s instead of native format, as Andrew had asked about. But, since I'm an idiot, what do I know? ___ --Bandwidth and Colocation provided by Easynews.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users ___ --Bandwidth and Colocation provided by Easynews.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
RE: [asterisk-users] ztdummy and MOH
Wooi wrote: > I have the similar problem on 1.4.1. I don't remember > having it in 1.4.0, I could be wrong. I have a SIP > provider, when calls come in, it play MOH while waiting > for to be picked up. ztdummy is loaded. > Another interesting thing I notice, > exten => s,1,Zapateller(answer|nocallerid) > exten => s,n,Background(PleaseWait) > exten => s,n,Dial(100,30,r) > Please note, if I use "r" (ring) instead of "m" in the > Dial option, I have choppy ring too. If I rub my finger > on the mouth piece, the ring/MOH is fine. > Any solution to this problem? I'm using asterisk 1.4.1 > with zaptel 1.4.0. Try adding this to the [options] section of /etc/asterisk/asterisk.conf: internal_timing = yes The restart asterisk. Let us know if it helps. Dan ___ --Bandwidth and Colocation provided by Easynews.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] ztdummy and MOH
On 3/28/07, Eric ManxPower Wieling <[EMAIL PROTECTED]> wrote: Klaverstyn, David C wrote: > I am using autoload and I have rebooted the server. I have tried using > different files and a different location. This is getting very > frustrating. If the call was a SIP call then I would say that the device is using VAD/CND (silence detection). This is the classic cause of MoH only working when there is audio going in the other direction. Maybe there is SIP somewhere in the call path. I have the similar problem on 1.4.1. I don't remember having it in 1.4.0, I could be wrong. I have a SIP provider, when calls come in, it play MOH while waiting for to be picked up. ztdummy is loaded. Another interesting thing I notice, exten => s,1,Zapateller(answer|nocallerid) exten => s,n,Background(PleaseWait) exten => s,n,Dial(100,30,r) Please note, if I use "r" (ring) instead of "m" in the Dial option, I have choppy ring too. If I rub my finger on the mouth piece, the ring/MOH is fine. Any solution to this problem? I'm using asterisk 1.4.1 with zaptel 1.4.0. Thanks. Wooi ___ --Bandwidth and Colocation provided by Easynews.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] ztdummy and MOH
Klaverstyn, David C wrote: I am using autoload and I have rebooted the server. I have tried using different files and a different location. This is getting very frustrating. If the call was a SIP call then I would say that the device is using VAD/CND (silence detection). This is the classic cause of MoH only working when there is audio going in the other direction. Maybe there is SIP somewhere in the call path. -- This message has been 'sanitized'. This means that potentially dangerous content has been rewritten or removed. The following log describes which actions were taken. Sanitizer (start="1175091047"): Split unusually long word(s) in header. SanitizeFile (filename="unnamed.txt", mimetype="text/plain"): Match (names="unnamed.txt", rule="1"): Enforced policy: accept Total modifications so far: 1 Anomy 0.0.0 : Sanitizer.pm $Id: Sanitizer.pm,v 1.94 2006/01/02 16:43:10 bre Exp $ ___ --Bandwidth and Colocation provided by Easynews.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] ztdummy and MOH
On 3/28/07, Klaverstyn, David C <[EMAIL PROTECTED]> wrote: I am using autoload and I have rebooted the server. I have tried using different files and a different location. This is getting very frustrating. I wish I knew what the problem was. Not that it will help me, because I'm pretty much clueless from here... How are you calling music on hold? Is this just by putting someone on hold, or do you have an extension defined with music on hold? Someone else may be able to pick up on something by knowing that. In the forums, there's a mention of music on hold having problems when used with the dial command (instead of ringing, use music on hold). I know there is an issue using that in connection with chan_sccp and Cisco phones. I've run out of ideas. Hopefully someone in the morning that's had this issue will see this. It kinda rules out any bad files or conversion problems if you've used the files that came with asterisk. I hate being stumped, but I'm stumped. ___ --Bandwidth and Colocation provided by Easynews.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
RE: [asterisk-users] ztdummy and MOH
I am using autoload and I have rebooted the server. I have tried using different files and a different location. This is getting very frustrating. I wish I knew what the problem was. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Lacy Moore - Aspendora Sent: Wednesday, 28 March 2007 3:40 PM To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: Re: [asterisk-users] ztdummy and MOH On 3/28/07, Klaverstyn, David C <[EMAIL PROTECTED]> wrote: > The cli shows: >-- Started music on hold, class 'jessica', on channel 'IAX2/205-3' >-- Stopped music on hold on IAX2/205-3 That rules out the timing. I see this note in the config file: ; If you are not using "autoload" in modules.conf, then you ; must ensure that the format modules for any formats you wish ; to use are loaded _before_ res_musiconhold. If you do not do ; this, res_musiconhold will skip the files it is not able to ; understand when it loads. Does that apply? Also, I'm not sure if this still applies, but at one time, you had to issue a restart command if you added any music files for the Asterisk to see them. A reload command wouldn't do it. Have you tried restart (not of the system, just Asterisk from cli). Another thing you may or not be able to check... what if you just put the files in the default directory and in the default context? Do they work then? This would eliminate some of the musiconhold config options causing problems. I guess along those lines do the default music on hold files work? ___ --Bandwidth and Colocation provided by Easynews.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users ___ --Bandwidth and Colocation provided by Easynews.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] ztdummy and MOH
Lacy, it appeared to me that he was calling himself an idiot. Thanks for some of the background on the issue, though. On 3/27/07, Lacy Moore - Aspendora <[EMAIL PROTECTED]> wrote: On 3/27/07, Klaverstyn, David C <[EMAIL PROTECTED]> wrote: > WOW that fixed it! What an Idiot. > I was going somewhere with that, but never mind. Good luck. Maybe the idiot is the guy who posted no additional details of his configuration, in particular, whether the CLI was showing music on hold starting, and then stopping, or whether the music on hold process was continuing but no sound. If it was a timing issue, by rubbing your hand across the mouthpiece, I would guess it is generating interupts for the timer to work and music on hold works, until you stop rubbing it and it fades it out. Hitting or tapping the mouthpiece produces the same outcome. Or, it that doesn't produce anything, it could be a permissions problem. It could be something not configured correctly in the config file. It could be that you are using mp3s instead of native format, as Andrew had asked about. But, since I'm an idiot, what do I know? ___ --Bandwidth and Colocation provided by Easynews.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users ___ --Bandwidth and Colocation provided by Easynews.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] ztdummy and MOH
On 3/28/07, Klaverstyn, David C <[EMAIL PROTECTED]> wrote: The cli shows: -- Started music on hold, class 'jessica', on channel 'IAX2/205-3' -- Stopped music on hold on IAX2/205-3 That rules out the timing. I see this note in the config file: ; If you are not using "autoload" in modules.conf, then you ; must ensure that the format modules for any formats you wish ; to use are loaded _before_ res_musiconhold. If you do not do ; this, res_musiconhold will skip the files it is not able to ; understand when it loads. Does that apply? Also, I'm not sure if this still applies, but at one time, you had to issue a restart command if you added any music files for the Asterisk to see them. A reload command wouldn't do it. Have you tried restart (not of the system, just Asterisk from cli). Another thing you may or not be able to check... what if you just put the files in the default directory and in the default context? Do they work then? This would eliminate some of the musiconhold config options causing problems. I guess along those lines do the default music on hold files work? ___ --Bandwidth and Colocation provided by Easynews.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
RE: [asterisk-users] ztdummy and MOH
The cli shows: -- Started music on hold, class 'jessica', on channel 'IAX2/205-3' -- Stopped music on hold on IAX2/205-3 I am using MP3 but I also tried it with WAV and GSM with the same result. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Lacy Moore - Aspendora Sent: Wednesday, 28 March 2007 3:06 PM To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: Re: [asterisk-users] ztdummy and MOH On 3/27/07, Klaverstyn, David C <[EMAIL PROTECTED]> wrote: > WOW that fixed it! What an Idiot. > I was going somewhere with that, but never mind. Good luck. Maybe the idiot is the guy who posted no additional details of his configuration, in particular, whether the CLI was showing music on hold starting, and then stopping, or whether the music on hold process was continuing but no sound. If it was a timing issue, by rubbing your hand across the mouthpiece, I would guess it is generating interupts for the timer to work and music on hold works, until you stop rubbing it and it fades it out. Hitting or tapping the mouthpiece produces the same outcome. Or, it that doesn't produce anything, it could be a permissions problem. It could be something not configured correctly in the config file. It could be that you are using mp3s instead of native format, as Andrew had asked about. But, since I'm an idiot, what do I know? ___ --Bandwidth and Colocation provided by Easynews.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users ___ --Bandwidth and Colocation provided by Easynews.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] ztdummy and MOH
On 3/27/07, Klaverstyn, David C <[EMAIL PROTECTED]> wrote: WOW that fixed it! What an Idiot. I was going somewhere with that, but never mind. Good luck. Maybe the idiot is the guy who posted no additional details of his configuration, in particular, whether the CLI was showing music on hold starting, and then stopping, or whether the music on hold process was continuing but no sound. If it was a timing issue, by rubbing your hand across the mouthpiece, I would guess it is generating interupts for the timer to work and music on hold works, until you stop rubbing it and it fades it out. Hitting or tapping the mouthpiece produces the same outcome. Or, it that doesn't produce anything, it could be a permissions problem. It could be something not configured correctly in the config file. It could be that you are using mp3s instead of native format, as Andrew had asked about. But, since I'm an idiot, what do I know? ___ --Bandwidth and Colocation provided by Easynews.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
RE: [asterisk-users] ztdummy and MOH
WOW that fixed it! What an Idiot. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Lacy Moore - Aspendora Sent: Wednesday, 28 March 2007 1:40 PM To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: Re: [asterisk-users] ztdummy and MOH On 3/27/07, Klaverstyn, David C <[EMAIL PROTECTED]> wrote: > I have installed Asterisk 1.4.2 and have loaded ztdummy as I have no Digium > cards. The problem I have is that MOH will not play. It starts and then > stops. > If you rub your hand across the mouthpiece of the phone, does the music play? ___ --Bandwidth and Colocation provided by Easynews.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users ___ --Bandwidth and Colocation provided by Easynews.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] ztdummy and MOH
On 3/27/07, Klaverstyn, David C <[EMAIL PROTECTED]> wrote: I have installed Asterisk 1.4.2 and have loaded ztdummy as I have no Digium cards. The problem I have is that MOH will not play. It starts and then stops. If you rub your hand across the mouthpiece of the phone, does the music play? ___ --Bandwidth and Colocation provided by Easynews.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] ztdummy and MOH
It would make more sense if you posted the musiconhold.conf file and stated if you did or didn't install the asterisk_addons package with mp3 support. On 3/27/07, Klaverstyn, David C <[EMAIL PROTECTED]> wrote: Hi All, I have installed Asterisk 1.4.2 and have loaded ztdummy as I have no Digium cards. The problem I have is that MOH will not play. It starts and then stops. asterisk*CLI> zap show status Description Alarms IRQ bpviol CRC4 ZTDUMMY/1 1 UNCONFIGUR 0 0 0 I'm not sure if the above is correct. Please help. Thanks. ___ --Bandwidth and Colocation provided by Easynews.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users ___ --Bandwidth and Colocation provided by Easynews.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users