Hi There,
I can suggest you to check the dial status variable in dial plan and if its
NO_ANSWER guide the caller to voicemail with 'u' option, and if they leave
and get back on a fixed time you can take a look for day time night time
topic in asterisk documents.
HTH,
--
M. Shokuie Nia.
From: "Christian" <[EMAIL PROTECTED]>
Reply-To: Asterisk Users Mailing List - Non-Commercial
Discussion<asterisk-users@lists.digium.com>
To: "Asterisk Users Mailing List - Non-Commercial
Discussion"<asterisk-users@lists.digium.com>
Subject: Re: [Asterisk-Users] Is this possible in Asterisk?
Date: Sun, 18 Dec 2005 18:36:14 +0100
MIME-Version: 1.0
Received: from lists.digium.com ([69.16.138.164]) by
bay0-mc12-f19.bay0.hotmail.com with Microsoft SMTPSVC(6.0.3790.211); Sun,
18 Dec 2005 09:48:30 -0800
Received: from arizona.digium.com (localhost [127.0.0.1])by
lists.digium.com (Postfix) with ESMTP id 7E14C4337;Sun, 18 Dec 2005
10:38:02 -0700 (MST)
Received: from psmtp.com (unknown [64.18.0.41])by lists.digium.com
(Postfix) with SMTP id 85E3E4334for <asterisk-users@lists.digium.com>;Sun,
18 Dec 2005 10:36:39 -0700 (MST)
Received: from source ([64.233.162.192]) by
exprod5mx127.postini.com([64.18.4.10]) with SMTP; Sun, 18 Dec 2005 09:36:21
PST
Received: by zproxy.gmail.com with SMTP id o1so1103021nzffor
<asterisk-users@lists.digium.com>;Sun, 18 Dec 2005 09:36:21 -0800 (PST)
Received: by 10.64.3.11 with SMTP id 11mr451159qbc;Sun, 18 Dec 2005
09:36:20 -0800 (PST)
Received: from uwv ( [82.182.183.11])by mx.gmail.com with ESMTP id
a29sm1762599qbd.2005.12.18.09.36.19;Sun, 18 Dec 2005 09:36:20 -0800 (PST)
X-Message-Info: LGjzam7y+LsP0A1T+4Y1PvJh+HFLKLA3pfw57wIWqLo=
X-Original-To: asterisk-users@lists.digium.com
Delivered-To: asterisk-users@lists.digium.com
DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta;
d=gmail.com;h=received:message-id:from:to:references:subject:date:mime-version:content-type:content-transfer-encoding:x-priority:x-msmail-priority:x-mailer:x-mimeole;b=od0eK3XRc1NMxk1DtuLWp8refLZSJl1MqRQ6J8VP/+5XgiSxwZm+ucWQwOiCoNRGoKXQAwYGyCyF5pe+iUfcdGF+0CfCHFEDIBXltT9dL3HZ7b2Os8FCSiQZxEmzKUhydM4WWMpz4qoHrRBXX2m6fXooyczHXAXr8dDlwFL9XwY=
References: <[EMAIL PROTECTED]>
<[EMAIL PROTECTED]>
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 6.00.2900.2670
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2670
X-pstn-levels: (S:99.90000/99.90000 )
X-pstn-settings: 1 (0.1500:0.1500) gt3 gt2 gt1 X-pstn-addresses: from
<[EMAIL PROTECTED]> [90/4] X-BeenThere: asterisk-users@lists.digium.com
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:asterisk-users@lists.digium.com>
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: 18 Dec 2005 17:48:30.0140 (UTC)
FILETIME=[41BFC7C0:01C603FB]
Hi Elmar and all others,
Will have a look and if I can't get it working I will post here!
many thanks!
----- Original Message ----- From: "Elmar Haneke" <[EMAIL PROTECTED]>
To: "Asterisk Users Mailing List - Non-Commercial Discussion"
<asterisk-users@lists.digium.com>
Sent: Sunday, December 18, 2005 5:17 PM
Subject: Re: [Asterisk-Users] Is this possible in Asterisk?
Let's say an office has 20 people with 20 extensions and they want to
enter a code on their phone when they leave for lunch and a voice will
tel lthe caller like:
The person you are calling is out of the office and will return at 1 pm.
Is this something that is possible?
I'm tot shure if there is any documentation regarding this specific topic.
For Realisation I would suggest three parts:
- Define an "Pseudo-Number" to be dialed on going to / coming back from
lunch
- The dialplan for this numbers should be modifiyng the state and playing
an appropriate message.
- The general dialplan has to read the current stat for the dialled target
and act corresponding to this.
- To Store the state there are DB-like functions in asterisk - or you can
write an AGI.
Elmar
_______________________________________________
--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
_______________________________________________
--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