using a NOT condition in a dialplan

neeek

Member
Mar 12, 2021
36
4
8
41
Morning

Is there a way to add a negative condition in a dialplan without having to write a custom XML, I would prefer to only use the fusion interface.
I know I can do something like this
dialplan.jpg
but how would I make that match any context that is NOT somedomain.pbx.com ?
Is it as simple as using regex like ^((?!somedomain).*)$ ?

I have a global dialplan and I want it to apply to all tenants except for one

Thanks
Nic