Regex change help request

Status
Not open for further replies.

smeyer

New Member
Feb 18, 2021
24
0
1
39
I would like to change +1XXXXXXXXXX to XXXXXXXXXX
The set action in the dialplan is "outbound_caller_id_number=${caller_id_number}" where the variable is always +1XXXXXXXXXX.
Another solution is my outbound route is hardcoded to prepend +1, is there a way to only add if +1 is not present?
 
Last edited:

smeyer

New Member
Feb 18, 2021
24
0
1
39
Until I know a different way I set up a conditional dialplan based off a CID break on-true
 
Status
Not open for further replies.