0 like 0 dislike
83 views
I want to record some sound message as IVR in asterisk and want to listen back..
asked Sep 17, 2014 in Education & Reference by Simmi (510 points) | 83 views
    

1 Answer

0 like 0 dislike

For your IVR configuration you will need first to record some sound messages.
You can record your own sound files using the Asterisk. For this purpose you should add an extension for the recording in the extensions.conf file. In our example, you can dial the extension 100, after the beep you can start recording your message.
To end the recording press "#". The message is recorded in .gsm format and is called recording.gsm in the /var/lib/asterisk/sounds directory. Asterisk plays back the message after you pressed "#"(after 2 seconds).

exten => 100,1,Wait(2)
exten => 100,n,Record(/var/lib/asterisk/sounds/recording:gsm)
exten => 100,n,NoOp(${RECORDED_FILE})
exten => 100,n,Wait(2)
exten => 100,n,Playback(/var/lib/asterisk/sounds/recording)
exten => 100,n,NoOp(${PLAYBACKSTATUS})
exten => 100,n,Wait(1)
exten => 100,n,Hangup()

answered Sep 17, 2014 by Krish (880 points)

Related questions

1 like 0 dislike
1 answer
0 like 0 dislike
1 answer
1 like 0 dislike
1 answer
1 like 0 dislike
1 answer
asked Jan 21, 2016 in Education & Reference by Sam (1,370 points) | 96 views
0 like 0 dislike
1 answer
1 like 0 dislike
2 answers

Where your donation goes
Technology: We will utilize your donation for development, server maintenance and bandwidth management, etc for our site.

Employee and Projects: We have only 15 employees. They are involved in a wide sort of project works. Your valuable donation will definitely boost their work efficiency.

How can I earn points?
Awarded a Best Answer 10 points
Answer questions 10 points
Asking Question -20 points

Mathe Forum Schule und Studenten
1,171 questions
1,311 answers
276 comments
1,602 users