- fix check.py comparation when int -> string - disable tcpdump by default ( new option -K to enable it) - fix graph_flow for json ( new option --json ) Change-Id: I25f49ef6303b4e2e28c34fefd7860c744e6c3250changes/15/2015/23
parent
78fc7f0dd8
commit
e1a76fb1f4
@ -0,0 +1,11 @@
|
||||
flow:
|
||||
- start|REPLY_ROUTE_NAT:
|
||||
- exit|REPLY_ROUTE_NAT:
|
||||
sip_in:
|
||||
- '^SIP/2.0 180 Ringing'
|
||||
- 'CSeq: 1 INVITE'
|
||||
sip_out:
|
||||
- [
|
||||
'^SIP/2.0 180 Ringing',
|
||||
'CSeq: 1 INVITE',
|
||||
]
|
||||
@ -0,0 +1,15 @@
|
||||
flow:
|
||||
- start|REPLY_ROUTE_NAT:
|
||||
- exit|REPLY_ROUTE_NAT:
|
||||
sip_in:
|
||||
- '^SIP/2.0 200 OK'
|
||||
- 'CSeq: 1 INVITE'
|
||||
- 'From: <sip:external@'
|
||||
- 'To: <sip:4311003@'
|
||||
sip_out:
|
||||
- [
|
||||
'^SIP/2.0 200 OK',
|
||||
'CSeq: 1 INVITE',
|
||||
'From: <sip:external@',
|
||||
'To: <sip:4311003@'
|
||||
]
|
||||
@ -1,27 +1,21 @@
|
||||
flow:
|
||||
- start|MAIN:
|
||||
- start|DEFAULT_ROUTE:
|
||||
- start|ROUTE_NET_INFO:
|
||||
- end|ROUTE_NET_INFO:
|
||||
- return|ROUTE_NET_INFO:
|
||||
- start|ROUTE_PRX_REQUEST:
|
||||
- start|ROUTE_INITVARS:
|
||||
- end|ROUTE_INITVARS:
|
||||
- return|ROUTE_INITVARS:
|
||||
- start|ROUTE_OUTBOUND:
|
||||
- return|ROUTE_OUTBOUND:
|
||||
sip_in:
|
||||
- '^ACK sip:127.0.0.1:5080(;prxroute=1)? SIP/2.0'
|
||||
- 'Contact: sip:external@'
|
||||
- '^ACK sip:127.0.0.1:5080;prxroute=1 SIP/2.0'
|
||||
- 'CSeq: 1 ACK'
|
||||
- 'Max-Forwards: 69'
|
||||
- 'Content-Length: 0'
|
||||
- 'From: <sip:external@external.test>'
|
||||
- 'From: <sip:external@'
|
||||
- 'To: <sip:4311003@'
|
||||
|
||||
sip_out:
|
||||
- [
|
||||
'^ACK sip:127.0.0.1:5080(;prxroute=1)? SIP/2.0',
|
||||
'Contact: sip:external@',
|
||||
'^ACK sip:127.0.0.1:5080;prxroute=1 SIP/2.0',
|
||||
'CSeq: 1 ACK',
|
||||
'Max-Forwards: 68',
|
||||
'Content-Length: 0',
|
||||
'From: <sip:external@external.test>',
|
||||
'From: <sip:external@',
|
||||
'To: <sip:4311003@'
|
||||
]
|
||||
|
||||
@ -0,0 +1,17 @@
|
||||
flow:
|
||||
- start|REPLY_ROUTE_NAT:
|
||||
- exit|REPLY_ROUTE_NAT:
|
||||
sip_in:
|
||||
- '^SIP/2.0 200 OK'
|
||||
- 'CSeq: 2 BYE'
|
||||
- 'Content-Length: 0'
|
||||
- 'From: <sip:external@'
|
||||
- 'To: <sip:4311003@'
|
||||
sip_out:
|
||||
- [
|
||||
'^SIP/2.0 200 OK',
|
||||
'CSeq: 2 BYE',
|
||||
'Content-Length: 0',
|
||||
'From: <sip:external@',
|
||||
'To: <sip:4311003@'
|
||||
]
|
||||
@ -0,0 +1,12 @@
|
||||
# INVITE_OFFLINE scenario
|
||||
flow:
|
||||
- start|REPLY_ROUTE_NAT:
|
||||
- exit|REPLY_ROUTE_NAT:
|
||||
sip_in:
|
||||
- '^SIP/2.0 180 Ringing'
|
||||
- 'CSeq: 1 INVITE'
|
||||
sip_out:
|
||||
- [
|
||||
'^SIP/2.0 180 Ringing',
|
||||
'CSeq: 1 INVITE',
|
||||
]
|
||||
@ -0,0 +1,15 @@
|
||||
flow:
|
||||
- start|REPLY_ROUTE_NAT:
|
||||
- exit|REPLY_ROUTE_NAT:
|
||||
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@',
|
||||
]
|
||||
@ -1,27 +1,21 @@
|
||||
flow:
|
||||
- start|MAIN:
|
||||
- start|DEFAULT_ROUTE:
|
||||
- start|ROUTE_NET_INFO:
|
||||
- end|ROUTE_NET_INFO:
|
||||
- return|ROUTE_NET_INFO:
|
||||
- start|ROUTE_PRX_REQUEST:
|
||||
- start|ROUTE_INITVARS:
|
||||
- end|ROUTE_INITVARS:
|
||||
- return|ROUTE_INITVARS:
|
||||
- start|ROUTE_OUTBOUND:
|
||||
- return|ROUTE_OUTBOUND:
|
||||
sip_in:
|
||||
- '^ACK sip:127.0.0.1:5080(;prxroute=1)? SIP/2.0'
|
||||
- 'Contact: sip:004321001@'
|
||||
- '^ACK sip:127.0.0.1:5080;prxroute=1 SIP/2.0'
|
||||
- 'CSeq: 1 ACK'
|
||||
- 'Max-Forwards: 69'
|
||||
- 'Content-Length: 0'
|
||||
- 'From: <sip:004321001@'
|
||||
- 'To: <sip:4311003@'
|
||||
|
||||
sip_out:
|
||||
- [
|
||||
'^ACK sip:127.0.0.1:5080(;prxroute=1)? SIP/2.0',
|
||||
'Contact: sip:004321001@',
|
||||
'^ACK sip:127.0.0.1:5080;prxroute=1 SIP/2.0',
|
||||
'CSeq: 1 ACK',
|
||||
'Max-Forwards: 68',
|
||||
'Content-Length: 0',
|
||||
'From: <sip:004321001@',
|
||||
'To: <sip:4311003@'
|
||||
]
|
||||
|
||||
@ -0,0 +1,17 @@
|
||||
flow:
|
||||
- start|REPLY_ROUTE_NAT:
|
||||
- exit|REPLY_ROUTE_NAT:
|
||||
sip_in:
|
||||
- '^SIP/2.0 200 OK'
|
||||
- 'CSeq: 2 BYE'
|
||||
- 'Content-Length: 0'
|
||||
- 'From: <sip:004321001@'
|
||||
- 'To: <sip:4311003@'
|
||||
sip_out:
|
||||
- [
|
||||
'^SIP/2.0 200 OK',
|
||||
'CSeq: 2 BYE',
|
||||
'Content-Length: 0',
|
||||
'From: <sip:004321001@',
|
||||
'To: <sip:4311003@'
|
||||
]
|
||||
@ -0,0 +1,11 @@
|
||||
flow:
|
||||
- start|REPLY_ROUTE_NAT:
|
||||
- exit|REPLY_ROUTE_NAT:
|
||||
sip_in:
|
||||
- '^SIP/2.0 180 Ringing'
|
||||
- 'CSeq: 2 INVITE'
|
||||
sip_out:
|
||||
- [
|
||||
'^SIP/2.0 180 Ringing',
|
||||
'CSeq: 2 INVITE',
|
||||
]
|
||||
@ -0,0 +1,13 @@
|
||||
flow:
|
||||
- start|REPLY_ROUTE_NAT:
|
||||
- exit|REPLY_ROUTE_NAT:
|
||||
sip_in:
|
||||
- '^SIP/2.0 200 OK'
|
||||
- 'CSeq: 2 INVITE'
|
||||
sip_out:
|
||||
- [
|
||||
'^SIP/2.0 200 OK',
|
||||
'CSeq: 2 INVITE',
|
||||
'From: <sip:testuser1002@',
|
||||
'To: <sip:testuser1003@'
|
||||
]
|
||||
@ -1,28 +1,21 @@
|
||||
# INVITE_OFFLINE scenario
|
||||
flow:
|
||||
- start|MAIN:
|
||||
- start|DEFAULT_ROUTE:
|
||||
- start|ROUTE_NET_INFO:
|
||||
- end|ROUTE_NET_INFO:
|
||||
- return|ROUTE_NET_INFO:
|
||||
- start|ROUTE_PRX_REQUEST:
|
||||
- start|ROUTE_INITVARS:
|
||||
- end|ROUTE_INITVARS:
|
||||
- return|ROUTE_INITVARS:
|
||||
- start|ROUTE_OUTBOUND:
|
||||
- return|ROUTE_OUTBOUND:
|
||||
sip_in:
|
||||
- '^ACK sip:127.0.0.1:5080(;prxroute=1)? SIP/2.0'
|
||||
- 'Contact: sip:testuser1002@'
|
||||
- '^ACK sip:127.0.0.1:5080;prxroute=1 SIP/2.0'
|
||||
- 'CSeq: 2 ACK'
|
||||
- 'Max-Forwards: 69'
|
||||
- 'Content-Length: 0'
|
||||
- 'From: <sip:testuser1002@'
|
||||
- 'To: <sip:testuser1003@'
|
||||
|
||||
sip_out:
|
||||
- [
|
||||
'^ACK sip:127.0.0.1:5080(;prxroute=1)? SIP/2.0',
|
||||
'Contact: sip:testuser1002@',
|
||||
'^ACK sip:127.0.0.1:5080;prxroute=1 SIP/2.0',
|
||||
'CSeq: 2 ACK',
|
||||
'Max-Forwards: 68',
|
||||
'Content-Length: 0',
|
||||
'From: <sip:4311002@',
|
||||
'To: <sip:testuser1003@'
|
||||
]
|
||||
|
||||
@ -0,0 +1,17 @@
|
||||
flow:
|
||||
- start|REPLY_ROUTE_NAT:
|
||||
- exit|REPLY_ROUTE_NAT:
|
||||
sip_in:
|
||||
- '^SIP/2.0 200 OK'
|
||||
- 'CSeq: 3 BYE'
|
||||
- 'Content-Length: 0'
|
||||
- 'From: <sip:4311002@'
|
||||
- 'To: <sip:testuser1003@'
|
||||
sip_out:
|
||||
- [
|
||||
'^SIP/2.0 200 OK',
|
||||
'CSeq: 3 BYE',
|
||||
'Content-Length: 0',
|
||||
'From: <sip:testuser1002@',
|
||||
'To: <sip:testuser1003@'
|
||||
]
|
||||
@ -0,0 +1,15 @@
|
||||
flow:
|
||||
- start|REPLY_ROUTE_NAT:
|
||||
- exit|REPLY_ROUTE_NAT:
|
||||
sip_in:
|
||||
- '^SIP/2.0 180 Ringing'
|
||||
- 'CSeq: 2 INVITE'
|
||||
- 'From: <sip:431100299@'
|
||||
- 'To: <sip:testuser1003@'
|
||||
sip_out:
|
||||
- [
|
||||
'^SIP/2.0 180 Ringing',
|
||||
'CSeq: 2 INVITE',
|
||||
'From: "431100299" <sip:testuser1002@',
|
||||
'To: <sip:testuser1003@'
|
||||
]
|
||||
@ -0,0 +1,13 @@
|
||||
flow:
|
||||
- start|REPLY_ROUTE_NAT:
|
||||
- exit|REPLY_ROUTE_NAT:
|
||||
sip_in:
|
||||
- '^SIP/2.0 200 OK'
|
||||
- 'CSeq: 2 INVITE'
|
||||
sip_out:
|
||||
- [
|
||||
'^SIP/2.0 200 OK',
|
||||
'CSeq: 2 INVITE',
|
||||
'From: "431100299" <sip:testuser1002@',
|
||||
'To: <sip:testuser1003@'
|
||||
]
|
||||
@ -1,28 +1,21 @@
|
||||
# INVITE_OFFLINE scenario
|
||||
flow:
|
||||
- start|MAIN:
|
||||
- start|DEFAULT_ROUTE:
|
||||
- start|ROUTE_NET_INFO:
|
||||
- end|ROUTE_NET_INFO:
|
||||
- return|ROUTE_NET_INFO:
|
||||
- start|ROUTE_PRX_REQUEST:
|
||||
- start|ROUTE_INITVARS:
|
||||
- end|ROUTE_INITVARS:
|
||||
- return|ROUTE_INITVARS:
|
||||
- start|ROUTE_OUTBOUND:
|
||||
- return|ROUTE_OUTBOUND:
|
||||
sip_in:
|
||||
- '^ACK sip:127.0.0.1:5080(;prxroute=1)? SIP/2.0'
|
||||
- 'Contact: sip:testuser1002@'
|
||||
- '^ACK sip:127.0.0.1:5080;prxroute=1 SIP/2.0'
|
||||
- 'CSeq: 2 ACK'
|
||||
- 'Max-Forwards: 69'
|
||||
- 'Content-Length: 0'
|
||||
- 'From: "431100299" <sip:testuser1002@'
|
||||
- 'To: <sip:testuser1003@'
|
||||
|
||||
sip_out:
|
||||
- [
|
||||
'^ACK sip:127.0.0.1:5080(;prxroute=1)? SIP/2.0',
|
||||
'Contact: sip:testuser1002@',
|
||||
'^ACK sip:127.0.0.1:5080;prxroute=1 SIP/2.0',
|
||||
'CSeq: 2 ACK',
|
||||
'Max-Forwards: 68',
|
||||
'Content-Length: 0',
|
||||
'From: "431100299" <sip:431100299@',
|
||||
'To: <sip:testuser1003@'
|
||||
]
|
||||
|
||||
@ -0,0 +1,17 @@
|
||||
flow:
|
||||
- start|REPLY_ROUTE_NAT:
|
||||
- exit|REPLY_ROUTE_NAT:
|
||||
sip_in:
|
||||
- '^SIP/2.0 200 OK'
|
||||
- 'CSeq: 3 BYE'
|
||||
- 'Content-Length: 0'
|
||||
- 'From: "431100299" <sip:431100299@'
|
||||
- 'To: <sip:testuser1003@'
|
||||
sip_out:
|
||||
- [
|
||||
'^SIP/2.0 200 OK',
|
||||
'CSeq: 3 BYE',
|
||||
'Content-Length: 0',
|
||||
'From: "431100299" <sip:testuser1002@',
|
||||
'To: <sip:testuser1003@'
|
||||
]
|
||||
@ -0,0 +1,15 @@
|
||||
flow:
|
||||
- start|REPLY_ROUTE_NAT:
|
||||
- exit|REPLY_ROUTE_NAT:
|
||||
sip_in:
|
||||
- '^SIP/2.0 180 Ringing'
|
||||
- 'CSeq: 2 INVITE'
|
||||
- 'From: <sip:4311009@'
|
||||
- 'To: <sip:testuser1003@'
|
||||
sip_out:
|
||||
- [
|
||||
'^SIP/2.0 180 Ringing',
|
||||
'CSeq: 2 INVITE',
|
||||
'From: "4311009" <sip:testuser1002@',
|
||||
'To: <sip:testuser1003@'
|
||||
]
|
||||
@ -0,0 +1,13 @@
|
||||
flow:
|
||||
- start|REPLY_ROUTE_NAT:
|
||||
- exit|REPLY_ROUTE_NAT:
|
||||
sip_in:
|
||||
- '^SIP/2.0 200 OK'
|
||||
- 'CSeq: 2 INVITE'
|
||||
sip_out:
|
||||
- [
|
||||
'^SIP/2.0 200 OK',
|
||||
'CSeq: 2 INVITE',
|
||||
'From: "4311009" <sip:testuser1002@',
|
||||
'To: <sip:testuser1003@'
|
||||
]
|
||||
@ -1,28 +1,21 @@
|
||||
# INVITE_OFFLINE scenario
|
||||
flow:
|
||||
- start|MAIN:
|
||||
- start|DEFAULT_ROUTE:
|
||||
- start|ROUTE_NET_INFO:
|
||||
- end|ROUTE_NET_INFO:
|
||||
- return|ROUTE_NET_INFO:
|
||||
- start|ROUTE_PRX_REQUEST:
|
||||
- start|ROUTE_INITVARS:
|
||||
- end|ROUTE_INITVARS:
|
||||
- return|ROUTE_INITVARS:
|
||||
- start|ROUTE_OUTBOUND:
|
||||
- return|ROUTE_OUTBOUND:
|
||||
sip_in:
|
||||
- '^ACK sip:127.0.0.1:5080(;prxroute=1)? SIP/2.0'
|
||||
- 'Contact: sip:testuser1002@'
|
||||
- '^ACK sip:127.0.0.1:5080;prxroute=1 SIP/2.0'
|
||||
- 'CSeq: 2 ACK'
|
||||
- 'Max-Forwards: 69'
|
||||
- 'Content-Length: 0'
|
||||
- 'From: "4311009" <sip:testuser1002@'
|
||||
- 'To: <sip:testuser1003@'
|
||||
|
||||
sip_out:
|
||||
- [
|
||||
'^ACK sip:127.0.0.1:5080(;prxroute=1)? SIP/2.0',
|
||||
'Contact: sip:testuser1002@',
|
||||
'^ACK sip:127.0.0.1:5080;prxroute=1 SIP/2.0',
|
||||
'CSeq: 2 ACK',
|
||||
'Max-Forwards: 68',
|
||||
'Content-Length: 0',
|
||||
'From: "4311009" <sip:4311009@',
|
||||
'To: <sip:testuser1003@'
|
||||
]
|
||||
|
||||
@ -0,0 +1,17 @@
|
||||
flow:
|
||||
- start|REPLY_ROUTE_NAT:
|
||||
- exit|REPLY_ROUTE_NAT:
|
||||
sip_in:
|
||||
- '^SIP/2.0 200 OK'
|
||||
- 'CSeq: 3 BYE'
|
||||
- 'Content-Length: 0'
|
||||
- 'From: "4311009" <sip:4311009@'
|
||||
- 'To: <sip:testuser1003@'
|
||||
sip_out:
|
||||
- [
|
||||
'^SIP/2.0 200 OK',
|
||||
'CSeq: 3 BYE',
|
||||
'Content-Length: 0',
|
||||
'From: "4311009" <sip:testuser1002@',
|
||||
'To: <sip:testuser1003@'
|
||||
]
|
||||
@ -0,0 +1,15 @@
|
||||
flow:
|
||||
- start|REPLY_ROUTE_NAT:
|
||||
- exit|REPLY_ROUTE_NAT:
|
||||
sip_in:
|
||||
- '^SIP/2.0 180 Ringing'
|
||||
- 'CSeq: 2 INVITE'
|
||||
- 'From: <sip:43122122@'
|
||||
- 'To: <sip:testuser1003@'
|
||||
sip_out:
|
||||
- [
|
||||
'^SIP/2.0 180 Ringing',
|
||||
'CSeq: 2 INVITE',
|
||||
'From: "431100222" <sip:testuser1002@',
|
||||
'To: <sip:testuser1003@'
|
||||
]
|
||||
@ -0,0 +1,13 @@
|
||||
flow:
|
||||
- start|REPLY_ROUTE_NAT:
|
||||
- exit|REPLY_ROUTE_NAT:
|
||||
sip_in:
|
||||
- '^SIP/2.0 200 OK'
|
||||
- 'CSeq: 2 INVITE'
|
||||
sip_out:
|
||||
- [
|
||||
'^SIP/2.0 200 OK',
|
||||
'CSeq: 2 INVITE',
|
||||
'From: "431100222" <sip:testuser1002@',
|
||||
'To: <sip:testuser1003@'
|
||||
]
|
||||
@ -1,28 +1,21 @@
|
||||
# INVITE_OFFLINE scenario
|
||||
flow:
|
||||
- start|MAIN:
|
||||
- start|DEFAULT_ROUTE:
|
||||
- start|ROUTE_NET_INFO:
|
||||
- end|ROUTE_NET_INFO:
|
||||
- return|ROUTE_NET_INFO:
|
||||
- start|ROUTE_PRX_REQUEST:
|
||||
- start|ROUTE_INITVARS:
|
||||
- end|ROUTE_INITVARS:
|
||||
- return|ROUTE_INITVARS:
|
||||
- start|ROUTE_OUTBOUND:
|
||||
- return|ROUTE_OUTBOUND:
|
||||
sip_in:
|
||||
- '^ACK sip:127.0.0.1:5080(;prxroute=1)? SIP/2.0'
|
||||
- 'Contact: sip:testuser1002@'
|
||||
- '^ACK sip:127.0.0.1:5080;prxroute=1 SIP/2.0'
|
||||
- 'CSeq: 2 ACK'
|
||||
- 'Max-Forwards: 69'
|
||||
- 'Content-Length: 0'
|
||||
- 'From: "431100222" <sip:testuser1002@'
|
||||
- 'To: <sip:testuser1003@'
|
||||
|
||||
sip_out:
|
||||
- [
|
||||
'^ACK sip:127.0.0.1:5080(;prxroute=1)? SIP/2.0',
|
||||
'Contact: sip:testuser1002@',
|
||||
'^ACK sip:127.0.0.1:5080;prxroute=1 SIP/2.0',
|
||||
'CSeq: 2 ACK',
|
||||
'Max-Forwards: 68',
|
||||
'Content-Length: 0',
|
||||
'From: "431100222" <sip:43122122@',
|
||||
'To: <sip:testuser1003@'
|
||||
]
|
||||
|
||||
@ -0,0 +1,17 @@
|
||||
flow:
|
||||
- start|REPLY_ROUTE_NAT:
|
||||
- exit|REPLY_ROUTE_NAT:
|
||||
sip_in:
|
||||
- '^SIP/2.0 200 OK'
|
||||
- 'CSeq: 3 BYE'
|
||||
- 'Content-Length: 0'
|
||||
- 'From: "431100222" <sip:43122122@'
|
||||
- 'To: <sip:testuser1003@'
|
||||
sip_out:
|
||||
- [
|
||||
'^SIP/2.0 200 OK',
|
||||
'CSeq: 3 BYE',
|
||||
'Content-Length: 0',
|
||||
'From: "431100222" <sip:testuser1002@',
|
||||
'To: <sip:testuser1003@'
|
||||
]
|
||||
@ -0,0 +1,11 @@
|
||||
flow:
|
||||
- start|REPLY_ROUTE_NAT:
|
||||
- exit|REPLY_ROUTE_NAT:
|
||||
sip_in:
|
||||
- '^SIP/2.0 180 Ringing'
|
||||
- 'CSeq: 2 INVITE'
|
||||
sip_out:
|
||||
- [
|
||||
'^SIP/2.0 180 Ringing',
|
||||
'CSeq: 2 INVITE',
|
||||
]
|
||||
@ -0,0 +1,13 @@
|
||||
flow:
|
||||
- start|REPLY_ROUTE_NAT:
|
||||
- exit|REPLY_ROUTE_NAT:
|
||||
sip_in:
|
||||
- '^SIP/2.0 200 OK'
|
||||
- 'CSeq: 2 INVITE'
|
||||
sip_out:
|
||||
- [
|
||||
'^SIP/2.0 200 OK',
|
||||
'CSeq: 2 INVITE',
|
||||
'From: <sip:testuser1002@',
|
||||
'To: <sip:\*80\*4444311003@'
|
||||
]
|
||||
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue