Re: [asterisk-users] Music on Hold Problem w/ Transfers

2007-11-21 Thread Tony Plack
Lacy  Brian,
Could you please set verbosity to 10, then place your calls/holds/transfers and 
post the output?

Both where it works and where it doesn't.

Otherwise, helping you troubleshoot this will be difficult.

Tony Plack

 On Nov 20, 2007 3:52 PM, Lacy Moore [EMAIL PROTECTED] wrote:

 I think I'm missing a change between 1.2 and 1.4.  When using 1.4
 (so far 1.4.9, 1.4.13, and 1.4.14), music on hold is not working
 for transfers or parked calls.  It does work when putting the
 call on hold.  If I revert back to 1.2.23 using the same config
 and same music on hold files, it works.


 After posting, I dialed my cellphone, and music on hold works in
 all situations.  It's something having to do with internal calls. 
 I don't really care if that isn't working.  I didn't think to try
 that first.

___
--Bandwidth and Colocation Provided by http://www.api-digital.com--

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] Music on Hold Problem w/ Transfers

2007-11-21 Thread Anciso, Roy
I'm having this problem.  Here is my output with verbosity on 10:

  -- Executing [EMAIL PROTECTED]:1] Dial(SIP/2524-099012b0, SIP/2523|15)
in new stack
-- Called 2523
-- SIP/2523-09905220 is ringing
-- SIP/2523-09905220 answered SIP/2524-099012b0
-- Packet2Packet bridging SIP/2524-099012b0 and SIP/2523-09905220
-- Started music on hold, class 'default', on SIP/2524-099012b0
-- Executing [EMAIL PROTECTED]:1] Dial(SIP/2523-0990f110,
SIP/2500|15) in new stack
-- Called 2500
-- SIP/2500-09913080 is ringing
-- Stopped music on hold on SIP/2524-099012b0
  == Spawn extension (default, 2523, 1) exited non-zero on
'SIP/2523-0990f110ZOMBIE'
-- Nobody picked up in 15000 ms
[Nov 21 13:25:05] NOTICE[14600]: cdr.c:434 ast_cdr_free: CDR on channel
'SIP/2500-09913080' not posted
-- Executing [EMAIL PROTECTED]:2] VoiceMail(SIP/2524-099012b0,
u2500) in new stack
-- SIP/2524-099012b0 Playing
'/var/spool/asterisk/voicemail/default/2500/unavail' (language 'en')
  == Spawn extension (default, 2500, 2) exited non-zero on
'SIP/2524-099012b0'


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Tony Plack
Sent: Wednesday, November 21, 2007 9:17 AM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: Re: [asterisk-users] Music on Hold Problem w/ Transfers

Lacy  Brian,
Could you please set verbosity to 10, then place your
calls/holds/transfers and post the output?

Both where it works and where it doesn't.

Otherwise, helping you troubleshoot this will be difficult.

Tony Plack

 On Nov 20, 2007 3:52 PM, Lacy Moore [EMAIL PROTECTED] wrote:

 I think I'm missing a change between 1.2 and 1.4.  When using 1.4
 (so far 1.4.9, 1.4.13, and 1.4.14), music on hold is not working
 for transfers or parked calls.  It does work when putting the
 call on hold.  If I revert back to 1.2.23 using the same config
 and same music on hold files, it works.


 After posting, I dialed my cellphone, and music on hold works in
 all situations.  It's something having to do with internal calls. 
 I don't really care if that isn't working.  I didn't think to try
 that first.

___
--Bandwidth and Colocation Provided by http://www.api-digital.com--

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--

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] Music on Hold Problem w/ Transfers

2007-11-21 Thread Brian J. Murrell
On Wed, 2007-11-21 at 08:17 -0600, Tony Plack wrote:
 Lacy  Brian,
 Could you please set verbosity to 10, then place your calls/holds/transfers 
 and post the output?

I had mine set to 100 in fact and did paste the portion of asterisk
output where the transfer was happening.

But as I said in a followup, I solved the problem by going to 1.4.11.

Thanx though, for your input.

b.


___
--Bandwidth and Colocation Provided by http://www.api-digital.com--

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] Music on Hold Problem w/ Transfers

2007-11-21 Thread Tony Plack

 Started music on hold, class 'default', on SIP/2524-099012b0 --

Please post your [default] section of musiconhold.conf

Also need to know what version of Asterisk, version of kernel. Do you have 
ztdummy loaded (lsmod)?

___
--Bandwidth and Colocation Provided by http://www.api-digital.com--

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] Music on Hold Problem w/ Transfers

2007-11-21 Thread Anciso, Roy
Asterisk version 1.4.13
Also when I listened in on a transfer it sounds like the moh is trying
to start but then immediately stop and tries to start again.  
Below is my musiconhold.conf:

[default]
mode=files
directory=/var/lib/asterisk/moh
random=no


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Tony Plack
Sent: Wednesday, November 21, 2007 6:44 PM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: Re: [asterisk-users] Music on Hold Problem w/ Transfers


 Started music on hold, class 'default', on SIP/2524-099012b0 --

Please post your [default] section of musiconhold.conf

Also need to know what version of Asterisk, version of kernel. Do you
have ztdummy loaded (lsmod)?

___
--Bandwidth and Colocation Provided by http://www.api-digital.com--

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--

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


[asterisk-users] Music on Hold Problem w/ Transfers

2007-11-20 Thread Lacy Moore
I think I'm missing a change between 1.2 and 1.4.  When using 1.4 (so far
1.4.9, 1.4.13, and 1.4.14), music on hold is not working for transfers or
parked calls.  It does work when putting the call on hold.  If I revert back
to 1.2.23 using the same config and same music on hold files, it works.

I've looked at the sample config files for 1.4 and nothing seems to jump out
at me as to what the problem could be.

For the purposes of figuring this out, I'm using Zaptel 1.4.6 for both 1.2and
1.4.

Any clues?

Thanks!

-- 
Lacy Moore
Somewhere I wish I wasn't
___
--Bandwidth and Colocation Provided by http://www.api-digital.com--

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Re: [asterisk-users] Music on Hold Problem w/ Transfers

2007-11-20 Thread Brian J. Murrell
On Tue, 2007-11-20 at 15:52 -0600, Lacy Moore wrote:
 I think I'm missing a change between 1.2 and 1.4.  When using 1.4 (so
 far 1.4.9, 1.4.13, and 1.4.14), music on hold is not working for
 transfers or parked calls.

FWIW, I'm using 1.4.10 and music on hold for transfers is working
fine... for as long as the tranferee remains on hold before the transfer
process hangs up their channel that is.  I wish I could figure that one
out.  :-)  Not even sure how to debug it in fact.  :-(

b.





___
--Bandwidth and Colocation Provided by http://www.api-digital.com--

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] Music on Hold Problem w/ Transfers

2007-11-20 Thread Lacy Moore
On Nov 20, 2007 3:52 PM, Lacy Moore [EMAIL PROTECTED] wrote:

 I think I'm missing a change between 1.2 and 1.4.  When using 1.4 (so far
 1.4.9, 1.4.13, and 1.4.14), music on hold is not working for transfers or
 parked calls.  It does work when putting the call on hold.  If I revert back
 to 1.2.23 using the same config and same music on hold files, it works.



 After posting, I dialed my cellphone, and music on hold works in all
situations.  It's something having to do with internal calls.  I don't
really care if that isn't working.  I didn't think to try that first.
___
--Bandwidth and Colocation Provided by http://www.api-digital.com--

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Re: [asterisk-users] Music on hold problem

2007-07-19 Thread yonoko molomo
Hi,

Thanks for the answer.
Actually I noticed that several things dont work properly and I think
the ooh323 channel driver is the reason.

For instance, when I configure my extensions.conf to answer the phone
and playback a sound (for instance nobodyavailable message after
10secs), only the last part of the sound is played (i hear sometimes
only the last word, sometimes i hear nothing!). In the CLI I see that
asterisk is playing the sound file, but in the h323 phone i do not
hear the complete message.
I solved this issue putting a wait(3) just before the Playback
function. It seems that somehow ohh323 or asterisk needs some time to
setup the channel or something, and the sound has been already played
in the meantime.

I also have the same sound problem using the Meetme function to join a
conference bridge. I should hear After the tone say your name and
then press the pound key. I normally do not hear the first 4 or 5
words. I tried to put some wait functions, but here it does not work.
In the CLI I see again those strange messages (Don't know how to
indicate condition -xxx on ooh323c_1...), and asterisk says that he is
playing several sound files, but in the phones

The same problem using Voicemail. I should hear a message asking for
my mailbox number, but normally I do not hear anything.

Do you think the patch I will fix the problems?

I will try later, thanks

2007/7/19, Russell Bryant [EMAIL PROTECTED]:
 yonoko molomo wrote:
  [Jul 17 11:19:22] WARNING[23645]: src/chan_h323.c:1044
  ooh323_indicate: Don't know how to indicate condition -1 on ooh323c_1
  [Jul 17 11:19:25] NOTICE[23645]: rtp.c:783 process_rfc3389: Comfort
  noise support incomplete in Asterisk (RFC 3389). Please turn off on
  client if possible. Client IP: 10.4.0.116
  [Jul 17 11:19:25] WARNING[23645]: src/chan_h323.c:1044
  ooh323_indicate: Don't know how to indicate condition 16 on ooh323c_1

 This would be a bug in the ooh323 channel driver.  Feel free to report it to
 bugs.digium.com.  I think it's an easy fix.

 ...

 In fact, here is a patch that should fix it.  Feel free to go ahead and give 
 it
 a try and let me know if it fixes the problem for you.  However, please still
 report it to bugs.digium.com, or I will forget to merge the change.


 Index: asterisk-ooh323c/src/chan_h323.c
 ===
 --- asterisk-ooh323c/src/chan_h323.c(revision 413)
 +++ asterisk-ooh323c/src/chan_h323.c(working copy)
 @@ -1036,9 +1036,16 @@
   ast_set_flag(p, H323_ALREADYGONE);
}
break;
 +  case AST_CONTROL_HOLD:
 + ast_moh_start(ast, data, NULL);
 + break;
 +  case AST_CONTROL_UNHOLD:
 +ast_moh_stop(ast);
 + break;
 case AST_CONTROL_PROCEEDING:
 case AST_CONTROL_RINGING:
 case AST_CONTROL_PROGRESS:
 +  case -1;
break;
 default:
ast_log(LOG_WARNING,Don't know how to indicate condition %d on 
 %s\n,


 --
 Russell Bryant
 Software Engineer
 Digium, Inc.

 ___
 --Bandwidth and Colocation Provided by http://www.api-digital.com--

 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--

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] Music on hold problem

2007-07-18 Thread Russell Bryant
yonoko molomo wrote:
 [Jul 17 11:19:22] WARNING[23645]: src/chan_h323.c:1044
 ooh323_indicate: Don't know how to indicate condition -1 on ooh323c_1
 [Jul 17 11:19:25] NOTICE[23645]: rtp.c:783 process_rfc3389: Comfort
 noise support incomplete in Asterisk (RFC 3389). Please turn off on
 client if possible. Client IP: 10.4.0.116
 [Jul 17 11:19:25] WARNING[23645]: src/chan_h323.c:1044
 ooh323_indicate: Don't know how to indicate condition 16 on ooh323c_1

This would be a bug in the ooh323 channel driver.  Feel free to report it to 
bugs.digium.com.  I think it's an easy fix.

...

In fact, here is a patch that should fix it.  Feel free to go ahead and give it 
a try and let me know if it fixes the problem for you.  However, please still 
report it to bugs.digium.com, or I will forget to merge the change.


Index: asterisk-ooh323c/src/chan_h323.c
===
--- asterisk-ooh323c/src/chan_h323.c(revision 413)
+++ asterisk-ooh323c/src/chan_h323.c(working copy)
@@ -1036,9 +1036,16 @@
  ast_set_flag(p, H323_ALREADYGONE);
   }
   break;
+  case AST_CONTROL_HOLD:
+ ast_moh_start(ast, data, NULL);
+ break;
+  case AST_CONTROL_UNHOLD:
+ast_moh_stop(ast);
+ break;
case AST_CONTROL_PROCEEDING:
case AST_CONTROL_RINGING:
case AST_CONTROL_PROGRESS:
+  case -1;
   break;
default:
   ast_log(LOG_WARNING,Don't know how to indicate condition %d on 
%s\n,


-- 
Russell Bryant
Software Engineer
Digium, Inc.

___
--Bandwidth and Colocation Provided by http://www.api-digital.com--

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


[asterisk-users] Music on hold problem

2007-07-17 Thread yonoko molomo
Hi,
I am using asterisk 1.4.
I have confgured the musiconhold.conf file.
However, when i make a call and then hold the call it does nothing.
in the CLI i do not see the starting/stopping musiconhold messages.

i am making calls from sip to h323 using asterisk assip/h323 gateway
(with gnugk and ooh323).
i get the following messages when putting the call on hold:

-- Executing [EMAIL PROTECTED]:1] Ringing(OOH323/1169fed2-70c5, ) in new 
stack
-- Executing [EMAIL PROTECTED]:2] Dial(OOH323/1169fed2-70c5,
SIP/ht04|6|r) in new stack
-- Called ht04
-- SIP/ht04-081fe7f0 is ringing
-- SIP/ht04-081fe7f0 answered OOH323/1169fed2-70c5
...on hold...
[Jul 17 11:19:22] WARNING[23645]: src/chan_h323.c:1044
ooh323_indicate: Don't know how to indicate condition -1 on ooh323c_1
[Jul 17 11:19:25] NOTICE[23645]: rtp.c:783 process_rfc3389: Comfort
noise support incomplete in Asterisk (RFC 3389). Please turn off on
client if possible. Client IP: 10.4.0.116
[Jul 17 11:19:25] WARNING[23645]: src/chan_h323.c:1044
ooh323_indicate: Don't know how to indicate condition 16 on ooh323c_1

I have no idea why the musiconhold is not triggered,  what those
messages mean (dont know how to indicate condition) and if they are
related to the music on hold problem


someone has any idea?

in the CLI i type
CLI moh show files
and i see one file i put in the directory.

i tried configuring the musiconhold.conf file as quitemp3, files and
also custom (installing mpg123) but none of them starts musiconhold.

do i need to activate musiconhold somewhere else?

any help is welcome
thanks

___
--Bandwidth and Colocation Provided by http://www.api-digital.com--

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [Asterisk-Users] Music on hold problem

2006-05-30 Thread Matt

I am having this issue.. asterisk 1.2.7   using native MOH without
mpg123.   Calls get put on park and EVERYTIME it seems to start the
music off the same (even though I've chosen to do it randomly!)...
then after playing the first song it just goes to dead air.

STEPS TO REPRODUCE:
Xfer -- 70
Caller hears music on hold while allison is telling me 71
Hang up.
The caller now gets the music *I* was hearing which seems to always be
the same, and then at the end of the song gets dead air!


On 4/15/06, Lacy Moore - Aspendora [EMAIL PROTECTED] wrote:

I can see in some cases where you might want to start all callers from the
beginning, but I can also see in some cases where you would not.  This
sounds to me like we need an option.


___
--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] Music on hold problem

2006-04-15 Thread Daniel Korndorfer
Thanks Matt...

D.K.

On 4/13/06, Don Pobanz [EMAIL PROTECTED] wrote:
 Thank you Matt!!!

 Matt Roth wrote:
  Try switching to native MOH.  You'll eliminate the decoding of the MP3s
  and the host of problems that come along with using mpg123.  The MOH is
  handled by the same thread that's handling the call, so you should see
  an overall performance benefit.  Memory usage may go up a little, but I
  don't think many Asterisk boxes are memory bound.

 I did not have mpg123 installed so I do not know what was being used for
 moh. Regardless my moh audio stopping problem was resolved by following
 the recipe you showed me at
 http://www.oinko.net/astrecipes/index.php?n=152

 Thanks Matt Roth!

 Don Pobanz
 ___
 --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] Music on hold problem

2006-04-15 Thread Alex Brett

Matt Roth wrote:

Don Pobanz wrote:


I believe I am using MP3. My musiconhold.conf file looks like this

[default]
mode=quietmp3
directory=/var/lib/asterisk/mohmp3


Daniel and Don,

Try switching to native MOH.  You'll eliminate the decoding of the MP3s 
and the host of problems that come along with using mpg123.  The MOH is 
handled by the same thread that's handling the call, so you should see 
an overall performance benefit.  Memory usage may go up a little, but I 
don't think many Asterisk boxes are memory bound.




I've tried using native MOH, I don't like the fact that it isn't 
continuous, i.e. if somebody calls in, gets put on hold, they hear music 
from the start of a track. They then get taken off hold, and spoken to 
for a while say, then put back on hold, and they again hear from the 
start of a track. I much prefer the setup with mpg123 where the music is 
playing continuously, although I do appreciate the problems with it...


Alex

--
Alex Brett
[EMAIL PROTECTED]
http://www.loho.co.uk/

___
--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] Music on hold problem

2006-04-15 Thread Lacy Moore - Aspendora
I can see in some cases where you might want to start all callers from the beginning, but I can also see in some cases where you would not. This sounds to me like we need an option. 
___
--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


[Asterisk-Users] Music on hold problem

2006-04-13 Thread Daniel Korndorfer
Hi,
i'm having problems with the MOH module. In a queue sometimes it just
stop playing, does anyone have some idea what could be wrong?
No verbose data...

Tks,
Daniel Korndorfer
___
--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] Music on hold problem

2006-04-13 Thread Gareth Blades
What version of Asterisk?

On Thu, 2006-04-13 at 12:38, Daniel Korndorfer wrote:
 Hi,
 i'm having problems with the MOH module. In a queue sometimes it just
 stop playing, does anyone have some idea what could be wrong?
 No verbose data...
 
 Tks,
 Daniel Korndorfer
 ___
 --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] Music on hold problem

2006-04-13 Thread Daniel Korndorfer
I had this problem with 1.2.5, 1.2.6 and now with 1.2.7...

On 4/13/06, Gareth Blades [EMAIL PROTECTED] wrote:
 What version of Asterisk?

 On Thu, 2006-04-13 at 12:38, Daniel Korndorfer wrote:
  Hi,
  i'm having problems with the MOH module. In a queue sometimes it just
  stop playing, does anyone have some idea what could be wrong?
  No verbose data...
 
  Tks,
  Daniel Korndorfer
  ___
  --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

___
--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] Music on hold problem

2006-04-13 Thread Don Pobanz

Daniel Korndorfer wrote:

i'm having problems with the MOH module. In a queue sometimes it just
stop playing, does anyone have some idea what could be wrong?
No verbose data...


Occasionally I am seeing music on hold stop playing for parked calls, so 
this isn't unique for queues. Maybe it is as Daniel said something to do 
with MOH. I am running 1.2.6.


Don Pobanz

___
--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] Music on hold problem

2006-04-13 Thread Alex Brett

Don Pobanz wrote:

Daniel Korndorfer wrote:

i'm having problems with the MOH module. In a queue sometimes it just
stop playing, does anyone have some idea what could be wrong?
No verbose data...


Occasionally I am seeing music on hold stop playing for parked calls, so 
this isn't unique for queues. Maybe it is as Daniel said something to do 
with MOH. I am running 1.2.6.




I have an extension set up that just dumps the caller into MusicOnHold, 
which I use for testing new MOH music. I've noticed a similar thing with 
this, that sometimes it finished playing one track, and just doesn't 
start the next.


Alex

--
Alex Brett
[EMAIL PROTECTED]
http://www.loho.co.uk/

___
--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] Music on hold problem

2006-04-13 Thread Justin Tunney

Are you guys using native music on hold, or MP3 music on hold?

On Thu, 13 Apr 2006 10:09:26 -0400, Alex Brett [EMAIL PROTECTED]  
wrote:



Don Pobanz wrote:

Daniel Korndorfer wrote:

i'm having problems with the MOH module. In a queue sometimes it just
stop playing, does anyone have some idea what could be wrong?
No verbose data...
 Occasionally I am seeing music on hold stop playing for parked calls,  
so this isn't unique for queues. Maybe it is as Daniel said something  
to do with MOH. I am running 1.2.6.




I have an extension set up that just dumps the caller into MusicOnHold,  
which I use for testing new MOH music. I've noticed a similar thing with  
this, that sometimes it finished playing one track, and just doesn't  
start the next.


Alex





--
  Justin Tunney
___
--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] Music on hold problem

2006-04-13 Thread Don Pobanz

Justin Tunney wrote:

Are you guys using native music on hold, or MP3 music on hold?


I believe I am using MP3. My musiconhold.conf file looks like this

[default]
mode=quietmp3
directory=/var/lib/asterisk/mohmp3

--
Don Pobanz

___
--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] Music on hold problem

2006-04-13 Thread Matt Roth

Don Pobanz wrote:


I believe I am using MP3. My musiconhold.conf file looks like this

[default]
mode=quietmp3
directory=/var/lib/asterisk/mohmp3


Daniel and Don,

Try switching to native MOH.  You'll eliminate the decoding of the MP3s 
and the host of problems that come along with using mpg123.  The MOH is 
handled by the same thread that's handling the call, so you should see 
an overall performance benefit.  Memory usage may go up a little, but I 
don't think many Asterisk boxes are memory bound.


Here's a guide to converting your MOH files: 
http://www.oinko.net/astrecipes/index.php?n=152


Since you're already running Asterisk 1.2, I don't see any reason not to 
take advantage of this feature.  Please give it a shot and report your 
results back to the list.


Matthew Roth
InterMedia Marketing Solutions
Software Engineer and Systems Developer
___
--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] Music on hold problem

2006-04-13 Thread Don Pobanz

Thank you Matt!!!

Matt Roth wrote:
Try switching to native MOH.  You'll eliminate the decoding of the MP3s 
and the host of problems that come along with using mpg123.  The MOH is 
handled by the same thread that's handling the call, so you should see 
an overall performance benefit.  Memory usage may go up a little, but I 
don't think many Asterisk boxes are memory bound.


I did not have mpg123 installed so I do not know what was being used for 
moh. Regardless my moh audio stopping problem was resolved by following 
the recipe you showed me at

http://www.oinko.net/astrecipes/index.php?n=152

Thanks Matt Roth!

Don Pobanz
___
--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] music on hold problem

2005-12-20 Thread Fredrik Emil Jensen








I got the same problem, look in the thread
ztdummy / timer problem with kernel 2.6.14. 



But when I compile a new kernel back to
2.4.31 I managed to play the music for some more secs, and the shoutcast music
is working fine. If you do a zttest which results do you get? And what kernel
version are you running?



Regards, 

Fredrik Jensen











From:
[EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Matt
Sent: 20. desember 2005 08:48
To:
asterisk-users@lists.digium.com
Subject: [Asterisk-Users] music on
hold problem







hi guys:











my asterisk 1.2.1 just won't play music on hold, it will
play a tiny bit of music at the beginning, then go silent, doing: 





set debug 1, 











found error msg:





monmp3thread: Only wrote -1 of 1600 bytes to pipe:
(11)Resource temporarily unavailable





is this a bug?











anyone know what's wrong.











matt








___
--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] music on hold problem

2005-12-20 Thread Matt



I'm using kernel 2.6.9-22.0.1.EL, my asterisk has no zap card.

but my another E1 box suffers same no music problem 
using 1.2.1. with kernel 2.4. zttest result 
worst 99.86, average 99.95. the same E1 box running 1.0.9 version do have music 
played fine.

Best Regards

matt

  - Original Message - 
  From: 
  Fredrik Emil 
  Jensen 
  To: Asterisk Users Mailing List - 
  Non-Commercial Discussion 
  Sent: Tuesday, December 20, 2005 12:03 
  AM
  Subject: RE: [Asterisk-Users] music on 
  hold problem
  
  
  I got the same 
  problem, look in the thread ztdummy / timer problem with kernel 2.6.14. 
  
  
  But when I compile a 
  new kernel back to 2.4.31 I managed to play the music for some more secs, and 
  the shoutcast music is working fine. If you do a zttest which results do you 
  get? And what kernel version are you running?
  
  Regards, 
  
  Fredrik 
  Jensen
  
  
  
  
  
  From: 
  [EMAIL PROTECTED] 
  [mailto:[EMAIL PROTECTED] On Behalf Of MattSent: 20. desember 2005 08:48To: 
  asterisk-users@lists.digium.comSubject: [Asterisk-Users] music on hold 
  problem
  
  
  hi 
  guys:
  
  
  
  my asterisk 1.2.1 just won't play 
  music on hold, it will play a tiny bit of music at the beginning, then go 
  silent, doing: 
  
  set debug 1, 
  
  
  
  
  found error 
  msg:
  
  monmp3thread: Only wrote -1 of 
  1600 bytes to pipe: (11)Resource temporarily 
  unavailable
  
  is this a 
  bug?
  
  
  
  anyone know what's 
  wrong.
  
  
  
  matt
  
  

  ___--Bandwidth and 
  Colocation provided by Easynews.com --Asterisk-Users mailing 
  listTo 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] music on hold problem

2005-12-20 Thread Dov Bigio



I had MOH working with 1.0.9, but now it keeps 
showing the following log message

Dec 20 11:45:05 WARNING[30548]: interface.c:215 
decodeMP3: Junk at the beginning of frame 54414700

And no moh is being played!



  - Original Message - 
  From: 
  Fredrik Emil 
  Jensen 
  To: Asterisk Users Mailing List - 
  Non-Commercial Discussion 
  Sent: Tuesday, December 20, 2005 6:03 
  AM
  Subject: RE: [Asterisk-Users] music on 
  hold problem
  
  
  I got the same 
  problem, look in the thread ztdummy / timer problem with kernel 2.6.14. 
  
  
  But when I compile a 
  new kernel back to 2.4.31 I managed to play the music for some more secs, and 
  the shoutcast music is working fine. If you do a zttest which results do you 
  get? And what kernel version are you running?
  
  Regards, 
  
  Fredrik 
  Jensen
  
  
  
  
  
  From: 
  [EMAIL PROTECTED] 
  [mailto:[EMAIL PROTECTED] On Behalf Of MattSent: 20. desember 2005 08:48To: 
  asterisk-users@lists.digium.comSubject: [Asterisk-Users] music on hold 
  problem
  
  
  hi 
  guys:
  
  
  
  my asterisk 1.2.1 just won't play 
  music on hold, it will play a tiny bit of music at the beginning, then go 
  silent, doing: 
  
  set debug 1, 
  
  
  
  
  found error 
  msg:
  
  monmp3thread: Only wrote -1 of 
  1600 bytes to pipe: (11)Resource temporarily 
  unavailable
  
  is this a 
  bug?
  
  
  
  anyone know what's 
  wrong.
  
  
  
  matt
  
  

  ___--Bandwidth and 
  Colocation provided by Easynews.com --Asterisk-Users mailing 
  listTo 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


[Asterisk-Users] music on hold problem

2005-12-19 Thread Matt



hi guys:

my asterisk 1.2.1 just won't play music on hold, it 
will play a tiny bit of music at the beginning, then go silent, doing: 

set debug 1, 

found error msg:
monmp3thread: Only wrote -1 of 1600 bytes to pipe: 
(11)Resource temporarily unavailable
is this a bug?

anyone know what's wrong.

matt
___
--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] Music-on-Hold problem

2005-11-09 Thread Alex Epshteyn
Alex, thanks so much, that was it - I don't know how I missed it. I guess I
was looking for more complicated reasons :-).

Cheers,

Alex 

 -Original Message-
 From: [EMAIL PROTECTED] [mailto:asterisk-users-
 [EMAIL PROTECTED] On Behalf Of Alexander O. Lopez
 Sent: Tuesday, November 08, 2005 7:54 PM
 To: 'Asterisk Users Mailing List - Non-Commercial Discussion'
 Subject: RE: [Asterisk-Users] Music-on-Hold problem
 
  Have you tried adding an answer before playing MOH???
 
 
  -Original Message-
  From: [EMAIL PROTECTED]
  [mailto:[EMAIL PROTECTED] On Behalf Of
  Alex Epshteyn
  Sent: Tuesday, November 08, 2005 11:10 AM
  To: 'Asterisk Users Mailing List - Non-Commercial Discussion'
  Subject: [Asterisk-Users] Music-on-Hold problem
 
  Hi,
 
  We are experiencing a strange problem playing music-on-hold -
  or perhaps it is a problem with the configuration of a Zap
  channel. When a call comes in from PSTN (FXO card) and
  MusicOnHold application is executed, the music on hold starts
  (Asterisk reports that the moh has started -  and you can see
  that the mpg123 process is running) but the caller continues
  hearing ringing and no moh. Also, and possibly related, Zap
  channel stays in Offhook state after the caller hangs up. We
  tried a variety of options to make Asterisk detect hangup
  (busydetect, callprogress, etc) with no success.
 
  Could it be a hardware problem? Does anyone know of any
  bugs/issues/configuration errors that are likely to cause
  this? It appears that somehow the music being played is not
  delivered to the channel (could it be device configuration?).
  We are running Red Hat with 2.6 kernel, with udev configured
  as specified in README.udev, mpg123-0.59r. I apologize for
  not describing the whole environment, software versions, etc
  - I am not sure what info would be relevant.
 
  Help would be very much appreciated.
 
  Thanks,
 
  Alex
 
  ___
  --Bandwidth and Colocation sponsored by Easynews.com --
 
  Asterisk-Users mailing list
  Asterisk-Users@lists.digium.com
  http://lists.digium.com/mailman/listinfo/asterisk-users
  To UNSUBSCRIBE or update options visit:
 http://lists.digium.com/mailman/listinfo/asterisk-users
 
 
 ___
 --Bandwidth and Colocation sponsored by Easynews.com --
 
 Asterisk-Users mailing list
 Asterisk-Users@lists.digium.com
 http://lists.digium.com/mailman/listinfo/asterisk-users
 To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users

___
--Bandwidth and Colocation sponsored by Easynews.com --

Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


[Asterisk-Users] Music-on-Hold problem

2005-11-08 Thread Alex Epshteyn
Hi,

We are experiencing a strange problem playing music-on-hold - or perhaps it
is a problem with the configuration of a Zap channel. When a call comes in
from PSTN (FXO card) and MusicOnHold application is executed, the music on
hold starts (Asterisk reports that the moh has started -  and you can see
that the mpg123 process is running) but the caller continues hearing ringing
and no moh. Also, and possibly related, Zap channel stays in Offhook state
after the caller hangs up. We tried a variety of options to make Asterisk
detect hangup (busydetect, callprogress, etc) with no success.

Could it be a hardware problem? Does anyone know of any
bugs/issues/configuration errors that are likely to cause this? It appears
that somehow the music being played is not delivered to the channel (could
it be device configuration?). We are running Red Hat with 2.6 kernel, with
udev configured as specified in README.udev, mpg123-0.59r. I apologize for
not describing the whole environment, software versions, etc - I am not sure
what info would be relevant.

Help would be very much appreciated.

Thanks,

Alex

___
--Bandwidth and Colocation sponsored by Easynews.com --

Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


RE: [Asterisk-Users] Music-on-Hold problem

2005-11-08 Thread Alexander O. Lopez
 Have you tried adding an answer before playing MOH???


 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] On Behalf Of
 Alex Epshteyn
 Sent: Tuesday, November 08, 2005 11:10 AM
 To: 'Asterisk Users Mailing List - Non-Commercial Discussion'
 Subject: [Asterisk-Users] Music-on-Hold problem

 Hi,

 We are experiencing a strange problem playing music-on-hold -
 or perhaps it is a problem with the configuration of a Zap
 channel. When a call comes in from PSTN (FXO card) and
 MusicOnHold application is executed, the music on hold starts
 (Asterisk reports that the moh has started -  and you can see
 that the mpg123 process is running) but the caller continues
 hearing ringing and no moh. Also, and possibly related, Zap
 channel stays in Offhook state after the caller hangs up. We
 tried a variety of options to make Asterisk detect hangup
 (busydetect, callprogress, etc) with no success.

 Could it be a hardware problem? Does anyone know of any
 bugs/issues/configuration errors that are likely to cause
 this? It appears that somehow the music being played is not
 delivered to the channel (could it be device configuration?).
 We are running Red Hat with 2.6 kernel, with udev configured
 as specified in README.udev, mpg123-0.59r. I apologize for
 not describing the whole environment, software versions, etc
 - I am not sure what info would be relevant.

 Help would be very much appreciated.

 Thanks,

 Alex

 ___
 --Bandwidth and Colocation sponsored by Easynews.com --

 Asterisk-Users mailing list
 Asterisk-Users@lists.digium.com
 http://lists.digium.com/mailman/listinfo/asterisk-users
 To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users


___
--Bandwidth and Colocation sponsored by Easynews.com --

Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


[Asterisk-Users] music on hold problem

2005-08-11 Thread rkvalmiki
Hello list

While trying to test the music on hold it shows in the
verbose that it music on hold started and in
background mpg123 also started with that specific file
name

but we could able to listen only the ringing sound
rather instead of music 

in verbose it show s this error 

-- Executing SetMusicOnHold(SIP/6060-08225640,
default) in new stack
-- Executing WaitMusicOnHold(SIP/6060-08225640,
60) in new stack
-- Started music on hold, class 'default', on
SIP/6060-08225640

Aug 11 14:40:42 WARNING[1102653504]: channel.c:1597
ast_prod: Prodding channel 'SIP/6060-08225640' failed

you r help will be highly appreciated.

with regards
rk







Send a rakhi to your brother, buy gifts and win attractive prizes. Log on to 
http://in.promos.yahoo.com/rakhi/index.html
___
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


[Asterisk-Users] Music On Hold Problem

2005-08-03 Thread Kelvin Williams








We have setup an Asterisk server and everything works great
with the exception of Music on Hold. 



If you dial into our system and are placed in a Queue, you
get music. If you are placed on Hold no music (which I believe may be
caused by the XPro), or if you are parked you get no music. I can
understand the hold (if it is truly held by the client only) but the Park should
still get music. Im attaching the relevant confs if someone sees a
problem please advise.



[EMAIL PROTECTED] asterisk]# cat musiconhold.conf

;

; Music on hold class definitions

;

#include musiconhold_additional.conf

[classes]

default = quietmp3:/var/lib/asterisk/mohmp3

;loud = mp3:/var/lib/asterisk/mohmp3

;random = quietmp3:/var/lib/asterisk/mohmp3,-z



[EMAIL PROTECTED] asterisk]# cat musiconhold_additional.conf

[classes]

NOC = quietmp3:/var/lib/asterisk/mohmp3/NOC

Support = quietmp3:/var/lib/asterisk/mohmp3/Support



[EMAIL PROTECTED] asterisk]# cat queues.conf

[general]

;

; Global settings for call queues

; (none exist currently)

;

; Note that a timeout to fail out of a queue may be passed
as part of application call

; from extensions.conf:

; Queue(queuename|[options]|[optionalurl]|[announceoverride]|[timeout])

; example: Queue(dave|t|||45)



[default]

;

; Default settings for queues (currently unused)

;



#include queues_custom.conf

#include queues_additional.conf







[EMAIL PROTECTED] asterisk]# cat queues_additional.conf

[301]

wrapuptime=0

timeout=15

strategy=ringall

retry=5

queue-youarenext=queue-youarenext

queue-thereare=queue-thereare

queue-thankyou=custom/aa_3

queue-callswaiting=queue-callswaiting

music=Support

monitor-join=yes

monitor-format=gsm

maxlen=0

leavewhenempty=yes

joinempty=no

context=aa_3

announce-holdtime=yes

announce-frequency=90



[302]

wrapuptime=0

timeout=15

strategy=ringall

retry=5

queue-youarenext=queue-youarenext

queue-thereare=queue-thereare

queue-thankyou=custom/aa_3

queue-callswaiting=queue-callswaiting

music=Support

monitor-join=yes

monitor-format=gsm

maxlen=0

leavewhenempty=no

joinempty=yes

context=aa_3

announce-holdtime=yes

announce-frequency=90



[303]

wrapuptime=0

timeout=15

strategy=ringall

retry=5

queue-youarenext=queue-youarenext

queue-thereare=queue-thereare

queue-thankyou=queue-thankyou

queue-callswaiting=queue-callswaiting

music=NOC

monitor-join=yes

monitor-format=

maxlen=0

leavewhenempty=no

joinempty=yes

context=

announce-holdtime=yes

announce-frequency=60



[304]

wrapuptime=0

timeout=15

strategy=ringall

retry=5

queue-youarenext=queue-youarenext

queue-thereare=queue-thereare

queue-thankyou=queue-thankyou

queue-callswaiting=queue-callswaiting

music=NOC

monitor-join=yes

monitor-format=gsm

maxlen=0

leavewhenempty=no

joinempty=yes

context=

announce-holdtime=yes

announce-frequency=60



[EMAIL PROTECTED] asterisk]#






___
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

[Asterisk-Users] Music On Hold problem: Read 392 bytes of audio while expecting 1600

2005-05-17 Thread Michael Stahl



My new asterisk 
install seems to be running fine - including playing all prompts etc without 
error. However, when placing someone on hold they here choppy music (first 
second or so) then quiet. I see the errors below.

What is causing 
this? (Note that I am running AsteriskWin32).
Thanks,
Mike


May 17 17:26:02 
VERBOSE[3708]: -- Executing Answer("SIP/2434-263c", "") 
in new stackMay 17 17:26:02 VERBOSE[3708]: -- 
Executing WaitMusicOnHold("SIP/2434-263c", "30") in new stackMay 17 17:26:02 
VERBOSE[3708]: -- Started music on hold, class 
'default', on SIP/2434-263cMay 17 17:26:02 DEBUG[3708]: Stopping 
retransmission on '603eb611c40e9620' of Response 2: FoundMay 17 17:26:02 
DEBUG[3708]: Ooh, format changed from unknown to ulawMay 17 17:26:03 
DEBUG[3708]: Read 392 bytes of audio while expecting 1600May 17 17:26:04 
DEBUG[3708]: Read 392 bytes of audio while expecting 1600May 17 17:26:05 
DEBUG[3708]: Read 392 bytes of audio while expecting 1600May 17 17:26:06 
DEBUG[3708]: Read 392 bytes of audio while expecting 1600May 17 17:26:07 
DEBUG[3708]: Read 394 bytes of audio while expecting 1600May 17 17:26:08 
DEBUG[3708]: Read 392 bytes of audio while expecting 
1600
___
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

RE: [Asterisk-Users] Music On Hold problem: Read 392 bytes of audiowhile expecting 1600

2005-05-17 Thread Sander








Hi there



I am not an expert but
you cant use variable bitrate mp3s on asterisk maybe thats
the problem 











Van: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Namens Michael Stahl
Verzonden: dinsdag 17 mei 2005
23:35
Aan:
asterisk-users@lists.digium.com
Onderwerp: [Asterisk-Users] Music
On Hold problem: Read 392 bytes of audiowhile expecting 1600







My new asterisk install seems to be running fine - including
playing all prompts etc without error. However, when placing someone on
hold they here choppy music (first second or so) then quiet. I see the
errors below.











What is causing this? (Note that I am running
AsteriskWin32).





Thanks,





Mike

















May 17 17:26:02 VERBOSE[3708]: --
Executing Answer(SIP/2434-263c, ) in new stack
May 17 17:26:02 VERBOSE[3708]: -- Executing
WaitMusicOnHold(SIP/2434-263c, 30) in new stack
May 17 17:26:02 VERBOSE[3708]: -- Started music on
hold, class 'default', on SIP/2434-263c
May 17 17:26:02 DEBUG[3708]: Stopping retransmission on '603eb611c40e9620' of
Response 2: Found
May 17 17:26:02 DEBUG[3708]: Ooh, format changed from unknown to ulaw
May 17 17:26:03 DEBUG[3708]: Read 392 bytes of audio while expecting 1600
May 17 17:26:04 DEBUG[3708]: Read 392 bytes of audio while expecting 1600
May 17 17:26:05 DEBUG[3708]: Read 392 bytes of audio while expecting 1600
May 17 17:26:06 DEBUG[3708]: Read 392 bytes of audio while expecting 1600
May 17 17:26:07 DEBUG[3708]: Read 394 bytes of audio while expecting 1600
May 17 17:26:08 DEBUG[3708]: Read 392 bytes of audio while expecting 1600








___
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

RE: [Asterisk-Users] Music On Hold problem: Read 392 bytes ofaudiowhile expecting 1600

2005-05-17 Thread Michael Stahl



I'm using the default mp3 files that ship with 
Asterisk:

fpm-calm-river.mp3
fpm-world-mix.mp3

If they were variable bit rate, I think I would see a 
warning about 'varibel' or similar...is anyone else able to get these files to 
work?

-Mike-




From: Sander [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, May 17, 2005 6:34 PMTo: 'Asterisk Users 
Mailing List - Non-Commercial Discussion'Subject: RE: 
[Asterisk-Users] Music On Hold problem: Read 392 bytes ofaudiowhile expecting 
1600


Hi 
there

I am not an expert but 
you cant use variable bitrate mp3s on asterisk maybe thats the problem 






Van: 
[EMAIL PROTECTED] 
[mailto:[EMAIL PROTECTED]] Namens Michael StahlVerzonden: dinsdag 17 mei 2005 
23:35Aan: 
asterisk-users@lists.digium.comOnderwerp: [Asterisk-Users] Music On Hold 
problem: Read 392 bytes of audiowhile expecting 
1600


My new asterisk install seems to be 
running fine - including playing all prompts etc without error. However, 
when placing someone on hold they here choppy music (first second or so) then 
quiet. I see the errors below.



What is causing this? (Note 
that I am running AsteriskWin32).

Thanks,

Mike





May 17 17:26:02 
VERBOSE[3708]: -- Executing Answer("SIP/2434-263c", "") 
in new stackMay 17 17:26:02 VERBOSE[3708]: -- 
Executing WaitMusicOnHold("SIP/2434-263c", "30") in new stackMay 17 17:26:02 
VERBOSE[3708]: -- Started music on hold, class 
'default', on SIP/2434-263cMay 17 17:26:02 DEBUG[3708]: Stopping 
retransmission on '603eb611c40e9620' of Response 2: FoundMay 17 17:26:02 
DEBUG[3708]: Ooh, format changed from unknown to ulawMay 17 17:26:03 
DEBUG[3708]: Read 392 bytes of audio while expecting 1600May 17 17:26:04 
DEBUG[3708]: Read 392 bytes of audio while expecting 1600May 17 17:26:05 
DEBUG[3708]: Read 392 bytes of audio while expecting 1600May 17 17:26:06 
DEBUG[3708]: Read 392 bytes of audio while expecting 1600May 17 17:26:07 
DEBUG[3708]: Read 394 bytes of audio while expecting 1600May 17 17:26:08 
DEBUG[3708]: Read 392 bytes of audio while expecting 
1600
___
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

[Asterisk-Users] Music On-Hold problem

2005-01-23 Thread Computer Onsite Support
My problem is: No matter what machine I install and configure Asterisk on it
I just can't get the music on-hold to work. Is anyone of you out there have
such problem? If so what have you done to fix the problem? I've tried so far
three other computers and none of them I was able to get music on-hold to
work.

CAN PLEASE ANYONE HELP.
attachment: winmail.dat___
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Re: [Asterisk-Users] Music On-Hold problem

2005-01-23 Thread C F
What is the CLI output you are getting?
Do you have a timer source installed?



On Sun, 23 Jan 2005 18:10:27 -0500, Computer Onsite Support
[EMAIL PROTECTED] wrote:
 My problem is: No matter what machine I install and configure Asterisk on it
 I just can't get the music on-hold to work. Is anyone of you out there have
 such problem? If so what have you done to fix the problem? I've tried so far
 three other computers and none of them I was able to get music on-hold to
 work.
 
 CAN PLEASE ANYONE HELP.
 
 ___
 Asterisk-Users mailing list
 Asterisk-Users@lists.digium.com
 http://lists.digium.com/mailman/listinfo/asterisk-users
 To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users
 

___
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [Asterisk-Users] Music On-Hold problem

2005-01-23 Thread tom
i have had some problems with music on hold. some of the handsets havnt been 
able to put people on hold...

When using a grandstream 101 i push hold it puts the other end on hold but 
doesnt play the music. although when i do it with a x-lite client it does put 
the other end on hold and stats the music.

i havnt been able to get the grandsteam clients to play the hold music yet 
though :/
 Computer Onsite Support [EMAIL PROTECTED] wrote :

 My problem is: No matter what machine I install and configure Asterisk on it
 I just can't get the music on-hold to work. Is anyone of you out there have
 such problem? If so what have you done to fix the problem? I've tried so far
 three other computers and none of them I was able to get music on-hold to
 work.
 
 CAN PLEASE ANYONE HELP.



___
NOCC, http://nocc.sourceforge.net




___
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


RE: [Asterisk-Users] Music On-Hold problem

2005-01-23 Thread Manjit Riat
Title: RE: [Asterisk-Users] Music On-Hold problem






It should work right off the install..

Make sure you have MPG123 installed and running.

_
From: Computer Onsite Support [mailto:[EMAIL PROTECTED]]
Sent: Sunday, January 23, 2005 3:10 PM
To: asterisk-users@lists.digium.com
Subject: [Asterisk-Users] Music On-Hold problem

My problem is: No matter what machine I install and configure Asterisk on it I just can't get the music on-hold to work. Is anyone of you out there have such problem? If so what have you done to fix the problem? I've tried so far three other computers and none of them I was able to get music on-hold to work.

CAN PLEASE ANYONE HELP.


___
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

RE: [Asterisk-Users] Music On-Hold problem

2005-01-23 Thread Doug Reid - Stormcorp

What handset? Some such as the Planet dont work. 

  -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] 
 Sent: Monday, January 24, 2005 1:10 AM
 To:   asterisk-users@lists.digium.com
 Subject:  [Asterisk-Users] Music On-Hold problem
 
 My problem is: No matter what machine I install and configure Asterisk on
 it  I just can't get the music on-hold to work. Is anyone of you out there
 have such problem? If so what have you done to fix the problem? I've tried
 so far three other computers and none of them I was able to get music
 on-hold to work.
 
 CAN PLEASE ANYONE HELP.  File: ATT00718.txt  
attachment: winmail.dat___
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

RE: [Asterisk-Users] Music On Hold Problem

2004-11-15 Thread Doug Reid - Stormcorp
Hi

What codec are you using? Best to use iLBC, 711U/A caused
the same problem with our system. What handsets are you 
using? Grandstream work well with iLBC firmware ver.11.
The problem is that there are not to many phones that 
work well with iLBC.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Venu V
Sent: Sunday, November 14, 2004 3:13 PM
To: [EMAIL PROTECTED]
Subject: [Asterisk-Users] Music On Hold Problem


Recently I have configured Music On Hold option in asterisk PBX. But I
am unable to listen to the audio properly and morever its getting breaks
for every 3 seconds. If any one know about this. Please help me

Thanks  Regards
V.Venu



-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] 
Sent: Sunday, November 14, 2004 12:07 PM
To: [EMAIL PROTECTED]
Subject: Asterisk-Users Digest, Vol 4, Issue 181

Send Asterisk-Users mailing list submissions to
[EMAIL PROTECTED]

To subscribe or unsubscribe via the World Wide Web, visit
http://lists.digium.com/mailman/listinfo/asterisk-users
or, via email, send a message with subject or body 'help' to
[EMAIL PROTECTED]

You can reach the person managing the list at
[EMAIL PROTECTED]

When replying, please edit your Subject line so it is more specific
than Re: Contents of Asterisk-Users digest...


Today's Topics:

   1. RE: SysMaster and GPL Violation (Brian)
   2. Re: getting callerid from spa3k to asterisk (Randy Bush)
   3. my asterisk drops connection when remote side putsme on
  hold? (Steve Prior)
   4. Cisco ATA and G729 (kido noagbodji)
   5. Remote answer not detected (DB)
   6. Re: SysMaster and GPL Violation (Voip Business)
   7. RE: Cable for T1 connection: Crossover or straightthrough?
  (Franceen Thompson)
   8. RE: Cisco ATA and G729 (Franceen Thompson)
   9. Queue/AgentCallbackLogin Problems (Franceen Thompson)


--

Message: 1
Date: Sat, 13 Nov 2004 19:30:06 -0700
From: Brian [EMAIL PROTECTED]
Subject: RE: [Asterisk-Users] SysMaster and GPL Violation
To: 'Asterisk Users Mailing List - Non-Commercial Discussion'
[EMAIL PROTECTED]
Message-ID: [EMAIL PROTECTED]
Content-Type: text/plain;   charset=us-ascii

  Are you saying that those of us that are using the product should
not be
  allowed to voice our opinions about its licensing, development and
  maintenance? That we should all just shut up and take whatever Mark

  co. give us? If that's the case, then this is most definitely NOT an
  open-source project at all.
 
 -Original Message-
 From Brandon Patterson
 Sent: Saturday, November 13, 2004 7:15 PM
 Uh ok...So when will Asterisk be a licensed product? Will it take the
 form of a Redhat sort of platform... Fedora  with Redhat the pay me
money
 side of the house?

 Just a simple question: When can we expect to see Asterisk the
licensed
 as in paid for version ?
 
 
 Brandon

Right now.

As far as I know, you just need to contact Digium's sales department and
negotiate a licensing agreement with them.



--

Message: 2
Date: Sat, 13 Nov 2004 19:11:10 -0800
From: Randy Bush [EMAIL PROTECTED]
Subject: [Asterisk-Users] Re: getting callerid from spa3k to asterisk
To: splatters [EMAIL PROTECTED]
Message-ID: [EMAIL PROTECTED]
Content-Type: text/plain; charset=us-ascii

 if i have two sip contexts for my spa3k, on inbound and
 one outbound, e.g.
 
 [spa3k-in]
 type=friend
 host=dynamic
 port=5061
 auth=md5
 secret=pfui
 qualify=1000
 canreinvite=yes
 context=ext-in42
 
 [spa3k-out]
 type=peer
 auth=md5
 secret=pfui
 username=outpass
 fromuser=outpass
 host=spa3k.bogus.com
 port=5061
 nat=no
 canreinvite=yes
 context=ext-in42
 
 and the spa3k's PSTN / Subscriber Information / User ID: = spack-in,
 
 the incoming connection from spa3k to * is being routed to the
 spa3k-out context, not the spa3-in context.  see appended.
 
 i suspect this is a bug in * 1.0.1.

i found the problem, or at least a work-around.

if i reverse the order of the above two sip contexts, the incoming
call is properly routed to the spa3k-in sip context as opposed to
the wrong one, spa3k-out.

my guess is that * is traversing a list and taking the first
context which has the ip address and port it wants without
checking the context name against the name which was received
over the wire.  so it depends on what order the contexts are
inserted in the list.

aii!

randy



--

Message: 3
Date: Sat, 13 Nov 2004 22:33:58 -0500
From: Steve Prior [EMAIL PROTECTED]
Subject: [Asterisk-Users] my asterisk drops connection when remote
side puts   me on hold?
To: Asterisk Users Mailing List - Non-Commercial Discussion
[EMAIL PROTECTED]
Message-ID: [EMAIL PROTECTED]
Content-Type: text/plain; charset=us-ascii; format=flowed

I've

[Asterisk-Users] Music On Hold Problem

2004-11-14 Thread Venu V
Recently I have configured Music On Hold option in asterisk PBX. But I
am unable to listen to the audio properly and morever its getting breaks
for every 3 seconds. If any one know about this. Please help me

Thanks  Regards
V.Venu



-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] 
Sent: Sunday, November 14, 2004 12:07 PM
To: [EMAIL PROTECTED]
Subject: Asterisk-Users Digest, Vol 4, Issue 181

Send Asterisk-Users mailing list submissions to
[EMAIL PROTECTED]

To subscribe or unsubscribe via the World Wide Web, visit
http://lists.digium.com/mailman/listinfo/asterisk-users
or, via email, send a message with subject or body 'help' to
[EMAIL PROTECTED]

You can reach the person managing the list at
[EMAIL PROTECTED]

When replying, please edit your Subject line so it is more specific
than Re: Contents of Asterisk-Users digest...


Today's Topics:

   1. RE: SysMaster and GPL Violation (Brian)
   2. Re: getting callerid from spa3k to asterisk (Randy Bush)
   3. my asterisk drops connection when remote side putsme on
  hold? (Steve Prior)
   4. Cisco ATA and G729 (kido noagbodji)
   5. Remote answer not detected (DB)
   6. Re: SysMaster and GPL Violation (Voip Business)
   7. RE: Cable for T1 connection: Crossover or straightthrough?
  (Franceen Thompson)
   8. RE: Cisco ATA and G729 (Franceen Thompson)
   9. Queue/AgentCallbackLogin Problems (Franceen Thompson)


--

Message: 1
Date: Sat, 13 Nov 2004 19:30:06 -0700
From: Brian [EMAIL PROTECTED]
Subject: RE: [Asterisk-Users] SysMaster and GPL Violation
To: 'Asterisk Users Mailing List - Non-Commercial Discussion'
[EMAIL PROTECTED]
Message-ID: [EMAIL PROTECTED]
Content-Type: text/plain;   charset=us-ascii

  Are you saying that those of us that are using the product should
not be
  allowed to voice our opinions about its licensing, development and
  maintenance? That we should all just shut up and take whatever Mark

  co. give us? If that's the case, then this is most definitely NOT an
  open-source project at all.
 
 -Original Message-
 From Brandon Patterson
 Sent: Saturday, November 13, 2004 7:15 PM
 Uh ok...So when will Asterisk be a licensed product? Will it take the
 form of a Redhat sort of platform... Fedora  with Redhat the pay me
money
 side of the house?

 Just a simple question: When can we expect to see Asterisk the
licensed
 as in paid for version ?
 
 
 Brandon

Right now.

As far as I know, you just need to contact Digium's sales department and
negotiate a licensing agreement with them.



--

Message: 2
Date: Sat, 13 Nov 2004 19:11:10 -0800
From: Randy Bush [EMAIL PROTECTED]
Subject: [Asterisk-Users] Re: getting callerid from spa3k to asterisk
To: splatters [EMAIL PROTECTED]
Message-ID: [EMAIL PROTECTED]
Content-Type: text/plain; charset=us-ascii

 if i have two sip contexts for my spa3k, on inbound and
 one outbound, e.g.
 
 [spa3k-in]
 type=friend
 host=dynamic
 port=5061
 auth=md5
 secret=pfui
 qualify=1000
 canreinvite=yes
 context=ext-in42
 
 [spa3k-out]
 type=peer
 auth=md5
 secret=pfui
 username=outpass
 fromuser=outpass
 host=spa3k.bogus.com
 port=5061
 nat=no
 canreinvite=yes
 context=ext-in42
 
 and the spa3k's PSTN / Subscriber Information / User ID: = spack-in,
 
 the incoming connection from spa3k to * is being routed to the
 spa3k-out context, not the spa3-in context.  see appended.
 
 i suspect this is a bug in * 1.0.1.

i found the problem, or at least a work-around.

if i reverse the order of the above two sip contexts, the incoming
call is properly routed to the spa3k-in sip context as opposed to
the wrong one, spa3k-out.

my guess is that * is traversing a list and taking the first
context which has the ip address and port it wants without
checking the context name against the name which was received
over the wire.  so it depends on what order the contexts are
inserted in the list.

aii!

randy



--

Message: 3
Date: Sat, 13 Nov 2004 22:33:58 -0500
From: Steve Prior [EMAIL PROTECTED]
Subject: [Asterisk-Users] my asterisk drops connection when remote
side puts   me on hold?
To: Asterisk Users Mailing List - Non-Commercial Discussion
[EMAIL PROTECTED]
Message-ID: [EMAIL PROTECTED]
Content-Type: text/plain; charset=us-ascii; format=flowed

I've got a TDM100P card with a fxo and fxs module in the US.  I'm
using kewlstart for all ports.  I've noticed that when I make
a call out from an analog phone out the POTS line that if after
talking to the party I called (in this case the phone company itself)
they put me on hold asterisk disconnects the call immediatly.

I've looked around the web pages, but can't figure out what might be
causing this and how to fix it - can anyone give me a clue?

Thanks

[Asterisk-Users] music on hold problem

2004-09-24 Thread ml_asterisk-users
Hi everybody again,

I try to use music on hold.
I have no idea how to put current call on hold, so I try
to use musiconhold by force.

I define these:

 extensions.conf =
exten = ${KLP_TEST2},1,Answer
exten = ${KLP_TEST2},2,SetMusicOnHold(default)
exten = ${KLP_TEST2},3,MusicOnHold

 musiconhold.conf =
[classes]
default = quietmp3:/var/lib/asterisk/mohmp3

I installed mpg123-0.59r.tar.gz as specified in www.voip-info.org
of cource the binary is in /usr/bin path.

I have some mp3s in /var/lib/asterisk/mohmp3/ path
mp3s are without any id3tag

I found all these conditions in this mailing list.

so

if I call extension ${KLP_TEST2} I see this:

Executing Answer(Zap/1-1, ) in new stack
-- Accepting call from '0212345678' to '${KLP_TEST2}' on channel 0/1, span 1
-- Executing SetMusicOnHold(Zap/1-1, default) in new stack
-- Executing MusicOnHold(Zap/1-1, ) in new stack
Sep 24 17:09:37 WARNING[1519766448]: res_musiconhold.c:334 moh0_exec: Unable to start 
music on hold (class '') on channel Zap/1-1
  == Spawn extension (isdnline, ${KLP_TEST2}, 3) exited non-zero on 'Zap/1-1'
-- Hungup 'Zap/1-1'

ANY IDEA what may be wrong?
?


thanks.


pgp1dyVjfUQ2T.pgp
Description: PGP signature
___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

RE: [Asterisk-Users] Music on hold problem

2004-09-08 Thread John Howard
Have you tried running mpg123 from the command line?

I found that it was failing to load the mp3 cos it couldnt open /dev/dsp.

If this is the case, then I found the following worked, although it is a
little OTT I guess...

If you have a soundcard in the machine try insmod'ing a driver for it and
then as root, run 'rm -f /dev/dsp*' and then '/dev/MAKEDEV audio'.

If you dont have a soundcard then try just loading the sound module, that
might just be enough.

Then try again.  Ensure you stop and start asterisk again to ensure MOH
reinitialises properly.

jd

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Karim Mardhani
Sent: 08 September 2004 05:02
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: [Asterisk-Users] Music on hold problem

  Hi All:

  I am having problems with getting music on hold to work.  I get following
error

  Executing SetMusicOnHold(SIP/2000-2ddf, default) in new stack
  -- Executing Answer(SIP/2000-2ddf, ) in new stack
  -- Executing WaitMusicOnHold(SIP/2000-2ddf, 30) in new stack
  Sep  7 15:50:47 WARNING[1190886320]: res_musiconhold.c:329 moh1_exec:
Unable to start music on hold (class '30') on channel SIP/2000-2ddf
== Spawn extension (from-sip, 4999, 3) exited non-zero on
'SIP/2000-2ddf'
  asterisk*CLI

  I have made sure that I have mpg123 in /usr/bin.  The version of mpg123 I
have is 0.59r.   Following is my extension.conf:

  exten = 4999,1,SetMusicOnHold(default)
  exten = 4999,2,Answer
  exten = 4999,3,WaitMusicOnHold(30)
  exten = 4999,4,Hangup

  When I change WaitMusicOnHold with
MP3Player(/var/lib/asterisk/mohmp3/sample-hold.mp3) I can hear the
sample-hold file when I dail extension 4999.

  Do both MP3Player and MOH use mpg123?

  Any help in this regard would greatly be appreciated.

  Thanks

  Karim




___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


This message has been scanned for viruses by MailController -
www.MailController.altohiway.com

---
Incoming mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.745 / Virus Database: 497 - Release Date: 27/08/2004
 

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.745 / Virus Database: 497 - Release Date: 27/08/2004
 

___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


[Asterisk-Users] Music on hold problem

2004-09-07 Thread Karim Mardhani
  Hi All:

  I am having problems with getting music on hold to work.  I get following
error

  Executing SetMusicOnHold(SIP/2000-2ddf, default) in new stack
  -- Executing Answer(SIP/2000-2ddf, ) in new stack
  -- Executing WaitMusicOnHold(SIP/2000-2ddf, 30) in new stack
  Sep  7 15:50:47 WARNING[1190886320]: res_musiconhold.c:329 moh1_exec:
Unable to start music on hold (class '30') on channel SIP/2000-2ddf
== Spawn extension (from-sip, 4999, 3) exited non-zero on
'SIP/2000-2ddf'
  asterisk*CLI

  I have made sure that I have mpg123 in /usr/bin.  The version of mpg123 I
have is 0.59r.   Following is my extension.conf:

  exten = 4999,1,SetMusicOnHold(default)
  exten = 4999,2,Answer
  exten = 4999,3,WaitMusicOnHold(30)
  exten = 4999,4,Hangup

  When I change WaitMusicOnHold with
MP3Player(/var/lib/asterisk/mohmp3/sample-hold.mp3) I can hear the
sample-hold file when I dail extension 4999.

  Do both MP3Player and MOH use mpg123?

  Any help in this regard would greatly be appreciated.

  Thanks

  Karim




___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


[Asterisk-Users] Music on hold problem

2004-07-03 Thread Brian Weaver
I can't seem to get music on hold working, it tries to work, but I
just hear strange noises on the extension..  Here is some debug info.
Looks like mpg123 starts fine, but I hear nothing.
I'm on todays CVS build.


-- Executing Answer(SIP/2203-062c, ) in new stack
-- Executing MusicOnHold(SIP/2203-062c, default) in new stack
-- Started music on hold, class 'default', on SIP/2203-062c

asterisk 16218 16217  0 12:20 ?00:00:00 mpg123 -q -s --mono -r
8000 -b 2048 -f 4096 yellow.mp3 Tears for Fears - Mad World_0529152254.mp3

pbx:~# mpg123
High Performance MPEG 1.0/2.0/2.5 Audio Player for Layer 1, 2, and 3.
Version 0.59q (2002/03/23). Written and copyrights by Joe Drew.

extensions.conf snippit
; music
 exten = 6601,1,Answer
 exten = 6601,2,MusicOnHOld(default)

;
; Music on hold class definitions
;
[classes]
default = quietmp3:/var/lib/asterisk/mohmp3
;loud = mp3:/var/lib/asterisk/mohmp3
;random = quietmp3:/var/lib/asterisk/mohmp3,-z


Any ideas of what to check next?
___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


RE: [Asterisk-Users] Music on hold problem

2004-07-03 Thread Jay Milk
You want to use mpg123 0.59r, not 0.59q.

 -Original Message-
 From: Brian Weaver [mailto:[EMAIL PROTECTED] 
 Sent: Saturday, July 03, 2004 1:23 PM
 To: [EMAIL PROTECTED]
 Subject: [Asterisk-Users] Music on hold problem
 
 
 I can't seem to get music on hold working, it tries to work, 
 but I just hear strange noises on the extension..  Here is 
 some debug info. Looks like mpg123 starts fine, but I hear 
 nothing. I'm on todays CVS build.
 
 pbx:~# mpg123
 High Performance MPEG 1.0/2.0/2.5 Audio Player for Layer 1, 
 2, and 3. Version 0.59q (2002/03/23). Written and copyrights 
 by Joe Drew.

___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [Asterisk-Users] Music on hold problem

2004-07-03 Thread Brian K. West
Ok lets see if we can get this in the google search better:

Keywords:
mpg123 asterisk music on hold music-on-hold MusicOnHold 
wont start 
is slow 
is garbled 
will not start
gives an error

NOTICE: USE mpg123 0.59r ONLY

http://www.mpg123.de/

bkw

- Original Message - 
From: Jay Milk [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Saturday, July 03, 2004 1:46 PM
Subject: RE: [Asterisk-Users] Music on hold problem


 You want to use mpg123 0.59r, not 0.59q.
 
  -Original Message-
  From: Brian Weaver [mailto:[EMAIL PROTECTED] 
  Sent: Saturday, July 03, 2004 1:23 PM
  To: [EMAIL PROTECTED]
  Subject: [Asterisk-Users] Music on hold problem
  
  
  I can't seem to get music on hold working, it tries to work, 
  but I just hear strange noises on the extension..  Here is 
  some debug info. Looks like mpg123 starts fine, but I hear 
  nothing. I'm on todays CVS build.
  
  pbx:~# mpg123
  High Performance MPEG 1.0/2.0/2.5 Audio Player for Layer 1, 
  2, and 3. Version 0.59q (2002/03/23). Written and copyrights 
  by Joe Drew.
 
 ___
 Asterisk-Users mailing list
 [EMAIL PROTECTED]
 http://lists.digium.com/mailman/listinfo/asterisk-users
 To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users
 
___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users