22 Mar
2013
22 Mar
'13
4:38 a.m.
Is the problem not that you wrote, field="caller_id_number" and shouldn't it be, field="${caller_id_number}" /S On 2013-03-21 18:19, Steven Schoch wrote:
I'm getting this error: 2013-03-21 09:52:46.921136 [ERR] switch_regex.c:101 COMPILE ERROR: 1 [nothing to repeat][^+12243336164$]
It comes from this condition: <condition field="caller_id_number" expression="^\+?(12243336164|12025551212)$">
(The corresponding action routes the call directly to my extension, but that's not important.)
The reason I have "\+?" is I didn't know if the plus sign was included in the caller-ID. I have since learned that it is, so I can remove the "?", but I still want to know what I did wrong.
-- Steve