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

Anthony Geoffron anthony.geoffron at gmail.com
Fri Dec 4 22:33:02 UTC 2009


ok got it thanks!, it was a matter of putting it in the right parent tag
structure.

I have one more thing to finetune.
this code use to work on the i6net vxml browser

session.connection.remote.uri
session.connection.local.uri

don't seem to be populated properly

I'm dialing extension 1070 from a local sip client.

22:28:38:644 NOTI OPEN_VXI ivr01--- callid=[22]
|140500766173520|22|EVENT|2|label=DNIS|expr=781871222
22:28:40:640 NOTI OPEN_VXI ivr01--- callid=[22] Channel 22: Call Terminated

my code:
<?xml version="1.0" encoding="UTF-8"?>
<vxml version = "2.0" xmlns="http://www.w3.org/2001/vxml">
 <form>
   <block>
<log expr="session.connection.remote.uri" label="DNIS"/>
     <prompt> Welcome </prompt>
   </block>
 </form>
</vxml>

Do I need to set this session variable else where in a conf file?

Thanks.


On Fri, Dec 4, 2009 at 2:09 PM, Doug Campbell
<voiceglue at campbellcastle.com>wrote:

> 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
> _______________________________________________
> Voiceglue mailing list
> Voiceglue at voiceglue.org
> http://www.voiceglue.org/mailman/listinfo/voiceglue
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.voiceglue.org/pipermail/voiceglue/attachments/20091204/6d92c2a3/attachment.html>


More information about the Voiceglue mailing list