Where is this variable getting or losing the &quot;undef&quot; value? Also, add this line to info and see what gets printed:<div><br></div><div>&lt;action application=&quot;log&quot; data=&quot;WARNING $var contains &#39;${var}&#39;&quot;/&gt;</div>
<div><br></div><div>That will print it out in purple letters to make it easier to see. FWIW, I tried this with various permutations of &#39;undefined&#39; channel vars and expression=&quot;^$&quot; always worked for me.</div>
<div><br></div><div>-MC<br><br><div class="gmail_quote">On Mon, Jan 17, 2011 at 3:55 PM, Madovsky <span dir="ltr">&lt;<a href="mailto:infos@madovsky.org">infos@madovsky.org</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">






<div bgcolor="#ffffff">
<div><font size="2">yes, I can see UNDEF</font></div>
<blockquote style="border-left:#000000 2px solid;padding-left:5px;padding-right:0px;margin-left:5px;margin-right:0px"><div><div></div><div class="h5">
  <div style="font:10pt arial">----- Original Message ----- </div>
  <div style="font:10pt arial;background:#e4e4e4"><b>From:</b> 
  <a title="msc@freeswitch.org" href="mailto:msc@freeswitch.org" target="_blank">Michael 
  Collins</a> </div>
  <div style="font:10pt arial"><b>To:</b> <a title="freeswitch-users@lists.freeswitch.org" href="mailto:freeswitch-users@lists.freeswitch.org" target="_blank">FreeSWITCH Users Help</a> 
  </div>
  <div style="font:10pt arial"><b>Sent:</b> Monday, January 17, 2011 2:34 
  PM</div>
  <div style="font:10pt arial"><b>Subject:</b> Re: [Freeswitch-users] empty var 
  expression</div>
  <div><br></div>Is the var showing up as &quot;UNDEF&quot; when you send the call to the 
  info app?
  <div>-MC<br><br>
  <div class="gmail_quote">On Fri, Jan 14, 2011 at 12:22 PM, Madovsky <span dir="ltr">&lt;<a href="mailto:infos@madovsky.org" target="_blank">infos@madovsky.org</a>&gt;</span> wrote:<br>
  <blockquote style="border-left:#ccc 1px solid;margin:0px 0px 0px 0.8ex;padding-left:1ex" class="gmail_quote">
    <div bgcolor="#ffffff">
    <div><font size="2">I tried this for an var marked as &quot;UNDEF&quot; in 
    log</font></div>
    <div><font size="2"></font> </div>
    <div><font size="2">&lt;condition field=&quot;${var}&quot; expression=&quot;^UNDEF$&quot; 
    break=&quot;never&quot;&gt;</font></div>
    <div><font size="2">&lt;condition field=&quot;${var}&quot; expression=&quot;UNDEF&quot; 
    break=&quot;never&quot;&gt;</font></div>
    <div><font size="2">&lt;condition field=&quot;${var}&quot; expression=&quot;undef&quot; 
    break=&quot;never&quot;&gt;</font></div>
    <div><font size="2">&lt;condition field=&quot;${var}&quot; expression=&quot;^undef$&quot; 
    break=&quot;never&quot;&gt;</font></div>
    <div><font size="2">&lt;condition field=&quot;${var}&quot; expression=&quot;&quot; 
    break=&quot;never&quot;&gt;</font></div>
    <div><font size="2">&lt;condition field=&quot;${var}&quot; expression=&quot;^$&quot; 
    break=&quot;never&quot;&gt;</font></div>
    <div><font size="2">&lt;condition field=&quot;${var}&quot; expression=&quot;[UNDEF]&quot; 
    break=&quot;never&quot;&gt;</font></div>
    <div><font size="2">&lt;condition field=&quot;${var}&quot; expression=&quot;[]&quot; 
    break=&quot;never&quot;&gt;</font></div>
    <div><font size="2"></font> </div>
    <div><font size="2">without success.</font></div>
    <div><font size="2">which is the right expression for empty var please 
    ?</font></div>
    <div><font size="2"></font> </div>
    <div><font size="2">Thanks</font></div>
    <div><br></div>
    <div><font size="2"></font> </div>
    <div><font size="2"></font> </div></div><br>_______________________________________________<br>FreeSWITCH-users 
    mailing list<br><a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a><br><a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br><a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<br></blockquote></div><br></div>
  </div></div><p>
  </p><hr><div class="im">

  <p></p>_______________________________________________<br>FreeSWITCH-users 
  mailing 
  list<br><a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a><br><a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br><a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
</div><p></p></blockquote></div>
<br>_______________________________________________<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<br></blockquote></div><br></div>