[Asterisk-Users] Sending DTMF Tones Offhook
aaron at sundman.com
aaron at sundman.com
Wed Jul 27 09:51:40 MST 2005
Greetings All!
The Asterisk Call Manager works great. But I have one question for
anyone who has used it. I cannot get the system to send some DTMF
tones down the channel once the call has been made. Below is the
script I am using to make the call, and start recording the channel.
I am starting to make a system the will use asterisk to become an
automatic random quality monitoring system that will dial into an
Aspect (or any for that matter) ACD that has CTI and do it's job.
The "ZapDialOffhook" event says it's successful in the API window but
does not seem to do any dialing (i hear no tones). Is there another
command that works? I have tried using the CLI command SendDTMF to no
avail. Everything below works except the -zapdialoffhook-.
Thanks in advance for any assistance you wish to provide!
Connect
-----------------------
telnet 172.18.128.74 5038
login
----------------------
action: login
username: *******
secret: ***********
make call:
----------------------
action: originate
channel: zap/1/98744207
context: default
exten: 5196
priority: 1
callerid: test
async: yes
dial digits:
----------------------
(try#1)
Action: ZapDialOffhook
ZapChannel: 1-1
Number: 12334556
(try#2)
Action: ZapDialOffhook
ZapChannel: 1
Number: 12334556
(both do the same thing)
record call: (zap)
----------------------
Action: Monitor
Channel: Zap/1-1
File: recordingtest14
Mix: 1
stop recording call:
----------------------
Action: StopMonitor
Channel: Zap/1-1
end call:
----------------------
action: hangup
channel: zap/1-1
-Aaron Sundman
www.nerdpc.com
www.grcu.net
More information about the asterisk-users
mailing list