Matthew B Marlowe
2004-Feb-04 21:51 UTC
[Asterisk-Users] Music on hold inside of an agi script whileprocessing programs in background
I am using the asterisk-perl agi wrapper. It has helped me a great deal but I don't think the music on hold function was in the asterisk-perl agi wrapper. And if it was, I didn't notice it. Thanks again -----Original Message----- From: asterisk-users-admin@lists.digium.com [mailto:asterisk-users-admin@lists.digium.com] On Behalf Of Eric Wieling Sent: Wednesday, February 04, 2004 11:33 PM To: asterisk-users@lists.digium.com Subject: RE: [Asterisk-Users] Music on hold inside of an agi script whileprocessing programs in background Since be mentions $AGI he may be using asterisk-perl AGI wrappers. It takes some of the the pain out of AGI programming in Perl. On Wed, 2004-02-04 at 22:24, Brian West wrote:> You're right I found that by going over the src.. never thought twice > about it. > > bkw > > On Wed, 4 Feb 2004, Matthew B Marlowe wrote: > > > Ok, that worked. I obviously have no clue to have the functions Ican> > do with AGI. I couldn't find the print " SET MUSIC ON default..." > > method in any documentation. > > > > Is it anywhere? I'd like to read up on AGI as much as I could. > > > > -----Original Message----- > > From: asterisk-users-admin@lists.digium.com > > [mailto:asterisk-users-admin@lists.digium.com] On Behalf Of BrianWest> > Sent: Wednesday, February 04, 2004 11:04 PM > > To: asterisk-users@lists.digium.com > > Subject: Re: [Asterisk-Users] Music on hold inside of an agi script > > while processing programs in background > > > > I do this: > > > > print "SET MUSIC ON default\n"; > > > > :P > > > > On Wed, 4 Feb 2004, Matthew B Marlowe wrote: > > > > > Im the first to admit I am not a programmer. Im trying to learnpeal> > to > > > accomplish one small script for my company. > > > > > > I've got most of the script accomplished and I simply want to play > > music > > > on hold while the script processes some programs which take onaverage> > > anywhere from 3-10 seconds. > > > > > > Is there any way to tell asterisk to start music on hold, and inthe> > > background execute my functions and when those functions are donethen> > > stop the music on hold? > > > > > > Right now, if I execute $AGI->exec(MusicOnHold); the entire script > > stops > > > and doesn't process anything past that point. > > > > > > Thanks in advance > > > > > > _______________________________________________ > > > Asterisk-Users mailing list > > > Asterisk-Users@lists.digium.com > > > http://lists.digium.com/mailman/listinfo/asterisk-users > > > To UNSUBSCRIBE or update options visit: > > > http://lists.digium.com/mailman/listinfo/asterisk-users > > > > > _______________________________________________ > > Asterisk-Users mailing list > > Asterisk-Users@lists.digium.com > > http://lists.digium.com/mailman/listinfo/asterisk-users > > To UNSUBSCRIBE or update options visit: > > http://lists.digium.com/mailman/listinfo/asterisk-users > > > > > > _______________________________________________ > > Asterisk-Users mailing list > > Asterisk-Users@lists.digium.com > > http://lists.digium.com/mailman/listinfo/asterisk-users > > To UNSUBSCRIBE or update options visit: > > http://lists.digium.com/mailman/listinfo/asterisk-users > > > _______________________________________________ > Asterisk-Users mailing list > Asterisk-Users@lists.digium.com > http://lists.digium.com/mailman/listinfo/asterisk-users > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users-- Go to http://www.digium.com/index.php?menu=documentation and look at the "Unofficial Links" section. This section has links to a wide variety of 3rd party Asterisk related pages. My page is the "Asterisk Resource Pages". BTEL Consulting 504-899-1387 or 850-484-4545 or 877-677-9643 _______________________________________________ Asterisk-Users mailing list Asterisk-Users@lists.digium.com http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users