Using Regex in Dyanmic Route Entries

Hi Everyone

I am trying to use Regex in dynamic routes in the entries field:
I am calling from extension 5811

  • ${REGEX(“^58[0-9]{2}$” ${NUMBER})} (Issue here)
    and in the log i see the following error:
    [2025-02-03 11:45:23] ERROR[32695][C-00000a7d] func_strings.c: Unexpected arguments: should have been in the form ‘“” ’

  • 5911 Works well

I dont think you can put the regex in the match fields. But you can donit as part of the expression

If you mean like this “_58XX” it also not working,
If you mean like in the post i coped execly the answer that was there it it gave me the same issues
If you mean something else pls explain i am kinda noob to freepbx UI