RE: [Asterisk-Users] Problem with Music on Hold. Please help

2005-03-31 Thread Kanuri, Seshu (Company IT)
I am having similar issue with Build 1.0.7

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
[EMAIL PROTECTED]
Sent: Wednesday, March 30, 2005 9:54 PM
To: asterisk-users@lists.digium.com
Subject: [Asterisk-Users] Problem with Music on Hold. Please help

Hello everybody,

I've run on a problem with music on hold. Asterisk does not play
anything.

Here is the info:

latest Asterisk:
Asterisk CVS-HEAD-03/25/05-23:18:57

Asterisk is installed Fedora Core 4 running on AMD 2.0Ghz CPU box with
512 RAM.

I took latest zaptel source code, uncommented ztdummy and installed
according to instruction from this blog - http://blog.soolid.it/?p=16

I have also compiled and installed Madplay according to same
instructions.

Zaptel has compiled successfully. Modprobe of zaptel/ztdummy is
successful also. However lsmod output shows that USB controller is not
used by
ztdummy:

[EMAIL PROTECTED] src]# lsmod
Module  Size  Used by
ztdummy 3924  0
zaptel204676  7 ztdummy
ohci_hcd   23765  0
uhci_hcd   31449  0
ehci_hcd   35273  0

Asterisk starts without a problem, the only messages I've receive are
following:

WARNING[26256]: chan_oss.c:486 soundcard_init: Unable to open /dev/dsp:
Device or resource busy
  == No sound card detected -- console channel will be unavailable

ERROR[25489]: cdr_custom.c:135 load_module: Unable to register custom
CDR handling

Everything else works, but as I said there is no music on hold.

sip.conf:

In global parameters:

musicclass=default  ; Sets the default music on hold class
for all

an extension:

[2707]
context=default
type = friend
username = 2707
host = dynamic
mailbox = 2707
dtmfmode=rfc2833
nat=no
disallow=all
allow=ulaw
allow=g729
musicclass=default

In extensions.conf file:

exten = 2707,1,Dial(SIP/2707,35,trHm)
;exten = 2707,2,MusicOnHold()
;exten = 2707,3,MP3Player(/var/lib/asterisk/mohmp3/fpm-sunshine.mp3)
exten = 2707,3,voicemail(u2707)
exten = 2707,4,Hangup
exten = 2707,102,Voicemail(b2707)
exten = 2707,103,Hangup

musiconhold.conf file:

[classes]
;default = quietmp3:/var/lib/asterisk/mohmp3 loud =
mp3:/var/lib/asterisk/mohmp3 default =
custom:/var/lib/asterisk/mohmp3/,/usr/bin/madplay --mono -R 8000
--output=raw:-


But it does not work.

when I call extension 2707 on console is following output:

 Reloading SIP
Urgent handler

Use EXIT or QUIT to exit the asterisk console
-- Executing Dial(SIP/1730-b6a4, SIP/2707|35|trHm) in new stack
Urgent handler Urgent handler
-- Called 2707
Urgent handler
-- Started music on hold, class 'default', on SIP/1730-b6a4 Urgent
handler
-- SIP/2707-8c7d is ringing
Urgent handler
-- Stopped music on hold on SIP/1730-b6a4

Any idea what is going wrong?

Thanks, 

 
NOTICE: If received in error, please destroy and notify sender.  Sender does 
not waive confidentiality or privilege, and use is prohibited. 
 
___
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] Problem with Music on Hold. Please help

2005-03-31 Thread Irakli Natsvlishvili
Any idea when this gonna be fixed? 

 -Original Message-
 From: Kanuri, Seshu (Company IT) 
 [mailto:[EMAIL PROTECTED] 
 Sent: Thursday, March 31, 2005 7:20 AM
 To: [EMAIL PROTECTED]; Asterisk Users 
 Mailing List - Non-Commercial Discussion
 Subject: RE: [Asterisk-Users] Problem with Music on Hold. Please help
 
 I am having similar issue with Build 1.0.7
 
 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] On Behalf Of
 [EMAIL PROTECTED]
 Sent: Wednesday, March 30, 2005 9:54 PM
 To: asterisk-users@lists.digium.com
 Subject: [Asterisk-Users] Problem with Music on Hold. Please help
 
 Hello everybody,
 
 I've run on a problem with music on hold. Asterisk does not play
 anything.

___
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] Problem with Music on Hold. Please help

2005-03-31 Thread C F
On Thu, 31 Mar 2005 10:20:10 -0500, Kanuri, Seshu (Company IT)
[EMAIL PROTECTED] wrote:
 I am having similar issue with Build 1.0.7
 
 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] On Behalf Of
 [EMAIL PROTECTED]
 Sent: Wednesday, March 30, 2005 9:54 PM
 To: asterisk-users@lists.digium.com
 Subject: [Asterisk-Users] Problem with Music on Hold. Please help
 
 Hello everybody,
 
 I've run on a problem with music on hold. Asterisk does not play
 anything.
 
 Here is the info:
 
 latest Asterisk:
 Asterisk CVS-HEAD-03/25/05-23:18:57
 
 Asterisk is installed Fedora Core 4 running on AMD 2.0Ghz CPU box with
 512 RAM.

If you are using FC4, I think you are using Kernel 2.6, in which case
usb is not needed.
 
 I took latest zaptel source code, uncommented ztdummy and installed
 according to instruction from this blog - http://blog.soolid.it/?p=16
 
 I have also compiled and installed Madplay according to same
 instructions.
 
 Zaptel has compiled successfully. Modprobe of zaptel/ztdummy is
 successful also. However lsmod output shows that USB controller is not
 used by
 ztdummy:
 
 [EMAIL PROTECTED] src]# lsmod
 Module  Size  Used by
 ztdummy 3924  0
 zaptel204676  7 ztdummy
 ohci_hcd   23765  0
 uhci_hcd   31449  0
 ehci_hcd   35273  0
 
 Asterisk starts without a problem, the only messages I've receive are
 following:
 
 WARNING[26256]: chan_oss.c:486 soundcard_init: Unable to open /dev/dsp:
 Device or resource busy
   == No sound card detected -- console channel will be unavailable
 
 ERROR[25489]: cdr_custom.c:135 load_module: Unable to register custom
 CDR handling
 
 Everything else works, but as I said there is no music on hold.
 
 sip.conf:
 
 In global parameters:
 
 musicclass=default  ; Sets the default music on hold class
 for all
 
 an extension:
 
 [2707]
 context=default
 type = friend
 username = 2707
 host = dynamic
 mailbox = 2707
 dtmfmode=rfc2833
 nat=no
 disallow=all
 allow=ulaw
 allow=g729
 musicclass=default
 
 In extensions.conf file:
 
 exten = 2707,1,Dial(SIP/2707,35,trHm)
 ;exten = 2707,2,MusicOnHold()
 ;exten = 2707,3,MP3Player(/var/lib/asterisk/mohmp3/fpm-sunshine.mp3)
 exten = 2707,3,voicemail(u2707)
 exten = 2707,4,Hangup
 exten = 2707,102,Voicemail(b2707)
 exten = 2707,103,Hangup
 
 musiconhold.conf file:
 
 [classes]
 ;default = quietmp3:/var/lib/asterisk/mohmp3 loud =
 mp3:/var/lib/asterisk/mohmp3 default =
 custom:/var/lib/asterisk/mohmp3/,/usr/bin/madplay --mono -R 8000
 --output=raw:-
 
 But it does not work.
 
 when I call extension 2707 on console is following output:
 
  Reloading SIP
 Urgent handler
 
 Use EXIT or QUIT to exit the asterisk console
 -- Executing Dial(SIP/1730-b6a4, SIP/2707|35|trHm) in new stack
 Urgent handler Urgent handler
 -- Called 2707
 Urgent handler
 -- Started music on hold, class 'default', on SIP/1730-b6a4 Urgent
 handler
 -- SIP/2707-8c7d is ringing
 Urgent handler
 -- Stopped music on hold on SIP/1730-b6a4
 
 Any idea what is going wrong?
 
 Thanks,
 
 
 NOTICE: If received in error, please destroy and notify sender.  Sender does 
 not waive confidentiality or privilege, and use is prohibited.

I know someone already replied to you about this, but I'll do it
agian: Why destroy the sender as well?
___
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] Problem with Music on Hold. Please help

2005-03-31 Thread Irakli Natsvlishvili
 If you are using FC4, I think you are using Kernel 2.6, in which case
 usb is not needed.

Anyway, is there a cure for this problem?

___
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] Problem with Music on Hold. Please help

2005-03-30 Thread irakli . natsvlishvili
Hello everybody,

I've run on a problem with music on hold. Asterisk does not play anything.

Here is the info:

latest Asterisk:
Asterisk CVS-HEAD-03/25/05-23:18:57

Asterisk is installed Fedora Core 4 running on AMD 2.0Ghz CPU box with 512
RAM.

I took latest zaptel source code, uncommented ztdummy and installed
according to instruction from this blog - http://blog.soolid.it/?p=16

I have also compiled and installed Madplay according to same instructions.

Zaptel has compiled successfully. Modprobe of zaptel/ztdummy is successful
also. However lsmod output shows that USB controller is not used by
ztdummy:

[EMAIL PROTECTED] src]# lsmod
Module  Size  Used by
ztdummy 3924  0
zaptel204676  7 ztdummy
ohci_hcd   23765  0
uhci_hcd   31449  0
ehci_hcd   35273  0

Asterisk starts without a problem, the only messages I've receive are
following:

WARNING[26256]: chan_oss.c:486 soundcard_init: Unable to open /dev/dsp:
Device or resource busy
  == No sound card detected -- console channel will be unavailable

ERROR[25489]: cdr_custom.c:135 load_module: Unable to register custom CDR
handling

Everything else works, but as I said there is no music on hold.

sip.conf:

In global parameters:

musicclass=default  ; Sets the default music on hold class for all

an extension:

[2707]
context=default
type = friend
username = 2707
host = dynamic
mailbox = 2707
dtmfmode=rfc2833
nat=no
disallow=all
allow=ulaw
allow=g729
musicclass=default

In extensions.conf file:

exten = 2707,1,Dial(SIP/2707,35,trHm)
;exten = 2707,2,MusicOnHold()
;exten = 2707,3,MP3Player(/var/lib/asterisk/mohmp3/fpm-sunshine.mp3)
exten = 2707,3,voicemail(u2707)
exten = 2707,4,Hangup
exten = 2707,102,Voicemail(b2707)
exten = 2707,103,Hangup

musiconhold.conf file:

[classes]
;default = quietmp3:/var/lib/asterisk/mohmp3
loud = mp3:/var/lib/asterisk/mohmp3
default = custom:/var/lib/asterisk/mohmp3/,/usr/bin/madplay --mono -R
8000 --output=raw:-


But it does not work.

when I call extension 2707 on console is following output:

 Reloading SIP
Urgent handler

Use EXIT or QUIT to exit the asterisk console
-- Executing Dial(SIP/1730-b6a4, SIP/2707|35|trHm) in new stack
Urgent handler
Urgent handler
-- Called 2707
Urgent handler
-- Started music on hold, class 'default', on SIP/1730-b6a4
Urgent handler
-- SIP/2707-8c7d is ringing
Urgent handler
-- Stopped music on hold on SIP/1730-b6a4

Any idea what is going wrong?

Thanks,



___
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