MT#14153 fix kamailio-config-test invite_voicebox

Change-Id: I566edadb44f69aa112d7bd8224c5edcbfa791f8e
changes/02/2302/1
Andrew Pogrebennyk 11 years ago
parent ba040fcc35
commit f094afa2ad

@ -1,5 +1,8 @@
flow: flow:
[% IF PRO %] [% IF PRO %]
- start|REPLY_ROUTE_NAT:
- exit|REPLY_ROUTE_NAT:
[% ELSE %]
- start|DEFAULT_ROUTE: - start|DEFAULT_ROUTE:
- start|ROUTE_NET_INFO: - start|ROUTE_NET_INFO:
- return|ROUTE_NET_INFO: - return|ROUTE_NET_INFO:
@ -12,47 +15,44 @@ flow:
- return|ROUTE_STOP_RTPPROXY: - return|ROUTE_STOP_RTPPROXY:
- start|ROUTE_OUTBOUND: - start|ROUTE_OUTBOUND:
- exit|ROUTE_OUTBOUND: - exit|ROUTE_OUTBOUND:
[% ELSE %]
- start|REPLY_ROUTE_NAT:
- exit|REPLY_ROUTE_NAT:
[% END %] [% END %]
sip_in: sip_in:
[% IF PRO %] [% IF PRO %]
- '^BYE sip:vmu4311001@127.0.0.1:5070 SIP/2.0' - '^SIP/2.0 200 OK'
- 'CSeq: 11 BYE' - 'CSeq: 3 BYE'
- 'Content-Length: 0'
- 'From: <sip:testuser1002@' - 'From: <sip:testuser1002@'
- 'Content-Length: 0'
- 'To: <sip:testuser1001@' - 'To: <sip:testuser1001@'
[% ELSE %] [% ELSE %]
- '^SIP/2.0 200 OK' - '^BYE sip:vmu4311001@127.0.0.1:5070 SIP/2.0'
- 'CSeq: 11 BYE' - 'CSeq: 11 BYE'
- 'From: <sip:4311002@'
- 'Content-Length: 0' - 'Content-Length: 0'
- 'From: <sip:testuser1002@'
- 'To: <sip:testuser1001@' - 'To: <sip:testuser1001@'
[% END %] [% END %]
sip_out: sip_out:
[% IF PRO %] [% IF PRO %]
- [ - [
'^SIP/2.0 100 Trying', '^SIP/2.0 200 OK',
'CSeq: 11 BYE', 'CSeq: 3 BYE',
'Content-Length: 0', 'Content-Length: 0',
'From: <sip:testuser1002@', 'From: <sip:testuser1002@',
'To: <sip:testuser1001@' 'To: <sip:testuser1001@'
] ]
[% ELSE %]
- [ - [
'^BYE sip:vmu4311001@127.0.0.1:5070 SIP/2.0', '^SIP/2.0 100 Trying',
'CSeq: 11 BYE', 'CSeq: 11 BYE',
'Max-Forwards: 70',
'Content-Length: 0', 'Content-Length: 0',
'From: <sip:4311002@', 'From: <sip:testuser1002@',
'To: <sip:testuser1001@' 'To: <sip:testuser1001@'
] ]
[% ELSE %]
- [ - [
'^SIP/2.0 200 OK', '^BYE sip:vmu4311001@127.0.0.1:5070 SIP/2.0',
'CSeq: 11 BYE', 'CSeq: 11 BYE',
'Max-Forwards: 69',
'Content-Length: 0', 'Content-Length: 0',
'From: <sip:testuser1002@', 'From: <sip:4311002@',
'To: <sip:testuser1001@' 'To: <sip:testuser1001@'
] ]
[% END %] [% END %]

@ -1,8 +1,5 @@
flow: flow:
[% IF PRO %] [% IF PRO %]
- start|REPLY_ROUTE_NAT:
- exit|REPLY_ROUTE_NAT:
[% ELSE %]
- start|DEFAULT_ROUTE: - start|DEFAULT_ROUTE:
- start|ROUTE_NET_INFO: - start|ROUTE_NET_INFO:
- return|ROUTE_NET_INFO: - return|ROUTE_NET_INFO:
@ -15,44 +12,47 @@ flow:
- return|ROUTE_STOP_RTPPROXY: - return|ROUTE_STOP_RTPPROXY:
- start|ROUTE_OUTBOUND: - start|ROUTE_OUTBOUND:
- exit|ROUTE_OUTBOUND: - exit|ROUTE_OUTBOUND:
[% ELSE %]
- start|REPLY_ROUTE_NAT:
- exit|REPLY_ROUTE_NAT:
[% END %] [% END %]
sip_in: sip_in:
[% IF PRO %] [% IF PRO %]
- '^SIP/2.0 200 OK' - '^BYE sip:vmu4311001@127.0.0.1:5070 SIP/2.0'
- 'CSeq: 3 BYE' - 'CSeq: 11 BYE'
- 'From: <sip:testuser1002@'
- 'Content-Length: 0' - 'Content-Length: 0'
- 'From: <sip:testuser1002@'
- 'To: <sip:testuser1001@' - 'To: <sip:testuser1001@'
[% ELSE %] [% ELSE %]
- '^BYE sip:vmu4311001@127.0.0.1:5070 SIP/2.0' - '^SIP/2.0 200 OK'
- 'CSeq: 11 BYE' - 'CSeq: 11 BYE'
- 'From: <sip:4311002@'
- 'Content-Length: 0' - 'Content-Length: 0'
- 'From: <sip:testuser1002@'
- 'To: <sip:testuser1001@' - 'To: <sip:testuser1001@'
[% END %] [% END %]
sip_out: sip_out:
[% IF PRO %] [% IF PRO %]
- [ - [
'^SIP/2.0 200 OK', '^SIP/2.0 100 Trying',
'CSeq: 3 BYE', 'CSeq: 11 BYE',
'Content-Length: 0', 'Content-Length: 0',
'From: <sip:testuser1002@', 'From: <sip:testuser1002@',
'To: <sip:testuser1001@' 'To: <sip:testuser1001@'
] ]
[% ELSE %]
- [ - [
'^SIP/2.0 100 Trying', '^BYE sip:vmu4311001@127.0.0.1:5070 SIP/2.0',
'CSeq: 11 BYE', 'CSeq: 11 BYE',
'Max-Forwards: 70',
'Content-Length: 0', 'Content-Length: 0',
'From: <sip:testuser1002@', 'From: <sip:4311002@',
'To: <sip:testuser1001@' 'To: <sip:testuser1001@'
] ]
[% ELSE %]
- [ - [
'^BYE sip:vmu4311001@127.0.0.1:5070 SIP/2.0', '^SIP/2.0 200 OK',
'CSeq: 11 BYE', 'CSeq: 11 BYE',
'Max-Forwards: 69',
'Content-Length: 0', 'Content-Length: 0',
'From: <sip:4311002@', 'From: <sip:testuser1002@',
'To: <sip:testuser1001@' 'To: <sip:testuser1001@'
] ]
[% END %] [% END %]
Loading…
Cancel
Save