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.
58 lines
1.3 KiB
58 lines
1.3 KiB
flow:
|
|
[% IF PRO %]
|
|
- start|REPLY_ROUTE_NAT:
|
|
- exit|REPLY_ROUTE_NAT:
|
|
[% ELSE %]
|
|
- start|DEFAULT_ROUTE:
|
|
- start|ROUTE_NET_INFO:
|
|
- return|ROUTE_NET_INFO:
|
|
- start|ROUTE_PRX_REQUEST:
|
|
- start|ROUTE_INITVARS:
|
|
- return|ROUTE_INITVARS:
|
|
- start|ROUTE_STOP_RTPPROXY:
|
|
- start|ROUTE_RESTORE_CLUSTERSET:
|
|
- return|ROUTE_RESTORE_CLUSTERSET:
|
|
- return|ROUTE_STOP_RTPPROXY:
|
|
- start|ROUTE_OUTBOUND:
|
|
- exit|ROUTE_OUTBOUND:
|
|
[% END %]
|
|
sip_in:
|
|
[% IF PRO %]
|
|
- '^SIP/2.0 200 OK'
|
|
- 'CSeq: 3 BYE'
|
|
- 'Content-Length: 0'
|
|
- 'From: <sip:testuser1002@'
|
|
- 'To: <sip:testuser1001@'
|
|
[% ELSE %]
|
|
- '^BYE sip:127.0.0.1:5080;transport=udp SIP/2.0'
|
|
- 'CSeq: 11 BYE'
|
|
- 'Content-Length: 0'
|
|
- 'From: <sip:testuser1002@'
|
|
- 'To: <sip:testuser1001@'
|
|
[% END %]
|
|
sip_out:
|
|
[% IF PRO %]
|
|
- [
|
|
'^SIP/2.0 200 OK',
|
|
'CSeq: 3 BYE',
|
|
'Content-Length: 0',
|
|
'From: <sip:testuser1002@',
|
|
'To: <sip:testuser1001@'
|
|
]
|
|
[% ELSE %]
|
|
- [
|
|
'^SIP/2.0 100 Trying',
|
|
'CSeq: 11 BYE',
|
|
'Content-Length: 0',
|
|
'From: <sip:testuser1002@',
|
|
'To: <sip:testuser1001@'
|
|
]
|
|
- [
|
|
'^BYE sip:127.0.0.1:5080;transport=udp SIP/2.0',
|
|
'CSeq: 11 BYE',
|
|
'Max-Forwards: 69',
|
|
'Content-Length: 0',
|
|
'From: <sip:4311002@',
|
|
'To: <sip:testuser1001@'
|
|
]
|
|
[% END %] |