ok, but the classes in "musiconhold.conf" are static and require a reload to be modified.
________________________________ From: asterisk-users-boun...@lists.digium.com on behalf of Philipp Kempgen Sent: Thu 04/06/2009 7:54 AM To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: Re: [asterisk-users] Play a file while transfering a call Julien Chavanton schrieb: > I need to be able to play different files when calling different numbers > dynamicaly from the dial-plan, this solution will still require the creation > of multiple static entry in "musiconhold.conf" > > For example, if it was possible to specify one file from the "Dial CMD" in > the dial plan, it would be easy to acheive. How about multiple music classes in musiconhold.conf and Set(CHANNEL(musicclass)=foobar) in the dialplan then? Philipp Kempgen -- AMOOMA GmbH - Bachstr. 126 - 56566 Neuwied -> http://www.amooma.de <http://www.amooma.de/> Geschäftsführer: Stefan Wintermeyer, Handelsregister: Neuwied B14998 Asterisk: http://the-asterisk-book.com <http://the-asterisk-book.com/> - http://das-asterisk-buch.de <http://das-asterisk-buch.de/> Videos of the AMOOCON VoIP conference 2009 -> http://www.amoocon.de <http://www.amoocon.de/> -- _______________________________________________ -- Bandwidth and Colocation Provided by http://www.api-digital.com <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