it depends of what you are trying to acheave.... one approach is with regex <br><br>check this: <a href="http://wiki.freeswitch.org/wiki/Misc._Dialplan_Tools_regex">http://wiki.freeswitch.org/wiki/Misc._Dialplan_Tools_regex</a><br>
<br>you can set a different variable and have it true or false ... than you can compare for false state...<br><br><br>well .. it is up to you ...<br><br>T.<br><br><br><div class="gmail_quote">On Wed, Oct 21, 2009 at 1:34 PM, Mark Campbell-Smith <span dir="ltr"><<a href="mailto:mcampbellsmith@gmail.com">mcampbellsmith@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Hi!<br>
<br>
How do I do a NOT equal to in a dialplan expression<br>
<br>
Normaly in regex I would use the ! character. This doesn't seem to work in FS..<br>
<br>
ie<br>
<condition field="${variable}" expression="!^1"><br>
<br>
Shouldn't that match when the variable is not starting with one?<br>
<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>
</blockquote></div><br>