[asterisk-users] Ignoring MOH directory and using default

2009-07-31 Thread Todd Routhier
Wow, been a long time since I have been on the list.. A few years to be
exact :)

Glad to be back in the land of Asterisk..

I have a box running Asterisk 1.4.8 that's been real solid and I have a
bunch of custom stuff running on it.

I am trying to move this to a new piece of hardware and everything is going
well but I am having MOH issues.

Basically, I use raw sound files for my music on hold on the old machine and
I want to do the same on the new machine.

I installed the same version of asterisk on the new box, then moved all my
config files and sound files over.

For some odd reason, the music on hold that Asterisk is playing is the
default stuff in the default moh directory even though I have the class
below defined in musiconhold.conf.

The directory and sound files do exist and all this works fine on the old
box, same config files, same sound files, same path, same Asterisk version.
Any ideas?

Thanks!

#musiconhold.conf##
[default]
mode=files
;directory=/var/lib/asterisk/moh
directory=/var/lib/asterisk/mohtjr
___
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

AstriCon 2009 - October 13 - 15 Phoenix, Arizona
Register Now: http://www.astricon.net

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

Re: [asterisk-users] Ignoring MOH directory and using default

2009-07-31 Thread Danny Nicholas
Are your permissions ok (files and directories)? Did you restart asterisk
after modifying moh.conf?

 

  _  

From: asterisk-users-boun...@lists.digium.com
[mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of Todd Routhier
Sent: Friday, July 31, 2009 1:49 PM
To: asterisk-users@lists.digium.com
Subject: [asterisk-users] Ignoring MOH directory and using default

 

Wow, been a long time since I have been on the list.. A few years to be
exact :)

Glad to be back in the land of Asterisk..

I have a box running Asterisk 1.4.8 that's been real solid and I have a
bunch of custom stuff running on it.

I am trying to move this to a new piece of hardware and everything is going
well but I am having MOH issues.

Basically, I use raw sound files for my music on hold on the old machine and
I want to do the same on the new machine.

I installed the same version of asterisk on the new box, then moved all my
config files and sound files over.

For some odd reason, the music on hold that Asterisk is playing is the
default stuff in the default moh directory even though I have the class
below defined in musiconhold.conf.

The directory and sound files do exist and all this works fine on the old
box, same config files, same sound files, same path, same Asterisk version.
Any ideas?

Thanks!

#musiconhold.conf##
[default]
mode=files
;directory=/var/lib/asterisk/moh
directory=/var/lib/asterisk/mohtjr



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

AstriCon 2009 - October 13 - 15 Phoenix, Arizona
Register Now: http://www.astricon.net

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

Re: [asterisk-users] Ignoring MOH directory and using default

2009-07-31 Thread Todd R

It was the darn restart, thanks!

I wasn't aware that musiconhold.conf was only read at start but now I  
remember that Asterisk only reads certain files upon reload.


Thx

On Jul 31, 2009, at 2:03 PM, Danny Nicholas da...@debsinc.com wrote:

Are your permissions ok (files and directories)? Did you restart  
asterisk after modifying moh.conf?


From: asterisk-users-boun...@lists.digium.com [mailto:asterisk-users- 
boun...@lists.digium.com] On Behalf Of Todd Routhier

Sent: Friday, July 31, 2009 1:49 PM
To: asterisk-users@lists.digium.com
Subject: [asterisk-users] Ignoring MOH directory and using default

Wow, been a long time since I have been on the list.. A few years to  
be exact :)


Glad to be back in the land of Asterisk..

I have a box running Asterisk 1.4.8 that's been real solid and I  
have a bunch of custom stuff running on it.


I am trying to move this to a new piece of hardware and everything  
is going well but I am having MOH issues.


Basically, I use raw sound files for my music on hold on the old  
machine and I want to do the same on the new machine.


I installed the same version of asterisk on the new box, then moved  
all my config files and sound files over.


For some odd reason, the music on hold that Asterisk is playing is  
the default stuff in the default moh directory even though I have  
the class below defined in musiconhold.conf.


The directory and sound files do exist and all this works fine on  
the old box, same config files, same sound files, same path, same  
Asterisk version. Any ideas?


Thanks!

#musiconhold.conf##
[default]
mode=files
;directory=/var/lib/asterisk/moh
directory=/var/lib/asterisk/mohtjr


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

AstriCon 2009 - October 13 - 15 Phoenix, Arizona
Register Now: http://www.astricon.net

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

AstriCon 2009 - October 13 - 15 Phoenix, Arizona
Register Now: http://www.astricon.net

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