Signaling Manipulation refers to the ability to modify the ANI, DNIS, or SIP Code in the header using regular expressions. This feature is found in the trunk group settings.
The Orchestrator removes all non-digit symbols, such as the + in a DNIS, automatically from the R-URI when an initial INVITE is received.
Signaling manipulation cannot be applied to the ANI when the ANI field is “anonymous”.
Examples
ANI or DNIS as Header
Add +1:
Search: ^(..........)$
Replace: 1\1
Remove +1:
Search: ^1(..........)$
Replace: \1
Replace the first two digits with 55:
Search:^(.{2})(.*)$
Replace: 55\2
Remove the prefix 011:
Search: ^011
Replace:
Replace empty number with 12345:
Search: ^$
Replace: 12345
Add 011 (to all traffic)
Search: ^(.*)$
Replace: 011\1
SIP Code as Header
Return a 503 instead of 504 in case of LOCAL_PDD_TIMEOUT (for Termination Trunk Groups)
Search: 504:LOCAL_PDD_TIMEOUT
Replace: 503:SERVICE UNAVAILABLE
References to parenthetical groupings use \n instead of $n. For example, the second parenthetical group in a replace pattern is referenced as \2. Do not use (a-z, A-Z) characters in pattern matches. For example, use .{2} instead of \d{2} to match any two digits.
Was this article helpful?
That’s Great!
Thank you for your feedback
Sorry! We couldn't be helpful
Thank you for your feedback
Feedback sent
We appreciate your effort and will try to fix the article