Cheers. That is exactly what I need (I wonder how come I didn't find out that app) :-)
Thanks! Alex -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Danny Nicholas Sent: Tuesday, May 18, 2010 11:24 PM To: 'Asterisk Users Mailing List - Non-Commercial Discussion' Subject: Re: [asterisk-users] Play MusicOnHold and continue with dialplan Here's one way Exten => s,1,noop(dial with moh) Exten => s,n,dial(tech/1,10,m) Exten => s,n,WaitExten(10,m) Exten => s,n,dial(tech/2,10,m) Exten => s,n,WaitExten(10,m) The waitexten(10,m) plays musiconhold waiting for a 1 digit extension. As long as there's not one in the context, you're good. -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Asterisk Sent: Tuesday, May 18, 2010 4:19 PM To: 'Asterisk Users Mailing List - Non-Commercial Discussion' Subject: Re: [asterisk-users] Play MusicOnHold and continue with dialplan Thanks, but in my particular case I need to do pause between dials (using Wait() command). How could I implement MoH also when Wait is in progress (in single extensions that is)? Is this even possible, or is the only way to encapsulate the logic in one extension and do Dial(Local/lo...@extension,,m) in another one? Regards, Alex -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Danny Nicholas Sent: Tuesday, May 18, 2010 4:31 PM To: 'Asterisk Users Mailing List - Non-Commercial Discussion' Subject: Re: [asterisk-users] Play MusicOnHold and continue with dialplan The simplest way to do this is this: Exten => s,1,noop(dial with moh) Exten => s,n,dial(tech/1,10,m) Exten => s,n,dial(tech/2,10,m) -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Asterisk Sent: Tuesday, May 18, 2010 9:23 AM To: 'Asterisk Users Mailing List - Non-Commercial Discussion' Subject: [asterisk-users] Play MusicOnHold and continue with dialplan Hi guys, Is it possible to start playing MusicOnHold to the caller but also continue with the dialplan in single extension, something like this: exten => s,1,StartPlayingMoh() exten => s,n,Wait(10) exten => s,n,Dial(someone...) exten => s,n,Wait(10) exten => s,n,Dial(someone else...) ... Regards, Alex -- _____________________________________________________________________ -- 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 -- _____________________________________________________________________ -- 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 -- _____________________________________________________________________ -- 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 -- _____________________________________________________________________ -- 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 -- _____________________________________________________________________ -- 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
