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_callforward/0048_test.yml.tt2

54 lines
1.8 KiB

flow:
- start|DEFAULT_ONREPLY:
- start|REPLY_ROUTE_NAT:
- start|ROUTE_ENTRY:
- return|ROUTE_ENTRY:
- start|ROUTE_PREPARE_UA:
- return|ROUTE_PREPARE_UA:
- start|ROUTE_REMOVE_TIMER_SUPP_REQ:
- return|ROUTE_REMOVE_TIMER_SUPP_REQ:
- start|REPLY_ROUTE_RTPENGINE:
- return|REPLY_ROUTE_RTPENGINE:
- start|REPLY_ROUTE_NAT_CONTINUE:
- start|ROUTE_EXIT:
- start|ROUTE_RUNTIME:
- return|ROUTE_RUNTIME:
- start|dialog:start:
- return|dialog:start:
$avp(lua_dlg_profile): [
"resellerout:1",
"accountout:[% customer_test.id %]",
"userout:[% invite_callforward_scenarios_test.testuser1004.uuid %]",
"reseller:1",
"account:[% customer_test.id %]",
"user:[% invite_callforward_scenarios_test.testuser1004.uuid %]",
"totalresellerout:1",
"totalaccountout:[% customer_test.id %]",
"totaluserout:[% invite_callforward_scenarios_test.testuser1004.uuid %]",
"totalreseller:1",
"totalaccount:[% customer_test.id %]",
"totaluser:[% invite_callforward_scenarios_test.testuser1004.uuid %]",
"totalreseller:1",
"totalaccount:[% customer_test.id %]",
"totaluser:[% invite_callforward_scenarios_test.testuser1005.uuid %]",
"reseller:1",
"account:[% customer_test.id %]",
"user:[% invite_callforward_scenarios_test.testuser1005.uuid %]"
]
sip_in:
- '^SIP/2.0 200 OK'
- 'CSeq: \d+ INVITE'
- 'Content-Length: \d+'
- 'Content-Type: application/sdp'
- 'From: <sip:[% invite_callforward_scenarios_test.testuser1002.phone_number %]@'
- 'To: <sip:testuser1004@'
sip_out:
- [
'^SIP/2.0 200 OK',
'CSeq: \d+ INVITE',
'Content-Length: \d+',
'Content-Type: application/sdp',
'From: <sip:testuser1002@',
'To: <sip:testuser1004@'
]