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_callee_bye/scenario.yml

53 lines
1.4 KiB

---
test_uuid: invite_callee_bye
description: |
In this scenario testuser1002 calls testuser1003, the call succeeds and
testuser1003 (callee) hangs up.
Hang up is performed by testuser1003 by initiating a new transaction: a BYE
Sip request is sent back to lb and proxy.
The request URI takes advantage of a feature described in RFC 4904: a trpg
parameter is appended in the user part.
As a result the user part will be "ngcp-lb;tgrp=SIP_TripleC01", Kamailio proxy
must understand this and foward the message correctly to Sems.
This test is part of the fix to TT#107650.
domains:
invite-callee-bye.scenarios.test:
reseller_id: 1
customers:
'customer.test':
contacts:
- email: "customer.test@spce.test"
reseller_id: 1
details:
status: 'active'
type: 'sipaccount'
billing_profile_id: 1
reseller_id: 1
subscribers:
invite-callee-bye.scenarios.test:
testuser1003:
customer: 'customer.test'
password: testuser
cc: 43
ac: 1
sn: 1003
testuser1002:
customer: 'customer.test'
password: testuser
cc: 43
ac: 1
sn: 1002
alias_numbers:
- cc: 34
ac: 96
sn: 5711941
scenarios:
- ip: 127.126.0.1
username: testuser1002
domain: invite-callee-bye.scenarios.test
responders:
- ip: 127.1.0.1
username: testuser1003
domain: invite-callee-bye.scenarios.test
register: 'yes'