youll have to decide what context this goes in
either
[internal]
or [incoming]
but i hope you can figure this out yourself
here is an idea
[internal]
exten => s,1,Answer()
exten => s,n,Playback(pbx-invalid)
exten => s,n,Hangup()
so now when a user from [internal] picks up the phone the pbx-invalid.gsm is
played from
the asterisk sounds directory
so now you are saying to yourself i want my own voice, to record
check this out
[internal]
exten => s,1,Answer()
exten => s,n,Playback(custom)
exten => s,n,Hangup()
(dont tell anyone this part, or just add it temporarily)
exten => 999,1,Answer()
exten => 999,n,Record(custom.gsm)
exten => 999,n,Wait(1)
exten => 999,n,Playback(custom)
you will hear a beep after u dial 999, start recording
then hangup or i think u can type # to stop and move to the next option
From: [EMAIL PROTECTED]
Reply-To: Asterisk Users Mailing List - Non-Commercial
Discussion<[email protected]>
To: [email protected]
Subject: [asterisk-users] Asterisk Dial Plan to Play Message
Date: Sat, 22 Jul 2006 20:00:37 +0000
MIME-Version: 1.0
Received: from lists.digium.com ([69.16.138.164]) by
bay0-mc12-f15.bay0.hotmail.com with Microsoft SMTPSVC(6.0.3790.2444); Sat,
22 Jul 2006 13:02:18 -0700
Received: from digium-69-16-138-164.phx1.puregig.net (localhost
[127.0.0.1])by lists.digium.com (Postfix) with ESMTP id 81F652FC9F5;Sat, 22
Jul 2006 13:00:42 -0700 (MST)
Received: from psmtp.com (exprod8mx22.postini.com [64.18.3.122])by
lists.digium.com (Postfix) with SMTP id DD3DF2FC9BFfor
<[email protected]>;Sat, 22 Jul 2006 13:00:37 -0700 (MST)
Received: from source ([216.148.227.153]) by
exprod8mx22.postini.com([64.18.7.10]) with SMTP; Sat, 22 Jul 2006 13:00:38
PDT
Received: from rmailcenter18.comcast.net ([204.127.197.128])by comcast.net
(rwcrmhc13) with SMTPid <20060722200038m1300da2kae>; Sat, 22 Jul 2006
20:00:38 +0000
Received: from [208.17.34.25] by rmailcenter18.comcast.net;Sat, 22 Jul 2006
20:00:37 +0000
X-Message-Info: txF49lGdW41NVVYVTXpoQhqJpeo4y5ph0jUyL25Wnpk=
X-Original-To: [email protected]
Delivered-To: [email protected]
X-Mailer: AT&T Message Center Version 1 (Apr 11 2006)
X-Authenticated-Sender: bnRhbmRvaEBjb21jYXN0Lm5ldA==
X-pstn-levels: (S:99.90000/99.90000 FC:95.5390 LC:95.5390 R:95.9108
P:95.9108M:96.8350 C:98.4741 )
X-pstn-settings: 3 (1.0000:1.0000) s fc lc gt3 gt2 gt1 r p m c
X-pstn-addresses: from <[EMAIL PROTECTED]> [db-null] X-BeenThere:
[email protected]
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Asterisk Users Mailing List - Non-Commercial
Discussion<asterisk-users.lists.digium.com>
List-Unsubscribe:
<http://lists.digium.com/mailman/listinfo/asterisk-users>,<mailto:[EMAIL PROTECTED]>
List-Archive: <http://lists.digium.com/pipermail/asterisk-users>
List-Post: <mailto:[email protected]>
List-Help: <mailto:[EMAIL PROTECTED]>
List-Subscribe:
<http://lists.digium.com/mailman/listinfo/asterisk-users>,<mailto:[EMAIL PROTECTED]>
Errors-To: [EMAIL PROTECTED]
Return-Path: [EMAIL PROTECTED]
X-OriginalArrivalTime: 22 Jul 2006 20:02:19.0387 (UTC)
FILETIME=[BCC7A4B0:01C6ADC9]
Anyone know how to use dial plan to play messages as soon as a phone is
picked up. Like when a user picks up a phone, get a message to contact
administrator instead of a dial tone?
_______________________________________________
--Bandwidth and Colocation provided by Easynews.com --
asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users
_________________________________________________________________
Express yourself instantly with MSN Messenger! Download today - it's FREE!
http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/
_______________________________________________
--Bandwidth and Colocation provided by Easynews.com --
asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users