MT#56358 Test new b_outbound direction in invite_hm

Scenario invite_hm has been extended to test new direction
b_outbound.
Kamailio proxy now is expected to create header OutboundBlegHeader with value
"blegvalue".
The new invite_hm scenario will provision an additional header manipulation and will
check if this header has been correctly produced by kamailio proxy.

Change-Id: Ibae2bb0e8dd4ee236c14517552c378f89a766e3a
mr13.0
Alessio Garzi 9 months ago
parent 8be7577812
commit e0dc755e59

@ -215,6 +215,32 @@ hm_invite_hm_01:
value: no this_is_second_reply
value_part: full
rwr_set_id:
- data:
direction: b_outbound
description: Add header testlegb
name: hm_invite_hm_03_00
stopper: 0
enabled: 1
priority: 1
conditions:
- enabled: 1
match_name: To
match_part: username
match_type: header
expression: is
expression_negation: 0
value_type: input
values:
- value: 'testuser1003'
rwr_set_id:
actions:
- enabled: 1
action_type: add
header: OutboundBlegHeader
header_part: full
value: blegvvalue
value_part: full
rwr_set_id:
hm_invite_hm_02:
header_rules:
- data:

@ -7,5 +7,8 @@
},
"testuser1004@invite-hm.scenarios.test": {
"header_rule_set": "hm_invite_hm_02"
},
"testuser1003@invite-hm.scenarios.test": {
"header_rule_set": "hm_invite_hm_01"
}
}

@ -7,6 +7,7 @@ messages:
- 'To: <sip:[% scenarios.0.responders.0.username %]@invite-hm.scenarios.test>'
- 'CSeq: \d+ INVITE'
- 'P-Asserted-Identity: <sip:11111111@invite-hm.scenarios.test>'
- 'OutboundBlegHeader: blegvvalue'
- 'Content-Type: application/sdp'
- 'Content-Length: \d+'
- 'Contact: <sip:ngcp-lb@[% server_ip %]:5060;ngcpct=[^;]+>'

Loading…
Cancel
Save