Re: [OpenSIPS-Users] Variable Manipulation

2025-09-04 Thread Sipwise Mailinglist
Hi Rik, thanks a lot. It works! [ $(fU{s.substr,1,0}{s.int}) & 1 ] Malte On 04/09/2025 19:24, Richard Robson wrote: Hi, Use string manipulation to remove the leading + https://www.opensips.org/Documentation/Script-Tran-3-6#toc6 Regard, Rik On 04/09/2025 17:58, Sipwise Mailinglist wrote:

[OpenSIPS-Users] Variable Manipulation

2025-09-04 Thread Sipwise Mailinglist
Hi guys, I need to add a "Generic number" parameter to an ISUP IAM message. To set the odd/even indicator I need to check the parity of the From number. I would like to check this with an bitwise AND. I cannot use $fU directly for this operation, because it preserves the leading + from the E