[Voiceglue] dynlog / NOTI dynlevel log vxml tag not showing up

Doug Campbell voiceglue at campbellcastle.com
Fri Dec 4 22:09:48 UTC 2009


> here is an extract of my code.
> <form id="myrequest">
> <log expr="MYLOG"/>

Note that the contents of the expr attribute is a javascript
expression, so unless you have a javascript (or VXML) variable
named MYLOG this probably won't work.

> FYI. I'm running ubuntu 9.04 Asterisk 1.4 and the lastest voiceglue 0.11
> 
> any additional ideas are welcome? 

Using the exact same software as you, with dynlog level set to 5,
I ran the following VXML script:

<?xml version="1.0" encoding="UTF-8"?>
<vxml version = "2.0" xmlns="http://www.w3.org/2001/vxml">
   <form>
     <block>
       <log expr="'MYLOG'"/>
       <prompt> Welcome </prompt>
     </block>
   </form>
</vxml>

Here's what I got in the dynlog:

17:04:01:579 NOTI VOICEGLU gnuzebra callid=[3] starting VXML interp on url="http://localhost/vg_test_www/vxml/tmp/test.vxml" for DNIS="4" perlfd=9 vxmlfd=10
17:04:01:605 NOTI OPEN_VXI gnuzebra callid=[3] Channel 3: Waiting for Call 1
17:04:01:605 NOTI OPEN_VXI gnuzebra callid=[3] Channel 3: In a Call
17:04:01:654 NOTI OPEN_VXI gnuzebra callid=[3] |-1235530864|3|EVENT|2|expr=MYLOG
17:04:02:640 NOTI OPEN_VXI gnuzebra callid=[3] Channel 3: Call Terminated
17:04:02:643 NOTI VOICEGLU gnuzebra callid=[3] hanging up because VXML interpreter exited

As you can see in the 4th line, the <log> generated output.

Perhaps you can try the above example and see if it works for you.

Doug Campbell


More information about the Voiceglue mailing list