NO JOY Bringing * Star back to life

trupsalms

Member
Joined
May 13, 2011
Messages
337
Reaction score
6
;# // BEGIN Star
exten => *,1,Answer
exten => *,n,Wait(1)
exten => *,n,Set(TIMEOUT(digit)=7)
exten => *,n,Set(TIMEOUT(response)=10)
;exten => *,n(retryit),Flite("Star, at your service. How can I help you today.")
exten => *,n(retryit),agi(ibmtts.php,"Star, at your service. How can I help you today.",en)
exten => *,n,agi(speech-recog.agi,en-US)
exten => *,n,Noop(= Script returned: ${status} , ${id} , ${confidence} , ${utterance} =)
;exten => *,n,GotoIf($["${confidence}" > "0.4"]?proceednow:retryit)
;exten => *,n(proceednow),agi(googletts.agi,"${utterance}. Here we go.",en)
exten => *,n(proceednow),agi(ibmtts.php,"${utterance}. Here we go.",en)
exten => *,n,AGI(nv-star.php,${utterance})
exten => *,n,NoOp(Answer: ${ANSWER})
exten => *,n,GotoIf($["${ANSWER}" = "*WOLFRAMALPHA"]?4747,12)
exten => *,n,GotoIf($["${ANSWER}" = "*CALL"]?callproc)
exten => *,n,GotoIf($["${ANSWER}" = "*DIAL"]?dialproc:playit)
exten => *,n(callproc),Set(NAME2CALL=${utterance:5})
exten => *,n,Set(utterance=${NAME2CALL})
exten => *,n,Goto(411,11)
exten => *,n(dialproc),Set(DIAL=${utterance})
;exten => *,n,Dial(local/${DIAL}@from-internal)
exten => *,n,Goto(outbound-allroutes,${DIAL},1)
exten => *,n,Hangup
;exten => *,n(playit),Flite("${ANSWER}")
exten => *,n(playit),agi(ibmtts.php,"${ANSWER}",en)
exten => *,n,Hangup
;# // END Star
 

Members online

Forum statistics

Threads
25,812
Messages
167,763
Members
19,240
Latest member
nikko
Get 3CX - Absolutely Free!

Link up your team and customers Phone System Live Chat Video Conferencing

Hosted or Self-managed. Up to 10 users free forever. No credit card. Try risk free.

3CX
A 3CX Account with that email already exists. You will be redirected to the Customer Portal to sign in or reset your password if you've forgotten it.
Top