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/register_bria/0003_test.yml.tt2

29 lines
719 B

# REGISTER scenario
flow:
- start|MAIN:
$fU: testuser1003
$tU: testuser1003
- start|ROUTE_NET_INFO:
$fU: testuser1003
$tU: testuser1003
- end|ROUTE_NET_INFO:
- start|ROUTE_REG_REQUEST:
- start|ROUTE_REG_HANDLE:
- start|ROUTE_AUTH:
- exit|ROUTE_AUTH:
sip_in:
- '^REGISTER'
- 'Contact: "TestBria" <sip:testuser1003@127.126.0.1:50602;ob>;reg-id=1;\+sip.instance="<urn:uuid:C3DD6013-20E8-40E3-8EA2-5849B02ED0C4>"'
- 'Contact: "TestBria" <sip:testuser1003@127.126.0.1:6666;ob>;expires=0'
- 'Content-Length: 0'
- 'Expires: 600'
sip_out:
- [
'^SIP/2.0 100 Trying',
'Content-Length: 0'
]
- [
'^SIP/2.0 401 Unauthorized',
'Content-Length: 0'
]