Closed vetss closed 6 years ago
@vetss i think we want more control than just "remove prefix." It needs to be flexible enough to support the following options:
questions / comments?
Hello @scottbarstow
We will use this action with other existing functionality - conditions.
Example (we will remove one leading sign if oigina ESME name matches to ^(test)$
and a dest address digits match to mask <mask for processing>
) :
smsc mproc add mproc 1 destdigmask <mask for processing> origesmenamemask ^(test)$ removedestdigprefix 1
We need to add an action into default mproc rules implementation:
"removedestdigprefix"
This action will remove first digits count from a dest address digits. The action will leave at least one (last) digit if value is too long. Default value "0". values "0" and negative values will make no actions.
We need to update CLI / GUI / manual.