RE: [Asterisk-Users] Checking for a sound file

2005-04-27 Thread Rich Adamson
Just as a reminder for those using Outlook, a large percentage of us
that receive html postings to the list simply delete them. If you
want to see responses from a larger group, stop the html stuff.


  From: Wiley Siler [EMAIL PROTECTED]
  Subject: RE: [Asterisk-Users] Checking for a sound file
  Date: Tue, 26 Apr 2005 12:43:22 -0700 
  To: Asterisk Users Mailing List - Non-Commercial Discussion 
asterisk-users@lists.digium.com


 Look at this code
  
 ;
  ; IVR RECORDER
  ;
 ; Record voice file to /tmp directory
 exten = 205,1,Wait(2) ; Call 205 to Record new Sound Files
 exten = 205,2,Record(/tmp/asterisk-recording:gsm)
 exten = 205,3,Wait(2)
 exten = 205,4,Playback(/tmp/asterisk-recording)
 exten = 205,5,wait(2)
 exten = 205,6,Hangup
  
 Now if I call in on my * and dial 205 I can record a message to the path 
 described above
  
 As long as your IVR settings are playing that same file to them, you should 
 be fine
  
 I would of course customize the file names and possible the locations...
  
 Cheers,
 Wiley
  
  
  
 
 -
 
 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Marc
 Sent: Tuesday, April 26, 2005 11:02 AM
 To: asterisk-users@lists.digium.com
 Subject: [Asterisk-Users] Checking for a sound file
 
 Hi,
  
 At this moment I'm configuring my first asterisk pbx, and am running into the 
 following problem: I would like to create a phonenumber for my
 customers, which they can call to hear if there are any problems with the 
 servers. In case of a problem, I would like to be able to call that
 number, authenticate myself and record a new message. From that moment that 
 message must be played when customers call. When the
 problem is solved, I would like to call the same number again, authenticate, 
 and remove that message, so the original message is again played to
 customers that call.
  
 I've read the wiki pages, but I'm not able to create this configuration. Can 
 somebody please give me some tips how to do this?
  
 Regards,
 Marc
---End of Original Message-


___
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] Checking for a sound file

2005-04-27 Thread Eric Wieling aka ManxPower
Rich Adamson wrote:
Just as a reminder for those using Outlook, a large percentage of us
that receive html postings to the list simply delete them. If you
want to see responses from a larger group, stop the html stuff.
Mozilla Mail, at least, lets you do View / Message Body As / Plain Text. 
 It doesn't follow the torture stupid people way of thinking, but it 
does keep me from seeing all that HTML crap.
___
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] Checking for a sound file

2005-04-27 Thread John Novack




Causes me to wonder a couple
of things.
Why does ANYONE use Outhouse or Outhouse Express? There are many much
more friendly Windows E-mail clients, from Mozilla on down

Don't know nor care about Linux E-mail. For me Linux is a means to an
end , not a religion.

Even more of a question, why doesn't mailman convert everything to
plain text?
It seems to be an option that the list owner/operator could easily turn
on and give list members ONE less thing to carp about.

John Novack


Rich Adamson wrote:

  Just as a reminder for those using Outlook, a large percentage of us
that receive "html" postings to the list simply delete them. If you
want to see responses from a larger group, stop the html stuff.


  From: Wiley Siler [EMAIL PROTECTED]
  Subject: RE: [Asterisk-Users] Checking for a sound file
  Date: Tue, 26 Apr 2005 12:43:22 -0700 
  To: Asterisk Users Mailing List - Non-Commercial Discussion asterisk-users@lists.digium.com


  
  
Look at this code
 
;
 ; IVR RECORDER
 ;
; Record voice file to /tmp directory
exten = 205,1,Wait(2) ; Call 205 to Record new Sound Files
exten = 205,2,Record(/tmp/asterisk-recording:gsm)
exten = 205,3,Wait(2)
exten = 205,4,Playback(/tmp/asterisk-recording)
exten = 205,5,wait(2)
exten = 205,6,Hangup
 
Now if I call in on my * and dial 205 I can record a message to the path described above
 
As long as your IVR settings are playing that same file to them, you should be fine
 
I would of course customize the file names and possible the locations...
 
Cheers,
Wiley
 
 
 

-

From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] On Behalf Of Marc
Sent: Tuesday, April 26, 2005 11:02 AM
To: asterisk-users@lists.digium.com
Subject: [Asterisk-Users] Checking for a sound file

Hi,
 
At this moment I'm configuring my first asterisk pbx, and am running into the following "problem": I would like to create a phonenumber for my
customers, which they can call to hear if there are any problems with the servers. In case of a problem, I would like to be able to call that
number, authenticate myself and record a new message. From that moment that message must be played when customers call. When the
problem is solved, I would like to call the same number again, authenticate, and remove that message, so the original message is again played to
customers that call.
 
I've read the wiki pages, but I'm not able to create this configuration. Can somebody please give me some tips how to do this?
 
Regards,
Marc

  
  ---End of Original Message-


___
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] Checking for a sound file

2005-04-27 Thread Rich Adamson
  Just as a reminder for those using Outlook, a large percentage of us
  that receive html postings to the list simply delete them. If you
  want to see responses from a larger group, stop the html stuff.
 
 Mozilla Mail, at least, lets you do View / Message Body As / Plain Text. 
   It doesn't follow the torture stupid people way of thinking, but it 
 does keep me from seeing all that HTML crap.

This may sound really stupid, but I'm using an email viewer written in
1996 that doesn't understand html, doesn't open attachments, etc. Never
have a virus issue, buffer overflow attempts, etc. :)

But, there seems to be a fair number of newbies that wonder why
their questions aren't answered, and html posting is at least
partially to blame. Just a reminder to those folks.


___
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] Checking for a sound file

2005-04-27 Thread Tom Fanning
 Causes me to wonder a couple of things.
 Why does ANYONE use Outhouse or Outhouse Express? There are many much more
friendly Windows E-mail clients, from Mozilla on down

Tight integration with Exchange 2003. 

Find me an alternative client that is as stable and that has such tight
integration and I'll jump ship immediately.

___
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] Checking for a sound file

2005-04-27 Thread Matthew Marlowe
- Original Message - 
From: Eric Wieling aka ManxPower [EMAIL PROTECTED]
To: Asterisk Users Mailing List - Non-Commercial Discussion 
asterisk-users@lists.digium.com
Sent: Wednesday, April 27, 2005 9:20 AM
Subject: Re: [Asterisk-Users] Checking for a sound file


Rich Adamson wrote:
Just as a reminder for those using Outlook, a large percentage of us
that receive html postings to the list simply delete them. If you
want to see responses from a larger group, stop the html stuff.
Mozilla Mail, at least, lets you do View / Message Body As / Plain Text. 
It doesn't follow the torture stupid people way of thinking, but it does 
keep me from seeing all that HTML crap.
Outlook allows you to view a message as plain text as well.. And obviously 
lets you send messages as plain text.

___
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] Checking for a sound file

2005-04-26 Thread Wiley Siler



Look at this code

;; IVR RECORDER; ; Record voice 
file to /tmp directory exten = 205,1,Wait(2) ; Call 205 to Record new 
Sound Files exten = 205,2,Record(/tmp/asterisk-recording:gsm) exten 
= 205,3,Wait(2) exten = 205,4,Playback(/tmp/asterisk-recording) 
exten = 205,5,wait(2) exten = 205,6,Hangup 

Now if 
I call in on my * and dial 205 I can record a message to the path described 
above

As 
long as your IVR settings are playing that same file to them, you should be 
fine

I 
would of course customize the file names and possible the 
locations...

Cheers,
Wiley






From: [EMAIL PROTECTED] 
[mailto:[EMAIL PROTECTED] On Behalf Of 
MarcSent: Tuesday, April 26, 2005 11:02 AMTo: 
asterisk-users@lists.digium.comSubject: [Asterisk-Users] Checking for 
a sound file

Hi,

At this moment I'm 
configuring my first asterisk pbx, and am running into the following "problem": 
I would like to create a phonenumber for my customers, which they can call to 
hear if there are any problems with the servers. In case of a problem, I would 
like to be able to call that number, authenticate myself and record a new 
message. From that moment that message must be played when customers call. When 
the problem is solved, I would like to call the same number again, authenticate, 
and remove that message, so the original message is again played to customers 
that call.

I've read the wiki 
pages, but I'm not able to create this configuration. Can somebody please give 
me some tips how to do this?

Regards,
Marc
___
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] Checking for a sound file

2005-04-26 Thread Andy Hamilton
Marc:

You may be able to do this with voicemail; you'd get the
authentication, realtime outbound message alteration, etc.
You would just have the DID support number go straight to voicemail.
The only think left would be to see if there's a way to not permit a
message to be left.

-Andy

On 4/26/05, Marc [EMAIL PROTECTED] wrote:
  
 Hi, 
   
 At this moment I'm configuring my first asterisk pbx, and am running into
 the following problem: I would like to create a phonenumber for my
 customers, which they can call to hear if there are any problems with the
 servers. In case of a problem, I would like to be able to call that number,
 authenticate myself and record a new message. From that moment that message
 must be played when customers call. When the problem is solved, I would like
 to call the same number again, authenticate, and remove that message, so the
 original message is again played to customers that call. 
   
 I've read the wiki pages, but I'm not able to create this configuration. Can
 somebody please give me some tips how to do this? 
   
 Regards, 
 Marc 
 ___
 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] Checking for a sound file

2005-04-26 Thread Adam Goryachev
On Tue, 2005-04-26 at 17:51 -0500, Andy Hamilton wrote:
 Marc:
 
 You may be able to do this with voicemail; you'd get the
 authentication, realtime outbound message alteration, etc.
 You would just have the DID support number go straight to voicemail.
 The only think left would be to see if there's a way to not permit a
 message to be left.

Good suggestion, other option is with something like this:

exten = 5551234,1,Background(local/outage)
exten = 5551234,2,Hangup
exten = 1234,1,Authenticate(4321)  ;Check usage of authenticate,
something like that...
exten = 1234,2,Record(local/outage)
exten = 1234,3,Background(local/outage) ; Allow to listen to what you
just recorded, and dial 1234 to re-record it
exten = 1234,4,Hangup
exten = 1234,102,Playback(vm-failed) ; or something
exten = 1234,103,Hangup

When you dial 5551234, you start to hear the message, then you press
1234, and enter you code 4321, and record your new message.

Also see this snippet I use to record all my prompts:
[recordings]
exten = s,1,Festival,Please record your message
exten = s,2,Playback(beep)
exten = s,3,Record,mymessage:gsm
exten = s,4,Festival,You said
exten = s,5,Background(mymessage)
exten = s,6,Playback(beep)
exten = s,7,Festival,Press 1 to continue or 2 to change your message
exten = s,8,DigitTimeout,3

exten = t,1,Festival,Sorry, I did not get that
exten = t,2,Goto,s|5

exten = i,1,Festival,Sorry, that is an invalid choice
exten = i,2,Goto,s|7

exten =
1,1,System,/bin/mv /var/lib/asterisk/sounds/mymessage.gsm 
/var/lib/asterisk/sounds/local/`date +%s`.gsm
exten = 1,2,Festival,Thank you, your recording has been saved.
exten = 1,3,Festival,Press 3 to record another file or 4 to hang up

exten = 2,1,Goto,s|2
exten = 3,1,Goto,s|1
exten = 4,1,Hangup


Just adjust the mv command to name it local/outage.gsm instead ...

Regards,
Adam
-- 
 -- 
Adam Goryachev
Website Managers
Ph:  +61 2 8304 [EMAIL PROTECTED]
Fax: +61 2 9345 4396www.websitemanagers.com.au

___
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