-----Original Message-----
From: asterisk-users-boun...@lists.digium.com
[mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of Russell Brown
Sent: Tuesday, February 15, 2011 12:40 PM
To: asterisk-users@lists.digium.com
Subject: [asterisk-users] Paging a message. How?


I'm scratching my head trying to work out a way of sending a
pre-recorded message as a 'Page' to a list of phones ( "Oi!  you muppets
you've left the server room door open!" or somesuch message :-)
controlled by an external trigger.

I can do a normal page (phones auto-answer on speaker) with SipAddHeader
but that doesn't let me play a pre-recorded message.

Any suggestions?


-- 
 Regards,
     Russell

Set up a context to play the message like this
[playit]
Exten => s,1,playback(${ARG1})
Exten => s,n,playback(vm-goodbye)
Exten => s,n,hangup

Then add this to your "normal page" function 
Exten => s,n,Goto(playit,s,1)



--
_____________________________________________________________________
-- 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

Reply via email to