Skip to main content

OutboundDialPrefixPolicy

Provider-facing dial-prefix policy. OpenSIPS applies it after final destination selection; Retell/API destinations remain unchanged.

defaultPrefixstringrequired

Possible values: <= 32 characters, Value must match regular expression ^[0-9*#]*$

Default value:
stripLeadingPlusbooleanrequired
Default value: true
rules object[]required

Possible values: <= 50

  • Array [
  • namestringrequired

    Possible values: non-empty and <= 80 characters

    matchTypestringrequired

    Match the first X normalized destination digits, or a three-digit North American Numbering Plan area code.

    Possible values: [starts_with, nanp_area_code]

    matchValuestringrequired

    Possible values: Value must match regular expression ^[0-9]{1,15}$

    dialPrefixstringrequired

    Possible values: <= 32 characters, Value must match regular expression ^[0-9*#]*$

    priorityintegerrequired

    Possible values: >= 1 and <= 10000

    enabledbooleanrequired
  • ]
  • OutboundDialPrefixPolicy
    {
    "defaultPrefix": "",
    "stripLeadingPlus": true,
    "rules": [
    {
    "name": "string",
    "matchType": "starts_with",
    "matchValue": "string",
    "dialPrefix": "string",
    "priority": 0,
    "enabled": true
    }
    ]
    }