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/incoming_peer/0006_test.yml.tt2

40 lines
1.0 KiB

flow:
- start|DEFAULT_ONREPLY:
- start|REPLY_ROUTE_NAT:
- start|ROUTE_ENTRY:
- return|ROUTE_ENTRY:
- start|ROUTE_APPLY_HEADER_RULES:
- return|ROUTE_APPLY_HEADER_RULES:
- start|ROUTE_PREPARE_UA:
- return|ROUTE_PREPARE_UA:
- 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): [
"incoming",
"totalaccount:[% customer_test.id %]",
"totaluser:[% spce_test.testuser1003.uuid %]",
"account:[% customer_test.id %]",
"user:[% spce_test.testuser1003.uuid %]",
"peer:[% peer_00_host0.id %]",
"total"
]
- return|dialog:start:
sip_in:
- '^SIP/2.0 200 OK'
- 'CSeq: 1 INVITE'
- 'From: <sip:004321001@'
- 'To: <sip:4311003@'
sip_out:
- [
'^SIP/2.0 200 OK',
'CSeq: 1 INVITE',
'From: <sip:004321001@',
'To: <sip:4311003@',
]