On Thu, 2010-02-04 at 23:17 +1300, Justin Menga wrote:
> I came across a strange issue with SIPXecs 4.0.4 - if I use the normal
> Logical AND operator (&&) in a cond element within a prompt field, the
> VXML interpreter seems to fail.
> 
> e.g. the below VXML causes the VXML application to stop...
> 
> <prompt cond="myvalue > 0 && yourvalue < 10">
>      ...
> </prompt>


> Any ideas on how to get logical AND working?

The '&' character has to be escaped in XML content.  Try:

<prompt cond="myvalue > 0 &amp;&amp; yourvalue < 10">

_______________________________________________
sipx-users mailing list [email protected]
List Archive: http://list.sipfoundry.org/archive/sipx-users
Unsubscribe: http://list.sipfoundry.org/mailman/listinfo/sipx-users
sipXecs IP PBX -- http://www.sipfoundry.org/

Reply via email to