[asterisk-users] Play MusicOnHold and continue with dialplan

Danny Nicholas danny at debsinc.com
Tue May 18 09:30:37 CDT 2010


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: asterisk-users-bounces at lists.digium.com
[mailto:asterisk-users-bounces at lists.digium.com] 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




More information about the asterisk-users mailing list