[Freeswitch-users] NOT in dialplan expression

Tihomir Culjaga tculjaga at gmail.com
Wed Oct 21 04:48:24 PDT 2009


it depends of what you are trying to acheave.... one approach is with regex

check this: http://wiki.freeswitch.org/wiki/Misc._Dialplan_Tools_regex

you can set a different variable and have it true or false ... than you can
compare for false state...


well .. it is up to you ...

T.


On Wed, Oct 21, 2009 at 1:34 PM, Mark Campbell-Smith <
mcampbellsmith at gmail.com> wrote:

> Hi!
>
> How do I do a NOT equal to in a dialplan expression
>
> Normaly in regex I would use the ! character.  This doesn't seem to work in
> FS..
>
> ie
>      <condition field="${variable}" expression="!^1">
>
> Shouldn't that match when the variable is not starting with one?
>
> _______________________________________________
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20091021/d19098b1/attachment-0002.html 


More information about the FreeSWITCH-users mailing list