R.I.P. Missing ) in extensions_customer.conf

Joined
Sep 23, 2017
Messages
98
Reaction score
22
I was trolling my logs today found the two messages below. I then looked at the extensions_custom.conf and found those two lines are missing )

I am not sure where the closing ) should go.

Code:
[2017-10-28 07:14:21] WARNING[4164] pbx_config.c: No closing parenthesis found? 'agi(googletts.agi,"After the beep say define: or web define: followed by the word you would like defined. $' at line 219 of /etc/asterisk/extensions_custom.conf

[2017-10-28 07:14:21] WARNING[4164] pbx_config.c: No closing parenthesis found? 'NoOp(Query: ${WORD}' at line 232 of /etc/asterisk/extensions_custom.conf

Code:
;# // BEGIN Dictionary
exten => 333,1,Answer
exten => 333,n,Wait(1)
exten => 333,n,Set(TIMEOUT(digit)=7)
exten => 333,n,Set(TIMEOUT(response)=10)
exten => 333,n(retryd),agi(googletts.agi,"After the beep say define: or web define: followed by the word you would like defined. $
exten => 333,n,agi(speech-recog.agi,en-US)
exten => 333,n,Noop(= Script returned: ${status} , ${id} , ${confidence} , ${utterance} =)
exten => 333,n,GotoIf($["${confidence}" > "0.4"]?proceedd:retryd)
exten => 333,n(proceedd),GotoIf($["${utterance:0:6}"= "define"]?proceed2:proceed3)
exten => 333,n(proceed2),Set(WORD=${utterance:7})
exten => 333,n,agi(googletts.agi,"Please hold a moment while we look up the meaning of ${WORD}.",en-US)
exten => 333,n(newtry2),JabberSend(,[email protected],define ${WORD})
exten => 333,n,Goto(proceednow)
exten => 333,n(proceed3),GotoIf($["${utterance:0:10}"<> "web define"]?retryd)
exten => 333,n,Set(WORD=${utterance:11})
exten => 333,n,agi(googletts.agi,"Please hold a moment while we look up the meaning of ${WORD}.",en-US)
exten => 333,n,JabberSend(,[email protected],web define ${WORD})
exten => 333,n(proceednow),NoOp(Query: ${WORD}
exten => 333,n,Set(OPTION=${JABBER_RECEIVE(,[email protected])})
exten => 333,n,NoOp(${OPTION})
exten => 333,n,GotoIf($["foo${OPTION}" != "foo"]?keepon2:newtry2)
exten => 333,n(keepon2),Playtones(425/50,0/50)
exten => 333,n,AGI(nv-dictionary-google.php,"${WORD}","${OPTION}")
exten => 333,n,NoOp(Definition of ${WORD}: ${MEANING})
exten => 333,n,agi(googletts.agi,"${MEANING}",en-US)
exten => 333,n,Hangup
;# // END Dictionary
 

wardmundy

Nerd Uno
Joined
Oct 12, 2007
Messages
19,170
Reaction score
5,199
Google no longer supports this so you can simply delete the Dictionary code.
 

Members online

No members online now.

Forum statistics

Threads
25,782
Messages
167,514
Members
19,203
Latest member
frapu
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