MT#20913 new test incoming_hih for History-Info header

Change-Id: I6662827d53a3b0645cb0369927eb0314f5df9eff
changes/71/7471/4
Andrew Pogrebennyk 10 years ago
parent 8b176fc4cc
commit 2eb740504f

@ -0,0 +1,111 @@
flow:
- start|DEFAULT_ROUTE:
- start|ROUTE_NET_INFO:
- return|ROUTE_NET_INFO:
- start|ROUTE_PRX_REQUEST:
- start|ROUTE_INITVARS:
- return|ROUTE_INITVARS:
- start|ROUTE_INVITE:
- start|ROUTE_LOAD_CALLEE_DOMAIN_PREF:
- start|ROUTE_CLEAR_CALLEE_DOMAIN_PREF:
- return|ROUTE_CLEAR_CALLEE_DOMAIN_PREF:
- return|ROUTE_LOAD_CALLEE_DOMAIN_PREF:
- start|ROUTE_FIND_CALLER:
- start|ROUTE_CLEAR_PEER_IN_PREF:
- return|ROUTE_CLEAR_PEER_IN_PREF:
- start|ROUTE_LOAD_PEER_IN_PREF:
- return|ROUTE_LOAD_PEER_IN_PREF:
- start|ROUTE_PROCESS_INCOMING_HIH:
- return|ROUTE_PROCESS_INCOMING_HIH:
- return|ROUTE_FIND_CALLER:
- start|ROUTE_GET_CALLER_CLI:
- return|ROUTE_GET_CALLER_CLI:
- start|ROUTE_GET_CALLER_CLI:
- return|ROUTE_GET_CALLER_CLI:
- start|ROUTE_GET_FORWARDER_CLI:
- return|ROUTE_GET_FORWARDER_CLI:
- start|ROUTE_FIND_CALLEE:
- start|ROUTE_CLIR:
- return|ROUTE_CLIR:
- start|ROUTE_CLEAR_CALLEE_PREF:
- return|ROUTE_CLEAR_CALLEE_PREF:
- start|ROUTE_NCOS_CHECK:
- start|ROUTE_NCOS:
- return|ROUTE_NCOS:
- start|ROUTE_NCOS:
- return|ROUTE_NCOS:
- start|ROUTE_NCOS:
- return|ROUTE_NCOS:
- start|ROUTE_NCOS:
- return|ROUTE_NCOS:
- return|ROUTE_NCOS_CHECK:
- start|ROUTE_BLOCK_OUT:
- return|ROUTE_BLOCK_OUT:
- start|ROUTE_LOAD_CALLEE_PREF:
- start|ROUTE_LOAD_CALLEE_CONTRACT_PREF:
- return|ROUTE_LOAD_CALLEE_CONTRACT_PREF:
- start|ROUTE_SET_CALLEE_DIALOG:
- return|ROUTE_SET_CALLEE_DIALOG:
- start|ROUTE_BLOCK_IN:
- return|ROUTE_BLOCK_IN:
- return|ROUTE_LOAD_CALLEE_PREF:
- start|ROUTE_CHECK_PBX:
- return|ROUTE_CHECK_PBX:
- start|ROUTE_INVITE_TO_INT:
- start|ROUTE_LOAD_CF_MAP:
- return|ROUTE_LOAD_CF_MAP:
- start|ROUTE_CHECK_CF_PERIOD:
- return|ROUTE_CHECK_CF_PERIOD:
- start|ROUTE_ACC_CF:
- start|ROUTE_ACC_CALLER:
- return|ROUTE_ACC_CALLER:
- start|ROUTE_ACC_CALLEE:
- return|ROUTE_ACC_CALLEE:
- return|ROUTE_ACC_CF:
- start|ROUTE_EXECUTE_CF_LOOP:
- start|ROUTE_SET_CALLER_DIALOG:
- return|ROUTE_SET_CALLER_DIALOG:
- start|BRANCH_ROUTE_FWD_LOOP:
- start|ROUTE_PROCESS_INCOMING_HIH:
- return|ROUTE_PROCESS_INCOMING_HIH:
- start|ROUTE_ADD_CALLINFO:
- return|ROUTE_ADD_CALLINFO:
- return|BRANCH_ROUTE_FWD_LOOP:
- return|BRANCH_ROUTE_FWD_LOOP:
- exit|ROUTE_EXECUTE_CF_LOOP:
sip_in:
- '^INVITE sip:4311003@'
- 'Contact: sip:004321001@'
- 'CSeq: 1 INVITE'
- 'Max-Forwards: 69'
- 'Content-Type: application/sdp'
sip_out:
- [
'^SIP/2.0 100 Trying',
'CSeq: 1 INVITE',
'From: <sip:004321001@',
'To: <sip:4311003@'
]
- [
'^INVITE sip:4311002@',
'CSeq: 1 INVITE',
'From: <sip:004321001@',
'To: <sip:4311003@',
'Content-Type: application/sdp',
'History-Info: <sip:\+4313012026@spce.test;user=phone\?privacy=history>;index=1',
'History-Info: <sip:\+4311003@spce.test;user=phone;cause=302\?privacy=id>;index=1.1',
'P-HIH-Cause: 302',
'P-Caller-UUID: \w+',
'P-First-Caller-UPN: 004321001',
'P-First-Caller-NPN: 004321001',
'P-Acc-Caller-User: testuser1003',
'P-Acc-State: cfu',
'P-From-Peer: 1',
'P-CF-Depth: 1',
'P-Callee-Account-ID: \d+',
'P-App-Param: ;profile=ngcp_cf',
'P-App-Name: sbc',
'P-NGCP-Forward-Info: <sip:4311003@',
'P-NGCP-Callee-Info: <sip:4311002@'
]

@ -0,0 +1,141 @@
flow:
- start|DEFAULT_ROUTE:
- start|ROUTE_NET_INFO:
- return|ROUTE_NET_INFO:
- start|ROUTE_PRX_REQUEST:
- start|ROUTE_INITVARS:
- return|ROUTE_INITVARS:
- start|ROUTE_INVITE:
- start|ROUTE_LOAD_CALLEE_DOMAIN_PREF:
- start|ROUTE_CLEAR_CALLEE_DOMAIN_PREF:
- return|ROUTE_CLEAR_CALLEE_DOMAIN_PREF:
- return|ROUTE_LOAD_CALLEE_DOMAIN_PREF:
- start|ROUTE_FIND_CALLER:
- return|ROUTE_FIND_CALLER:
- start|ROUTE_LOAD_CALLER_PREF:
- start|ROUTE_CLEAR_CALLER_PREF:
- return|ROUTE_CLEAR_CALLER_PREF:
- start|ROUTE_LOAD_CALLER_CONTRACT_PREF:
- return|ROUTE_LOAD_CALLER_CONTRACT_PREF:
- return|ROUTE_LOAD_CALLER_PREF:
- start|ROUTE_GET_FORWARDER_CLI:
- return|ROUTE_GET_FORWARDER_CLI:
- start|ROUTE_CHECK_USERPROV_CLI:
- start|ROUTE_CHECK_CLI_ALLOWED:
- return|ROUTE_CHECK_CLI_ALLOWED:
- return|ROUTE_CHECK_USERPROV_CLI:
- start|ROUTE_CHECK_USERPROV_CLI:
- start|ROUTE_CHECK_CLI_ALLOWED:
- return|ROUTE_CHECK_CLI_ALLOWED:
- return|ROUTE_CHECK_USERPROV_CLI:
- start|ROUTE_FIND_CALLEE:
$var(cf_loop): 1
$var(forward): 0
- start|ROUTE_CLIR:
- return|ROUTE_CLIR:
- start|ROUTE_CLEAR_CALLEE_PREF:
- return|ROUTE_CLEAR_CALLEE_PREF:
- start|ROUTE_NCOS_CHECK:
- start|ROUTE_NCOS:
- return|ROUTE_NCOS:
- start|ROUTE_NCOS:
- return|ROUTE_NCOS:
- start|ROUTE_NCOS:
- return|ROUTE_NCOS:
- start|ROUTE_NCOS:
- return|ROUTE_NCOS:
- start|ROUTE_NCOS:
- return|ROUTE_NCOS:
- return|ROUTE_NCOS_CHECK:
- start|ROUTE_BLOCK_OUT:
- return|ROUTE_BLOCK_OUT:
- start|ROUTE_LOAD_CALLEE_PREF:
- start|ROUTE_LOAD_CALLEE_CONTRACT_PREF:
- return|ROUTE_LOAD_CALLEE_CONTRACT_PREF:
- start|ROUTE_SET_CALLEE_DIALOG:
- return|ROUTE_SET_CALLEE_DIALOG:
- start|ROUTE_BLOCK_IN:
- return|ROUTE_BLOCK_IN:
- return|ROUTE_LOAD_CALLEE_PREF:
- start|ROUTE_CHECK_PBX:
- return|ROUTE_CHECK_PBX:
- start|ROUTE_INVITE_TO_INT:
- start|ROUTE_OUTBOUND:
- start|ROUTE_SET_CALLER_DIALOG:
- return|ROUTE_SET_CALLER_DIALOG:
- start|ROUTE_ACC_CALLER:
- return|ROUTE_ACC_CALLER:
- start|ROUTE_ACC_CALLEE:
- return|ROUTE_ACC_CALLEE:
- start|BRANCH_ROUTE_SBC:
- start|ROUTE_LOAD_CALLEE_CONTRACT_PREF:
- return|ROUTE_LOAD_CALLEE_CONTRACT_PREF:
- start|ROUTE_SET_CALLEE_DIALOG:
- return|ROUTE_SET_CALLEE_DIALOG:
- start|ROUTE_BRANCH_ACC_RTP:
- return|ROUTE_BRANCH_ACC_RTP:
- start|ROUTE_SET_RUSER:
- return|ROUTE_SET_RUSER:
- start|ROUTE_FILTER_PRACK:
- return|ROUTE_FILTER_PRACK:
- start|ROUTE_PREPARE_SST:
- return|ROUTE_PREPARE_SST:
- start|ROUTE_PREPARE_MOH:
- return|ROUTE_PREPARE_MOH:
- start|ROUTE_SET_CALLER_CLI:
- start|ROUTE_PREPARE_CALLER_CLI:
- return|ROUTE_PREPARE_CALLER_CLI:
- start|ROUTE_PREPARE_CALLER_CLI:
- return|ROUTE_PREPARE_CALLER_CLI:
- start|ROUTE_PREPARE_CALLER_CLI:
- return|ROUTE_PREPARE_CALLER_CLI:
- start|ROUTE_PREPARE_CALLER_CLI:
- return|ROUTE_PREPARE_CALLER_CLI:
- start|ROUTE_PREPARE_CALLER_CLI:
- return|ROUTE_PREPARE_CALLER_CLI:
- return|ROUTE_SET_CALLER_CLI:
- start|ROUTE_SET_CALLEE:
- return|ROUTE_SET_CALLEE:
- start|ROUTE_ADD_CALLINFO:
- return|ROUTE_ADD_CALLINFO:
- return|BRANCH_ROUTE_SBC:
# branch ??
- return|BRANCH_ROUTE_SBC:
- exit|ROUTE_OUTBOUND:
sip_in:
- '^INVITE sip:4311002@'
- 'Contact: <sip:127.0.0.1:5080'
- 'CSeq: 10 INVITE'
- 'Content-Type: application/sdp'
- 'P-Caller-UUID: \w+'
- 'P-First-Caller-UPN: 004321001'
- 'P-First-Caller-NPN: 004321001'
- 'P-Acc-Caller-User: testuser1003'
- 'P-Acc-State: cfu'
- 'P-From-Peer: 1'
- 'P-CF-Depth: 1'
- 'P-Callee-Account-ID: \d+'
sip_out:
- [
'^SIP/2.0 100 Trying',
'CSeq: 10 INVITE',
'From: <sip:004321001@',
'To: <sip:4311003@'
]
- [
'^INVITE sip:testuser1002@',
'CSeq: 10 INVITE',
'From: <sip:004321001@',
'Contact: <sip:127.0.0.1:5080(;transport=udp)?>',
'To: <sip:4311003@',
'Content-Type: application/sdp',
'History-Info: <sip:\+4313012026@spce.test;user=phone\?privacy=history>;index=1',
'History-Info: <sip:\+4311003@spce.test;user=phone;cause=302\?privacy=id>;index=1.1',
'History-Info: <sip:\+4311002@spce.test:5060;cause=302;user=phone>;index=1.1.1',
'P-Callee-UUID: \w+',
'P-Asserted-Identity: <sip:004321001@',
'P-Called-Party-ID: <sip:testuser1002@',
'P-App-Name: sbc',
'P-NGCP-Caller-Info: <sip:testuser1003@',
'P-NGCP-Callee-Info: <sip:4311002@'
]

@ -0,0 +1,28 @@
flow:
- start|DEFAULT_ROUTE:
- start|ROUTE_NET_INFO:
- return|ROUTE_NET_INFO:
- start|ROUTE_PRX_REQUEST:
- start|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@'
- '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@',
'CSeq: 1 ACK',
'Max-Forwards: 68',
'Content-Length: 0',
'From: <sip:004321001@',
'To: <sip:4311003@'
]

@ -0,0 +1,40 @@
flow:
- start|DEFAULT_ROUTE:
- start|ROUTE_NET_INFO:
- return|ROUTE_NET_INFO:
- start|ROUTE_PRX_REQUEST:
- start|ROUTE_INITVARS:
- return|ROUTE_INITVARS:
- 'start|dialog:end':
- 'return|dialog:end':
- 'return|dialog:end':
- start|ROUTE_STOP_RTPPROXY:
- return|ROUTE_STOP_RTPPROXY:
- start|ROUTE_OUTBOUND:
- exit|ROUTE_OUTBOUND:
sip_in:
- '^BYE sip:127.0.0.1:5080(;prxroute=1)? SIP/2.0'
- 'Contact: sip:004321001@'
- 'CSeq: 2 BYE'
- 'Max-Forwards: 69'
- 'Content-Length: 0'
- 'From: <sip:004321001@'
- 'To: <sip:4311003@'
sip_out:
- [
'^SIP/2.0 100 Trying',
'CSeq: 2 BYE',
'Content-Length: 0',
'From: <sip:004321001@',
'To: <sip:4311003@'
]
- [
'^BYE sip:127.0.0.1:5080(;prxroute=1)? SIP/2.0',
'Contact: sip:004321001@',
'CSeq: 2 BYE',
'Max-Forwards: 68',
'Content-Length: 0',
'From: <sip:004321001@',
'To: <sip:4311003@'
]

@ -0,0 +1,58 @@
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: 2 BYE'
- 'Content-Length: 0'
- 'From: <sip:004321001@'
- 'To: <sip:4311003@'
[% ELSE %]
- '^BYE sip:(testuser1002@)?127.0.0.1:5080(;transport=udp)? SIP/2.0'
- 'CSeq: 11 BYE'
- 'Content-Length: 0'
- 'From: <sip:004321001@'
- 'To: <sip:4311003@'
[% END %]
sip_out:
[% IF PRO %]
- [
'^SIP/2.0 200 OK',
'CSeq: 2 BYE',
'Content-Length: 0',
'From: <sip:004321001@',
'To: <sip:4311003@'
]
[% ELSE %]
- [
'^SIP/2.0 100 Trying',
'CSeq: 11 BYE',
'Content-Length: 0',
'From: <sip:004321001@',
'To: <sip:4311003@'
]
- [
'^BYE sip:(testuser1002@)?127.0.0.1:5080(;transport=udp)? SIP/2.0',
'CSeq: 11 BYE',
'Max-Forwards: 69',
'Content-Length: 0',
'From: <sip:004321001@',
'To: <sip:4311003@'
]
[% END %]

@ -0,0 +1,58 @@
flow:
[% IF CE %]
- 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 CE %]
- '^SIP/2.0 200 OK'
- 'CSeq: 11 BYE'
- 'Content-Length: 0'
- 'From: <sip:004321001@'
- 'To: <sip:4311003@'
[% ELSE %]
- '^BYE sip:(testuser1002@)?127.0.0.1:5080(;transport=udp)? SIP/2.0'
- 'CSeq: 11 BYE'
- 'Content-Length: 0'
- 'From: <sip:004321001@'
- 'To: <sip:4311003@'
[% END %]
sip_out:
[% IF CE %]
- [
'^SIP/2.0 200 OK',
'CSeq: 11 BYE',
'Content-Length: 0',
'From: <sip:004321001@',
'To: <sip:4311003@'
]
[% ELSE %]
- [
'^SIP/2.0 100 Trying',
'CSeq: 11 BYE',
'Content-Length: 0',
'From: <sip:004321001@',
'To: <sip:4311003@'
]
- [
'^BYE sip:(testuser1002@)?127.0.0.1:5080(;transport=udp)? SIP/2.0',
'CSeq: 11 BYE',
'Max-Forwards: 70',
'Content-Length: 0',
'From: <sip:004321001@',
'To: <sip:4311003@'
]
[% END %]

@ -0,0 +1,25 @@
flow:
- start|REPLY_ROUTE_NAT:
- exit|REPLY_ROUTE_NAT:
sip_in:
- '^SIP/2.0 200 OK'
- 'Content-Length: 0'
[% IF PRO %]
- 'From: <sip:004321001@'
[% ELSE %]
- 'CSeq: 2 BYE'
- 'From: <sip:004321001@'
[% END %]
- 'To: <sip:4311003@'
sip_out:
- [
'^SIP/2.0 200 OK',
[% IF PRO %]
'CSeq: 11 BYE',
[% ELSE %]
'CSeq: 2 BYE',
[% END %]
'Content-Length: 0',
'From: <sip:004321001@',
'To: <sip:4311003@'
]

@ -0,0 +1,7 @@
---
testuser1003@spce.test:
cfu:
destinations:
- destination: sip:4311002@spce.test
priority: 0
timeout: 25

@ -0,0 +1,21 @@
---
peer_00:
contact:
company: peer_00
email: peer_00@host0.not
contract:
billing_profile_id: 1
status: active
type: sippeering
groups:
- name: peer_00_group
priority: 1
description:
hosts:
- group_id: peer_00_group
name: peer_00_host0
ip: 127.0.2.1
port: 50602
host:
transport: 1
weight: 1

@ -0,0 +1,8 @@
{
"testuser1002@spce.test": {
"outbound_history_info": "uprn"
},
"testuser1003@spce.test": {
"clir": true
}
}

@ -0,0 +1,42 @@
test_uuid: incoming_hih
domains:
'spce.test':
reseller_id: 1
customers:
'customer.test':
contacts:
- email: "customer.test@spce.test"
reseller_id: 1
details:
status: 'active'
type: 'sipaccount'
billing_profile_id: 1
reseller_id: 1
subscribers:
spce.test:
testuser1002:
customer: 'customer.test'
password: testuser
cc: 43
ac: 1
sn: 1002
testuser1003:
customer: 'customer.test'
password: testuser
cc: 43
ac: 1
sn: 1003
scenarios:
- ip: 127.0.2.1
username: 004321001
domain: 127.0.2.1
responders:
- ip: 127.1.0.1
username: testuser1003
domain: spce.test
register: no
active: no
- ip: 127.1.0.2
username: testuser1002
domain: spce.test
register: yes

@ -0,0 +1,95 @@
<?xml version="1.0" encoding="ISO-8859-1" ?>
<scenario name="Sipwise NGCP Benchmark UAC Caller">
<send>
<![CDATA[
INVITE sip:[field1 file="callee.csv" line=0]@[field3 file="callee.csv" line=0] SIP/2.0
Via: SIP/2.0/[transport] [local_ip]:[local_port];branch=[branch]
From: <sip:[field0 file="caller.csv" line=0]@[field2 file="caller.csv" line=0]>;tag=[pid]SIPpTag00[call_number]
To: <sip:[field1 file="callee.csv" line=0]@[field3 file="callee.csv" line=0]>
Call-ID: NGCP%[field4 file="callee.csv" line=0]%///[call_id]
CSeq: 1 INVITE
Contact: sip:[field0 file="caller.csv" line=0]@[local_ip]:[local_port]
History-Info: <sip:+4313012026@spce.test;user=phone?privacy=history>;index=1
History-Info: <sip:+4311003@spce.test;user=phone;cause=302>;index=1.1
Max-Forwards: 70
Content-Type: application/sdp
Content-Length: [len]
v=0
o=user1 53655765 2353687637 IN IP[local_ip_type] [local_ip]
s=-
c=IN IP[media_ip_type] [media_ip]
t=0 0
m=audio [media_port] RTP/AVP 8
a=rtpmap:8 PCMA/8000
a=ptime:50
]]>
</send>
<recv response="100" optional="true">
</recv>
<recv response="180" optional="true">
</recv>
<recv response="183" optional="true">
</recv>
<recv response="200" rrs="true">
</recv>
<send>
<![CDATA[
ACK [next_url] SIP/2.0
Via: SIP/2.0/[transport] [local_ip]:[local_port];branch=[branch]
From: <sip:[field0 file="caller.csv" line=0]@[field2 file="caller.csv" line=0]>;tag=[pid]SIPpTag00[call_number]
To: <sip:[field1 file="callee.csv" line=0]@[field3 file="callee.csv" line=0]>[peer_tag_param]
Call-ID: NGCP%[field4 file="callee.csv" line=0]%///[call_id]
[routes]
CSeq: 1 ACK
Contact: sip:[field0 file="caller.csv" line=0]@[local_ip]:[local_port]
Max-Forwards: 70
Content-Length: 0
]]>
</send>
<pause milliseconds="500"/>
<nop>
<action>
<exec play_pcap_audio="scenarios/media181sec.pcap"/>
</action>
</nop>
<pause milliseconds="1000"/>
<send>
<![CDATA[
BYE [next_url] SIP/2.0
Via: SIP/2.0/[transport] [local_ip]:[local_port];branch=[branch]
From: <sip:[field0 file="caller.csv" line=0]@[field2 file="caller.csv" line=0]>;tag=[pid]SIPpTag00[call_number]
To: <sip:[field1 file="callee.csv" line=0]@[field3 file="callee.csv" line=0]>[peer_tag_param]
Call-ID: NGCP%[field4 file="callee.csv" line=0]%///[call_id]
CSeq: 2 BYE
Contact: sip:[field0 file="caller.csv" line=0]@[local_ip]:[local_port]
[routes]
Max-Forwards: 70
Content-Length: 0
]]>
</send>
<recv response="100" optional="true">
</recv>
<recv response="200">
</recv>
<ResponseTimeRepartition value="10, 20, 30, 40, 50, 100, 150, 200, 500, 1000"/>
</scenario>

@ -0,0 +1,78 @@
<?xml version="1.0" encoding="UTF-8" ?>
<scenario name="Sipwise NGCP Benchmark UAS Responder">
<recv request="INVITE" crlf="true" rtd="true">
</recv>
<send>
<![CDATA[
SIP/2.0 180 Ringing
[last_Via:]
[last_From:]
[last_To:];tag=[pid]SIPpTag01[call_number]
[last_Call-ID:]
[last_CSeq:]
Contact: <sip:[local_ip]:[local_port];transport=[transport]>
Content-Length: 0
]]>
</send>
<pause milliseconds="500"/>
<send>
<![CDATA[
SIP/2.0 200 OK
[last_Via:]
[last_From:]
[last_To:];tag=[pid]SIPpTag01[call_number]
[last_Call-ID:]
[last_CSeq:]
[last_Record-Route:]
[last_Route:]
Contact: <sip:[local_ip]:[local_port];transport=[transport]>
Content-Type: application/sdp
Content-Length: [len]
v=0
o=user1 53655765 2353687637 IN IP[local_ip_type] [local_ip]
s=-
c=IN IP[media_ip_type] [media_ip]
t=0 0
m=audio [media_port] RTP/AVP 8
a=rtpmap:8 PCMA/8000
a=ptime:50
]]>
</send>
<recv request="ACK"
crlf="true">
</recv>
<recv request="BYE">
</recv>
<send>
<![CDATA[
SIP/2.0 200 OK
[last_Via:]
[last_From:]
[last_To:]
[last_Call-ID:]
[last_CSeq:]
Contact: <sip:[local_ip]:[local_port];transport=[transport]>
Content-Length: [len]
]]>
</send>
<ResponseTimeRepartition value="10, 20, 30, 40, 50, 100, 150, 200"/>
<CallLengthRepartition value="10, 50, 100, 500, 1000, 5000, 10000"/>
</scenario>
Loading…
Cancel
Save