1. Brekeke Product Name and Version: SIP Server
2. Java version: 11.0.15
3. OS type and the version: Windows Server 2019
4. UA (phone), gateway or other hardware/software involved: Responder/FreePBX
5. Your problem:
I am attempting to determine if a particular string exists in the caller ID - $getDisplayName(From) field - and take action if it does by modifying the SIP message and then $continue = true. I have a matching pattern that breaks up the From field into three pieces. I am attempting to determine if %3 contains that string with an $eval function. I have tried various versions of $eval(%3 = My String) = ^true with quotes around the various components, no quotes, etc. What is the proper way to use the eval function? Searching for "eval" on the forum is useless as it only brings up people talking about the evaluation edition. And the Wiki has only one example and it doesn't include variables.
2. Java version: 11.0.15
3. OS type and the version: Windows Server 2019
4. UA (phone), gateway or other hardware/software involved: Responder/FreePBX
5. Your problem:
I am attempting to determine if a particular string exists in the caller ID - $getDisplayName(From) field - and take action if it does by modifying the SIP message and then $continue = true. I have a matching pattern that breaks up the From field into three pieces. I am attempting to determine if %3 contains that string with an $eval function. I have tried various versions of $eval(%3 = My String) = ^true with quotes around the various components, no quotes, etc. What is the proper way to use the eval function? Searching for "eval" on the forum is useless as it only brings up people talking about the evaluation edition. And the Wiki has only one example and it doesn't include variables.