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
534 B

rw_inv_peerout_rw_pv_regex:
- 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