Re: [Asterisk-Users] Is this possible in Asterisk?

2005-12-19 Thread Furqan

Hi Christian,

Yes, it is possible. You will have to make your agi file for this.For 
example abc.pl. Use the following command in your agi file:

my $DialedNo= $AGI-get_data(sound_filename, 3);
where $DialedNo is any varaible, you can use any name.
sound_filename is the name of  the file you want to play. You will use the 
name of your sound file instead of sound_filename. Make sure sound file 
should be in gsm format not in wav format.

I hope, it will solve your problem. Feel free for more information.

Thanks,

Furqan Ahmed
Software Engineer
B.E. (Computer System), DBA
Super Technologies Inc., Pensacola, Florida

Http://www.SuperTec.com - Tommrow's Technology, Today.
Http://www.SuperTec.com/solutions/ - VOIP Billing Solutions.
Http://www.AsteriskSupport.com - Premium Asterisk Support  Development 
Services.


- Original Message - 
From: Christian [EMAIL PROTECTED]

To: asterisk-users@lists.digium.com
Sent: Sunday, December 18, 2005 6:35 AM
Subject: [Asterisk-Users] Is this possible in Asterisk?



Hi,
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?

Many thanks,
Christian
___
--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


Re: [Asterisk-Users] Is this possible in Asterisk?

2005-12-19 Thread Furqan

Hi Christian,

Yes, it is possible. You will have to make your agi file for this.For 
example abc.pl.

Use the following command in your agi file:

my $DialedNo= $AGI-get_data(sound_filename, 3);

where $DialedNo is any varaible, you can use any name.
sound_filename is the name of  the file you want to play. You will use the
name of your sound file instead of sound_filename. Make sure sound file
should be in gsm format not in wav format.

I hope, it will solve your problem. Feel free for more information.

Thanks,

Furqan Ahmed
Software Engineer
B.E. (Computer System), DBA
Super Technologies Inc., Pensacola, Florida

Http://www.SuperTec.com - Tommrow's Technology, Today.
Http://www.SuperTec.com/solutions/ - VOIP Billing Solutions.
Http://www.AsteriskSupport.com - Premium Asterisk Support  Development 
Services.


- Original Message - 
From: Christian [EMAIL PROTECTED]

To: asterisk-users@lists.digium.com
Sent: Sunday, December 18, 2005 6:35 AM
Subject: [Asterisk-Users] Is this possible in Asterisk?



Hi,
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?

Many thanks,
Christian
___
--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


[Asterisk-Users] Is this possible in Asterisk?

2005-12-18 Thread Christian

Hi,
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?

Many thanks,
Christian 


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


Re: [Asterisk-Users] Is this possible in Asterisk?

2005-12-18 Thread Doug Lytle

Christian wrote:

Hi,
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?

Yes

--
Ben Franklin quote:

Those who would give up Essential Liberty to purchase a little Temporary Safety, 
deserve neither Liberty nor Safety.


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


Re: [Asterisk-Users] Is this possible in Asterisk?

2005-12-18 Thread Christian

   Hi,
Great, do you know where I can find info about this? Many thanks!
- Original Message - 
From: Doug Lytle [EMAIL PROTECTED]
To: Asterisk Users Mailing List - Non-Commercial Discussion 
asterisk-users@lists.digium.com

Sent: Sunday, December 18, 2005 4:02 PM
Subject: Re: [Asterisk-Users] Is this possible in Asterisk?



Christian wrote:

Hi,
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?

Yes

--
Ben Franklin quote:

Those who would give up Essential Liberty to purchase a little Temporary 
Safety, deserve neither Liberty nor Safety.



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


Re: [Asterisk-Users] Is this possible in Asterisk?

2005-12-18 Thread Elmar Haneke


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


Re: [Asterisk-Users] Is this possible in Asterisk?

2005-12-18 Thread Andrew Kohlsmith
On Sunday 18 December 2005 10:09, Christian wrote:
 Great, do you know where I can find info about this? Many thanks!

There is nothing canned that does this.  You need to break the problem down 
into sections and implement each section.  Elmar's already broken it down for 
you.  

If you have any specific questions on the implementation, feel free to ask.  
Otherwise... try some stuff out, experiment and LEARN the system...  This is 
exactly what makes Asterisk so powerful!

-A.
___
--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


Re: [Asterisk-Users] Is this possible in Asterisk?

2005-12-18 Thread Christian

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


Re: [Asterisk-Users] Is this possible in Asterisk?

2005-12-18 Thread Mohammad Shokuie

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 
Discussionasterisk-users@lists.digium.com
To: Asterisk Users Mailing List - Non-Commercial 
Discussionasterisk-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.9/99.9 )
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 
Discussionasterisk-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

Re: [Asterisk-Users] Is this possible in Asterisk?

2005-12-18 Thread Andrew Kohlsmith
On Sunday 18 December 2005 14:15, Mohammad Shokuie wrote:
 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.

That's not what he's asking for, from my interpretation.

As I understand it he wants it to ring a lot fewer times than normal if a call 
comes in after the extension 'holder' has entered in the magic keycode to 
enable lunch mode.  But yes, if you just used the unavailable message with 
some magic that GetDB'd before to determine the # of rings and SetDB'd on the 
magic keypress, you'd have something very close to what he wants, I think.

-A.
___
--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


Re: [Asterisk-Users] is this possible with asterisk?

2005-08-18 Thread Michel Koenen
Hi,

I do not know of an existing application which does this out of the box.
But what you want should be 'simple' to implement with AGI script(s).

You need to have some programming knowledge and knowledge of AGI though.
For the auto dial out there is already info on the site:
http://www.voip-info.org/tiki-index.php?page=Asterisk+auto-dial+out
So you  have to define a context which takes care for the questions
and user feedback and log them, probably AGI will help here too.

Good luck
Michel Koenen


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
[EMAIL PROTECTED]
Sent: Thursday, August 11, 2005 6:36 PM
To: asterisk-users@lists.digium.com
Subject: [Asterisk-Users] is this possible with asterisk?

Hello Everyone!

I'm wondering if the following is possible with asterisk...

What i'm trying to do is find a program or a solution that can help me
set
appointments for a delivery company...

the program should call a person asking them if the following time is
suitable
for a delivery... if they agree, they press one and the system logs
it... if
they don't agree they press two, etc...

Also, another thing the system would do, would be to call the person and
ask
them a couple of questions and have them rate the service by pressing 1,
2, 3,
etc...

If anybody can point me in the right direction, it would be highly
appreciated...

Thanks!
___
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


[Asterisk-Users] is this possible with asterisk?

2005-08-17 Thread jr

Hello Everyone!

I'm wondering if the following is possible with asterisk...

What i'm trying to do is find a program or a solution that can help me set
appointments for a delivery company...

the program should call a person asking them if the following time is suitable
for a delivery... if they agree, they press one and the system logs it... if
they don't agree they press two, etc...

Also, another thing the system would do, would be to call the person and ask
them a couple of questions and have them rate the service by pressing 1, 2, 3,
etc...

If anybody can point me in the right direction, it would be highly
appreciated...

Thanks!

___
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users


RE: [Asterisk-Users] is this possible with asterisk?

2005-08-17 Thread Jonathan k. Creasy
Yes, you could do that with Asterisk and Cepstral/Festival.

-Jonathan

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
[EMAIL PROTECTED]
Sent: Thursday, August 11, 2005 6:36 PM
To: asterisk-users@lists.digium.com
Subject: [Asterisk-Users] is this possible with asterisk?

Hello Everyone!

I'm wondering if the following is possible with asterisk...

What i'm trying to do is find a program or a solution that can help me
set
appointments for a delivery company...

the program should call a person asking them if the following time is
suitable
for a delivery... if they agree, they press one and the system logs
it... if
they don't agree they press two, etc...

Also, another thing the system would do, would be to call the person and
ask
them a couple of questions and have them rate the service by pressing 1,
2, 3,
etc...

If anybody can point me in the right direction, it would be highly
appreciated...

Thanks!

___
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users
___
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [Asterisk-Users] is this possible with asterisk?

2005-08-17 Thread Tim Pushor
Yes, its possible and not too difficult. You can start here to see what 
you can do with Call Files:


http://www.voip-info.org/tiki-index.php?page=Asterisk+auto-dial+out

And a simple example of this in action is the perl wake up call application:

http://www.voip-info.org/tiki-index.php?page=Asterisk+tips+wake-up

Good luck!
Tim


[EMAIL PROTECTED] wrote:


Hello Everyone!

I'm wondering if the following is possible with asterisk...

What i'm trying to do is find a program or a solution that can help me 
set

appointments for a delivery company...

the program should call a person asking them if the following time is 
suitable
for a delivery... if they agree, they press one and the system logs 
it... if

they don't agree they press two, etc...

Also, another thing the system would do, would be to call the person 
and ask
them a couple of questions and have them rate the service by pressing 
1, 2, 3,

etc...

If anybody can point me in the right direction, it would be highly
appreciated...

Thanks!

___
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users


___
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [Asterisk-Users] is this possible with asterisk?

2005-08-17 Thread Derek Whitten
There is a .php wakeup agi on voip-info too. I don't think it would be
that difficult to modify it to your needs



On Wed, 2005-08-17 at 06:54, Tim Pushor wrote:
 Yes, its possible and not too difficult. You can start here to see what 
 you can do with Call Files:
 
 http://www.voip-info.org/tiki-index.php?page=Asterisk+auto-dial+out
 
 And a simple example of this in action is the perl wake up call application:
 
 http://www.voip-info.org/tiki-index.php?page=Asterisk+tips+wake-up
 
 Good luck!
 Tim
 
 
 [EMAIL PROTECTED] wrote:
 
  Hello Everyone!
 
  I'm wondering if the following is possible with asterisk...
 
  What i'm trying to do is find a program or a solution that can help me 
  set
  appointments for a delivery company...
 
  the program should call a person asking them if the following time is 
  suitable
  for a delivery... if they agree, they press one and the system logs 
  it... if
  they don't agree they press two, etc...
 
  Also, another thing the system would do, would be to call the person 
  and ask
  them a couple of questions and have them rate the service by pressing 
  1, 2, 3,
  etc...
 
  If anybody can point me in the right direction, it would be highly
  appreciated...
 
  Thanks!
 
  ___
  Asterisk-Users mailing list
  Asterisk-Users@lists.digium.com
  http://lists.digium.com/mailman/listinfo/asterisk-users
  To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users
 
 ___
 Asterisk-Users mailing list
 Asterisk-Users@lists.digium.com
 http://lists.digium.com/mailman/listinfo/asterisk-users
 To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users
-- 
-BEGIN GEEK CODE BLOCK-
Version: 3.1
GCS/GIT d-@ s+:+ a? C+++ BLHIS$ U+++ P+ L+++ !E W+++$ N++ o+ K w--
PS+++ PE@ Y+ PGP++ t 5? X !R tv+ b- DI-- D G e+ h r+++ y 
 --END GEEK CODE BLOCK--


signature.asc
Description: This is a digitally signed message part
___
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users