Need to send DTMF tones after extension picks up

thorpe5278

Joined
Jan 10, 2010
Messages
50
Likes
0
Points
0
#1
I need to set up an extension when it picks up it will wait about 3 seconds then send a 4 digit DTMF code then hang up. So I will route a call to this extension it will pick up wiat 2 secondt then send a 4 digit DTMF tone. Anyone know an easy way to do this.
 

dicko

Joined
Oct 24, 2008
Messages
4,099
Likes
0
Points
0
#2
Welcome to Elastix.

add this context to /etc/asterisk/extensions_custom.conf

[play-stuff]
exten => tone1,1,Answer()
exten => tone1,n,wait(2)
exten => tone1,n,senddtmf("1234567" )
exten => tone1,n,hangup()


add a custom destination to

play-stuff,tone1,1

and describe it anyway you want,

It will then be available as a destination
 

thorpe5278

Joined
Jan 10, 2010
Messages
50
Likes
0
Points
0
#3
This worked great thanks
 

Disha

Joined
Aug 6, 2010
Messages
1
Likes
0
Points
0
#4
Hi Dicko
Can you let me know where can i put play-stuff,tone1,1
 

dicko

Joined
Oct 24, 2008
Messages
4,099
Likes
0
Points
0
#5
In a "custom destination" that you will create?
 

Members online

No members online now.

Latest posts

Forum statistics

Threads
30,902
Messages
130,887
Members
17,566
Latest member
Fpino
Top