Regular Expressions 101

Regex to Match on Called Party and Modify CNAM on outbound SIP INVITE

Open Workspace
  • PCRE (Legacy)
  • Substitution
0

Regular Expression

/
(^[A-Za-z0-9 \"]*)(\<sip:)([\+1]*8004001506)(.*\>.*)
/
gm

Description

Modify existing or blank CNAM portion of SIP URI for specific Called Party to a specific value on outbound SIP INVITE.

Submitted by Anonymous