[asterisk-users] Play a file while transfering a call

Danny Nicholas danny at debsinc.com
Thu Jun 4 08:26:47 CDT 2009


You could call an AGI to read a database based on the caller/extension and
play any number of MOH files.

-----Original Message-----
From: asterisk-users-bounces at lists.digium.com
[mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Philipp
Kempgen
Sent: Thursday, June 04, 2009 1: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
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




More information about the asterisk-users mailing list