Signaling Manipulation

Signaling Manipulation

Signaling manipulation refers to the ability to manipulate the ANIDNIS, or SIP Code in the header using regular expressions. This feature is found in the trunk group settings. 

Note: The switch removes all non-digit symbols, such as the + in a DNIS, automatically from the R-URI and an initial INVITE is received.

To create a manipulation expression navigate to Relationship > Create/Modify > Trunk Group > Create/Modify on a trunk group and then provide:
  1. Header
    1. ANI
    2. DNIS
    3. SIP Code
    4. IP
    5. Domain To
    6. Domain From
  2. Search: The section of a string to be replaced.
  3. Replace: What to replace the searched section with.
  4. Press Create


Examples:

  1. ANI or DNIS as Header:
    1. Add +1:
      1. Search: ^(..........)$
      2. Replace: 1\1
    2. Remove +1:
      1. Search: ^1(..........)$
      2. Replace: \1
    3. Replace the first two digits with 55:
      1. Search:^(.{2})(.*)$
      2. Replace: 55\2
    4. Remove the prefix 011:
      1. Search: ^011
      2. Replace:
    5. Replace empty number with 12345:
      1. Search: ^$
      2. Replace: 12345
    6. Add 011 (to all traffic)
      1. Search: ^(.*)$
      2. Replace: 011\1

  2. SIP Code as Header:
    1. Return a 503 instead of 504 in case of LOCAL_PDD_TIMEOUT
      1. Note: this is for Termination Trunk Groups
      2. Search: 504:LOCAL_PDD_TIMEOUT
      3. Replace: 503:SERVICE UNAVAILABLE


    • Related Articles

    • REGEXP Rule

      A Regular Expression Rule. This is a sequence of characters that define a rule to allow for finding and replacing a string in a packet with anything of your choice.
    • P-Charge Info

      The P-Charge Info options are found under the Trunk Group options: OFF: This will not do anything to the header from the INVITE. Just passes the headers downstream. USE & PASS: This will mean if the header is present, use it for jurisdiction ...
    • TS

      A TS (Traffic Switch) handles the main logic for switching. LB (Load Balancer) passes traffic to the TS after initial authentication. All signaling is handled by this component.
    • Origination-Customer Relationship Configuration

      A Relationship is a network configuration between your company and your customers or vendors. By creating a Relationship, you will set up the routing logic and rates that enable you to capitalize on the phone calls made on your network. An ...
    • Latest Push List for PE/ECO

      August 2022 Push List: DNC List: The National Do Not Call Registry is a list of phone numbers from consumers who have indicated their preference to limit the telemarketing calls they receive. The DNC list will be loaded into a 46 Labs managed ...