[OpenSIPS-Users] Variable Manipulation

Sipwise Mailinglist spce at lard.at
Thu Sep 4 16:58:07 UTC 2025


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.164 number.

Is there a way to grab the username part without the + or strip the 
leading + from $fU and write the output to a variable?


Thanks in advance,

Malte




More information about the Users mailing list