Try changing
exten => s,4,Read(SECRET,,10)
to
exten => s,4,Read(SECRET,,0)
and then wait for user to press #
I think you may be missing the important # sign...
Richard
----- Original Message -----
From: "Anastasia LePlume" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Tuesday, October 30, 2007 11:36 AM
Subject: [on-asterisk] My system just hangs up!
Hello all!
My name Anastasia. Im new to asterisk and new to this group aswell. I am
trying to write a dialplan for trixbox 2.2 which is supposed to transfer a
call yet it just hangsup after it reads the ten digit number. This script
works on other computers running trixbox so it is probably something to do
with my other settings.
i have spent 8 days trying to figure this out and I really desperate for
help right now.
This is my dialplan
[custom-calltransfer]
exten => s,1,Answer
exten => s,2,DigitTimeout(14)
exten => s,3,ResponseTimeout(30)
exten => s,4,Read(SECRET,,10)
exten => s,5,wait(5)
exten => s,6,Flash()
exten => s,7,wait(5)
exten => s,8,SendDTMF(${SECRET}#)
exten => s,9,wait(6)
exten => s,10,Hangup
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]