Juan C. Crespo R. schrieb:

>     Guys I wonder if its possible to set a different MoH based on 
> groups, I mean if one of the Admin group put on hold the call play music 
> 1, if another from Technical Support put on hold the call play music 3,  
> something like this
> 
> Admin - Music1
> Contrallors - Music 2
> Technical Support -  Music 3

Some dialplan logic around Set(CHANNEL(musicclass)=...) should do
the trick I guess.

Maybe the easiest way (in Asterisk 1.6) would be to add
setvar=musicclass=admin  / setvar=musicclass=support / ...
to your SIP peers and then do something like
_X. => {
        Set(CHANNEL(musicclass)=${SIPPEER(${EXTEN},chanvar[musicclass])})
        Dial(SIP/${EXTEN});
}
in your dialplan (untested).


    Philipp Kempgen
-- 
AMOOMA GmbH - Bachstr. 126 - 56566 Neuwied  ->  http://www.amooma.de
Geschäftsführer: Stefan Wintermeyer, Handelsregister: Neuwied B14998
Asterisk: http://the-asterisk-book.com - http://das-asterisk-buch.de
Videos of the AMOOCON VoIP conference 2009 ->  http://www.amoocon.de
-- 

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

Reply via email to