Bharath B. Reddy Bynagari wrote: > Hi, > > > > We are using Asterisk and PERL. We have all the call logic in PERL. We > are trying to identify the caller using the CID in the Database. As the > Database lookup is taking more time (>15 seconds), we want to play some > tune while the caller is waiting. > > > > How can we do that? Any ideas will be greatly appreciated. > > > > - Bharath
Assuming that you are using a perl AGI script, you can use the AGI command SET MUSIC ON to play music on the channel. You can stop the music by using SET MUSIC OFF. For a bit more information, you can run the CLI command "agi show set music" Mark Michelson -- _____________________________________________________________________ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users