I Down Loaded from a different site still no match but when I signed into my server today every thing worked normal.
Thank you
Wolfram Alpha Problem Fixed
Problem fix by uploading a fresh 4747 file and run the WA setup
I Added Speech Recognition Support and I can get weather reports by name.
1 Added Wolfram Alpha I get a repeat of my question but after I push 1 its says good by.
Here is the output
raspberrypi*CLI>
== Using SIP RTP TOS bits 184
== Using SIP RTP CoS mark 5
-- Executing [4747@from-internal:1] Dial("SIP/701-00000020", "SIP/4747") in new stack
[2016-03-15 16:22:48] WARNING[12286][C-00000021]: chan_sip.c:6064 create_addr: Purely numeric hostname (4747), and not a peer--rejecting!
[2016-03-15 16:22:48] WARNING[12286][C-00000021]: app_dial.c:2411 dial_exec_full: Unable to create channel of type 'SIP' (cause 20 - Subscriber absent)
== Everyone is busy/congested at this time (1:0/0/1)
-- Executing [4747@from-internal:2] Wait("SIP/701-00000020", "1") in new stack
-- Executing [4747@from-internal:3] Flite("SIP/701-00000020", ""After the beep, Say your command, then Press the pound key."") in new stack
> 0x75f171c0 -- Probation passed - setting RTP source address to 192.168.0.4:64044
-- <SIP/701-00000020> Playing '/tmp/flite_70580260.slin' (language 'en')
> 0x75f171c0 -- Probation passed - setting RTP source address to 192.168.0.4:64044
> 0x75f171c0 -- Probation passed - setting RTP source address to 192.168.0.4:64044
> 0x75f171c0 -- Probation passed - setting RTP source address to 192.168.0.4:64044
-- Executing [4747@from-internal:4] AGI("SIP/701-00000020", "speech-recog.agi,en-US") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/speech-recog.agi
-- <SIP/701-00000020> Playing 'beep.gsm' (language 'en')
-- <SIP/701-00000020>AGI Script speech-recog.agi completed, returning 0
-- Executing [4747@from-internal:5] NoOp("SIP/701-00000020", "= Script returned: , , 0.98496169 , what is the weather outside =") in new stack
-- Executing [4747@from-internal:6] Flite("SIP/701-00000020", ""what is the weather outside"") in new stack
-- <SIP/701-00000020> Playing '/tmp/flite_17358765.slin' (language 'en')
-- Executing [4747@from-internal:7] BackGround("SIP/701-00000020", "vm-star-cancel") in new stack
-- <SIP/701-00000020> Playing 'vm-star-cancel.gsm' (language 'en')
-- Executing [4747@from-internal:8] BackGround("SIP/701-00000020", "continue-english-press") in new stack
-- <SIP/701-00000020> Playing 'continue-english-press.gsm' (language 'en')
-- Executing [4747@from-internal:9] BackGround("SIP/701-00000020", "digits/1") in new stack
-- <SIP/701-00000020> Playing 'digits/1.gsm' (language 'en')
-- Executing [4747@from-internal:10] Read("SIP/701-00000020", "PROCEED,beep,1") in new stack
-- Accepting a maximum of 1 digits.
-- <SIP/701-00000020> Playing 'beep.gsm' (language 'en')
-- User entered '1'
-- Executing [4747@from-internal:11] GotoIf("SIP/701-00000020", "1?12:14") in new stack
-- Goto (from-internal,4747,12)
-- Executing [4747@from-internal:12] Set("SIP/701-00000020", "FILE(/tmp/query.txt)=what is the weather outside") in new stack
-- Executing [4747@from-internal:13] BackGround("SIP/701-00000020", "one-moment-please") in new stack
-- <SIP/701-00000020> Playing 'one-moment-please.gsm' (language 'en')
-- Executing [4747@from-internal:14] System("SIP/701-00000020", "/var/lib/asterisk/agi-bin/4747") in new stack
-- Executing [4747@from-internal:15] Set("SIP/701-00000020", "foo=
-- ") in new stack
-- Executing [4747@from-internal:16] Flite("SIP/701-00000020", ""
-- "") in new stack
[2016-03-15 16:23:09] WARNING[12286][C-00000021]: app_flite.c:150 flite_exec: Flite: No text passed for synthesis.
-- Executing [4747@from-internal:17] Flite("SIP/701-00000020", ""Have a nice day! Good bye."") in new stack
-- <SIP/701-00000020> Playing '/tmp/flite_58670879.slin' (language 'en')
-- Executing [4747@from-internal:18] Hangup("SIP/701-00000020", "") in new stack
== Spawn extension (from-internal, 4747, 18) exited non-zero on 'SIP/701-00000020'
-- Executing [h@from-internal:1] Hangup("SIP/701-00000020", "") in new stack
== Spawn extension (from-internal, h, 1) exited non-zero on 'SIP/701-00000020'
raspberrypi*CLI>
Here is file 4747 and APID is correct
APPID="XXXXXX-XXXXXXXXXX"
QUERY=`cat /tmp/query.txt`
rm /tmp/theanswer.txt
wget -U "Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.3) Gecko/20100401 Firefox/3.6.3 (.NET CLR 3.5.30729)" -O "/tmp/theanswer.txt" "
http://api.wolframalpha.com/v2/query?input='$QUERY'&appid=$APPID&format=plaintext&scantimesout=59"
/var/lib/asterisk/agi-bin/4747.php
Thanks
Jeff