[Voiceglue] vxml parsing error
Aclhk Aclhk
aclhkaclhk at ymail.com
Thu Jun 3 09:33:28 UTC 2010
i followed your instruction to install 0.12 in centos 5.4
http://voiceglue.org/wiki/doku.php?id=voiceglue_0.12_user_guide
after installed and started all services, i setup asterisk as below
[phoneglue]
exten => ${phoneglue},1,answer
exten => ${phoneglue},2,wait(1)
exten => ${phoneglue},3,agi(agi://localhost/welcome-audiofile.vxml)
exten => ${phoneglue},4,hangup
asterisk console log
-- Executing [1234 at default:1] Answer("SIP/test-00000005", "") in new stack
-- Executing [1234 at default:2] Wait("SIP/test-00000005", "1") in new stack
-- Executing [1234 at default:3] AGI("SIP/test-00000005", "agi://192.168.123.233/welcome-audiofile.vxml") in new stack
-- Remote UNIX connection
-- Remote UNIX connection disconnected
-- Playing 'voiceglue/tts/A_serious_error_has_occured___Exiting_' (escape_digits=0123456789*#) (sample_offset 0)
-- Remote UNIX connection
-- Remote UNIX connection disconnected
-- AGI Script agi://localhost/welcome-audiofile.vxml completed, returning 0
-- Executing [1234 at default:4] Hangup("SIP/test-00000005", "") in new stack
welcome-audiofile.vxml came from your example.
below is dynlog
17:05:59:756 INFO PHONGLUE localhos callid=[3] new incoming assigned to index 0 of 1: CT client on fh="::CTCLIENT1" at host=127.0.0.1 proto=SATC
17:05:59:756 DBUG PHONGLUE localhos callid=[3] snd incoming callid=3 ani="test" dnis="1234" arg="welcome-audiofile.vxml" to CT client on fh="::CTCLIENT1" at host=127.0.0.1 proto=SATC
17:05:59:756 DBUG PHONGLUE localhos snd "incoming 3 test 1234 \"welcome-audiofile.vxml\"\n" to ::CTCLIENT1
17:05:59:759 DBUG VOICEGLU localhos rcv ctsrv: "incoming 3 test 1234 \"welcome-audiofile.vxml\"\n"
17:05:59:759 DBUG VOICEGLU localhos callid=[3] parsed incoming callid=3 ani="test" dnis="1234" arg="welcome-audiofile.vxml"
17:05:59:759 NOTI VOICEGLU localhos callid=[3] starting VXML interp on url="?keywords=welcome-audiofile.vxml" from ANI="test" for DNIS="1234" javascript_init="connection.initargs = new Objec
t();\nconnection.initargs.keywords = 'welcome-audiofile.vxml';\n" perlfd=10 vxmlfd=11 =#[#= 1275555959.759 call start 3 =#]#=
17:05:59:762 NOTI OPEN_VXI localhos callid=[3] Channel 3: Starting VXML Call Processing\n
17:05:59:762 DBUG OPEN_VXI localhos callid=[3] |1107728704|3|60001|testClient::ChannelThread|In a Call\n
17:05:59:765 DBUG OPEN_VXI localhos callid=[3] JsiContext::Create() started\n
17:05:59:766 DBUG OPEN_VXI localhos callid=[3] JS_NewContext()\n
17:05:59:767 DBUG OPEN_VXI localhos callid=[3] JsiContext::Create(): JS_THREADSAFE set\n
17:05:59:768 DBUG OPEN_VXI localhos callid=[3] JSDOMDocument::JSInit() started\n
17:05:59:768 DBUG OPEN_VXI localhos callid=[3] JS_InitClass(JSDOMDocument) OK, do: InitNodeObject()\n
17:05:59:769 DBUG OPEN_VXI localhos callid=[3] JsiContext::Create() finished\n
17:05:59:791 DBUG OPEN_VXI localhos callid=[3] SBinetChannel::open:createStream(/var/log/voiceglue/?keywords=welcome-audiofile.vxml)\n
17:05:59:792 DBUG OPEN_VXI localhos callid=[3] SBinetChannel::open:createStream(/var/log/voiceglue/?keywords=welcome-audiofile.vxml) returns VXIinetStream=0x165eb70, calling its VXIinetStrea
m::Open()\n
17:05:59:792 DBUG OPEN_VXI localhos callid=[3] SBinetChannel::open(/var/log/voiceglue/?keywords=welcome-audiofile.vxml) finished\n
17:05:59:793 EROR OPEN_VXI localhos callid=[3] |1107728704|3|SEVERE|swi:SBinet|224|SBinet: Failed reading from file|File=/var/log/voiceglue/\n
17:05:59:794 EROR OPEN_VXI localhos callid=[3] |1107728704|3|SEVERE|swi:SBinet|206|SBinet: Read error|rc=1\n
17:05:59:794 DBUG OPEN_VXI localhos callid=[3] SBinetChannel::close(0x165eb70) started\n
17:05:59:795 DBUG OPEN_VXI localhos callid=[3] SBinetChannel::close(0x165eb70) finished\n
17:05:59:795 EROR OPEN_VXI localhos callid=[3] |1107728704|3|SEVERE|swi:SBinet|205|SBinet: Close error|rc=-1\n
17:05:59:796 DBUG OPEN_VXI localhos callid=[3] |1107728704|3|8000|com.vocalocity.vxi|DocumentParser::FetchBuffer - could not read from URL.\n
17:05:59:796 DBUG OPEN_VXI localhos callid=[3] |1107728704|3|8000|com.vocalocity.vxi|DocumentParser::FetchDocument - exiting with error result 3\n
17:05:59:797 EROR OPEN_VXI localhos callid=[3] |1107728704|3|CRITICAL|com.vocalocity.vxi|204|VXIinterpreterRun: Failed to read the URI's content.|URL=/var/log/voiceglue/?keywords=welcome-aud
iofile.vxml\n
17:05:59:798 NOTI OPEN_VXI localhos callid=[3] |1107728704|3|EVENT|2|content=Default error handler: error.badfetch , /var/log/voiceglue/?keywords=welcome-audiofile.vxml\n
17:05:59:798 DBUG OPEN_VXI localhos callid=[3] |1107728704|3|8001|com.vocalocity.vxi|Default error handler: error.badfetch , /var/log/voiceglue/?keywords=welcome-audiofile.vxml\n
ls /var/log/voiceglue
voiceglue voiceglue_process.log voiceglue-soundcache
pls advise.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.voiceglue.org/pipermail/voiceglue/attachments/20100603/a9b3de0a/attachment.html>
More information about the Voiceglue
mailing list