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.
189 lines
4.1 KiB
189 lines
4.1 KiB
---
|
|
hm_invite_hm_cf_00:
|
|
header_rules:
|
|
- data:
|
|
direction: inbound
|
|
description: Empty Manipulation
|
|
name: hm_invite_hm_cf_00_00
|
|
stopper: 0
|
|
enabled: 0
|
|
priority: 48
|
|
conditions: []
|
|
actions: []
|
|
- data:
|
|
direction: inbound
|
|
description: Add TestTest Header
|
|
name: hm_invite_hm_cf_00_01
|
|
stopper: 0
|
|
enabled: 1
|
|
priority: 50
|
|
conditions:
|
|
- enabled: 1
|
|
match_name: From
|
|
match_part: username
|
|
match_type: header
|
|
expression: contains
|
|
expression_negation: 0
|
|
value_type: input
|
|
values:
|
|
- value: testuser1001
|
|
rwr_set_id:
|
|
- enabled: 1
|
|
match_name: To
|
|
match_part: full
|
|
match_type: header
|
|
expression: regexp
|
|
expression_negation: 0
|
|
value_type: input
|
|
values:
|
|
- value: '.*'
|
|
rwr_set_id:
|
|
actions:
|
|
- enabled: 1
|
|
action_type: preference
|
|
header: TestTest
|
|
header_part: full
|
|
value: language
|
|
value_part: full
|
|
rwr_set_id:
|
|
- data:
|
|
direction: peer
|
|
description: Edit TestTest Peer Header
|
|
name: hm_invite_hm_cf_00_03
|
|
stopper: 0
|
|
enabled: 1
|
|
priority: 52
|
|
conditions:
|
|
- enabled: 1
|
|
match_name: TestTest
|
|
match_part: full
|
|
match_type: header
|
|
expression: regexp
|
|
expression_negation: 0
|
|
value_type: input
|
|
values:
|
|
- value: '^new[\w]+$'
|
|
rwr_set_id:
|
|
actions:
|
|
- enabled: 1
|
|
action_type: remove
|
|
header: TestTest
|
|
header_part: full
|
|
value:
|
|
value_part: full
|
|
rwr_set_id:
|
|
hm_invite_hm_cf_01:
|
|
header_rules:
|
|
- data:
|
|
direction: outbound
|
|
description: Add header as AVP
|
|
name: hm_invite_hm_cf_01_00
|
|
stopper: 1
|
|
enabled: 1
|
|
priority: 60
|
|
conditions:
|
|
- enabled: 1
|
|
match_name: To
|
|
match_part: full
|
|
match_type: header
|
|
expression: is
|
|
expression_negation: 0
|
|
value_type: input
|
|
values:
|
|
- value: '<sip:testuser1001@invite-hm-callforward.scenarios.test>'
|
|
rwr_set_id:
|
|
actions:
|
|
- enabled: 1
|
|
action_type: set
|
|
header: P-Asserted-Identity
|
|
header_part: username
|
|
value: 11111111
|
|
value_part: full
|
|
rwr_set_id:
|
|
- data:
|
|
direction: outbound
|
|
description: Should not be executed
|
|
name: hm_invite_hm_cf_01_01
|
|
stopper: 0
|
|
enabled: 1
|
|
priority: 61
|
|
conditions:
|
|
- enabled: 1
|
|
match_name: To
|
|
match_part: full
|
|
match_type: header
|
|
expression: regexp
|
|
expression_negation: 0
|
|
value_type: input
|
|
values:
|
|
- value: '.*'
|
|
rwr_set_id:
|
|
actions:
|
|
- enabled: 1
|
|
action_type: remove
|
|
header: From
|
|
header_part: full
|
|
value:
|
|
value_part: full
|
|
rwr_set_id:
|
|
- enabled: 1
|
|
action_type: remove
|
|
header: To
|
|
header_part: full
|
|
value:
|
|
value_part: full
|
|
rwr_set_id:
|
|
hm_invite_hm_cf_02:
|
|
header_rules:
|
|
- data:
|
|
direction: cf_outbound
|
|
description: CF Outbound
|
|
name: hm_invite_hm_cf_02_00
|
|
stopper: 0
|
|
enabled: 1
|
|
priority: 70
|
|
conditions:
|
|
- enabled: 1
|
|
match_name: To
|
|
match_part: full
|
|
match_type: header
|
|
expression: is
|
|
expression_negation: 0
|
|
value_type: input
|
|
values:
|
|
- value: '<sip:testuser1001@invite-hm-callforward.scenarios.test>'
|
|
rwr_set_id:
|
|
actions:
|
|
- enabled: 1
|
|
action_type: add
|
|
header: Outbound
|
|
header_part: full
|
|
value: outbound header
|
|
value_part: full
|
|
rwr_set_id:
|
|
- data:
|
|
direction: cf_inbound
|
|
description: CF Inbound
|
|
name: hm_invite_hm_cf_02_01
|
|
stopper: 0
|
|
enabled: 1
|
|
priority: 71
|
|
conditions:
|
|
- enabled: 1
|
|
match_name: To
|
|
match_part: full
|
|
match_type: header
|
|
expression: is
|
|
expression_negation: 0
|
|
value_type: input
|
|
values:
|
|
- value: '<sip:testuser1001@invite-hm-callforward.scenarios.test>'
|
|
rwr_set_id:
|
|
actions:
|
|
- enabled: 1
|
|
action_type: add
|
|
header: Inbound
|
|
header_part: full
|
|
value: inbound header
|
|
value_part: full
|
|
rwr_set_id: |