search for: tail_of_str

Displaying 2 results from an estimated 2 matches for "tail_of_str".

2015 Nov 09
2
How to encode plus sign in REGEX function in dialplan?
...dialplans. One of them (I really can't remember which one) claimed that there were problems with special characters in strings, for example with the dollar character ($). They recommended to do something like the following *if* such problems would show: Set(DOLLAR=$) ... head_of_string${DOLLAR}tail_of_string They also claimed that there were other problematic characters which could be handled the same way. That seemed logic to me and lead me into thinking that the pattern string in the REGEX call could be affected by this; hence my initial post. I am apologizing that I haven't found the bug in...
2015 Nov 05
3
How to encode plus sign in REGEX function in dialplan?
Dear all, I have made a fairly complex dialplan where I am using the REGEX function in many places. This works so far, but I wasn't able to solve the following problem. What I would like to do is the following (please note that this is normal regex syntax and obviously not what the REGEX function expects, but I hope it shows the idea): same => n(A1), GotoIf($[${REGEX("^\+49.*"