You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
kamailio-config-tests/scenarios/invite_peerout_rewrite_pv_r.../rewrite.yml

20 lines
513 B

rw_00:
- direction: in
field: callee
match_pattern: "^(00|\+)([1-9][0-9]+)$"
replace_pattern: "\2"
priority: 1
description: International to E.164
- direction: in
field: caller
match_pattern: "^(00|\+)([1-9][0-9]+)$"
replace_pattern: "\2"
priority: 1
description: International to E.164
- direction: out
field: caller
match_pattern: "^$avp(s:caller_cc)$avp(s:caller_ac)([1-9][0-9]+)$"
replace_pattern: "\1"
priority: 1
description: E.164 to local