Thank you for sharing your solution, 
 
   However 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.
 

________________________________

From: asterisk-users-boun...@lists.digium.com on behalf of Marco Sambo
Sent: Wed 03/06/2009 6:52 AM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: Re: [asterisk-users] Play a file while transfering a call


Hi,
I do this by creating a directory "waitingtransfer" with only 1 file (the audio 
message, the name isn't important, so you can change it everytime you want) and 
then add new musiconhold class with specific "waitingtransfer" directory. In 
your extensions.conf you change the musiconhold class to waitingmessage class, 
and that's it!
For me works great!




2009/6/2 Julien Chavanton <j...@atlastelecom.com>


        Hi, I would like to play a file "please wait while we transfer your 
call ..." while dialing
        
        I could use music on hold (Dial CMD option "m") but, the file can 
change very frequently and it could be problematic to edit "musiconhold.conf" 
and reload  everytime there is a new file available.
        
        Is there a suggestion on how to simply specify one file ? or create one 
directory with one file only without having to edit musiconhold.conf  ?
        
        or is there a different alternative ?
        
        
        
        
        _______________________________________________
        -- 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 
<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

Reply via email to