Re: [asterisk-users] Turn off MusicOnHold for individual User

2008-03-18 Thread Adrian Marsh
Anyone have an idea on this?


From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Adrian Marsh
Sent: 17 March 2008 17:08
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: [asterisk-users] Turn off MusicOnHold for individual User

Hi All,

I might of got my wires crossed here, but I'm looking for a way to disable 
musiconhold for individual users.
I had thought that putting the sip.conf entry to:

[690]
type=friend
context=from-sip
secret=*
qualify=yes
host=dynamic
canreinvite=no
nat=yes
mailbox=2090
callerid=2090
musiconhold=silent

and then putting an entry in musiconhold.conf like:

[silent]
mode=files
directory=/var/lib/asterisk/mohmp3-empty   ;(no files in this dir)

I thought this would do it.. but testing shows it still uses the default 
class.

I know I could use SetMusicOnHold and in extensions.conf, but that would 
require a special dialplan prefix or something, so hoped the sip.conf would 
work.  Obviously I've missed something, but what?

Adrian

___
-- 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] Turn off MusicOnHold for individual User

2008-03-18 Thread Lee, John (Sydney)
 I might of got my wires crossed here, but I'm looking for a way to
disable
 musiconhold for individual users.

Good question Adrian.
I never thought about that but I googled a bit and here seems to be the
answer:
http://lists.digium.com/pipermail/asterisk-users/2007-August/193721.html


___
-- 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] Turn off MusicOnHold for individual User

2008-03-17 Thread Adrian Marsh
Hi All,

 

I might of got my wires crossed here, but I'm looking for a way to
disable musiconhold for individual users.

I had thought that putting the sip.conf entry to:

 

[690]

type=friend

context=from-sip

secret=*

qualify=yes

host=dynamic

canreinvite=no

nat=yes

mailbox=2090

callerid=2090

musiconhold=silent

 

and then putting an entry in musiconhold.conf like:

 

[silent]

mode=files

directory=/var/lib/asterisk/mohmp3-empty   ;(no files in this dir)

 

I thought this would do it.. but testing shows it still uses the
default class.

 

I know I could use SetMusicOnHold and in extensions.conf, but that would
require a special dialplan prefix or something, so hoped the sip.conf
would work.  Obviously I've missed something, but what?

 

Adrian

___
-- 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] Turn off musiconhold

2007-08-04 Thread [EMAIL PROTECTED]
How do you disable musiconhold for a single sip peer?  I see that there is a 
musicclass setting, but what do you set it to so that you disable musiconhold?

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