Hi Matt,
thanks as always for providing guidance in debugging etc.
I boosted the log level to 5, restarted bono, and re-ran my SIPp scenario
[which btw came from the CW testing folder you directed me to last week...I
tweaked it just a bit to make run in my EC2 deployment. I shall attach it
to this post]
The bono process continues to reject my un-trusted messages, here is one
example of the plethora of rejections:
06-11-2013 18:29:54.031 Debug pjsip: tdta0x7fcf3401 Destroying txdata
Response msg 403/SUBSCRIBE/cseq=1 (tdta0x7fcf340116e0)
06-11-2013 18:29:54.031 Debug pjsip: tdta0x7fcf3400 Destroying txdata
Request msg SUBSCRIBE/cseq=1 (tdta0x7fcf3400e7d0)
06-11-2013 18:29:54.031 Debug stack.cpp:164: Worker thread completed
processing message 0x7fcf48184458
06-11-2013 18:29:54.031 Debug stack.cpp:170: Request latency = 4362us
06-11-2013 18:29:54.031 Debug stack.cpp:162: Worker thread dequeue message
0x7fcf48188358
06-11-2013 18:29:54.031 Debug pjsip: sip_endpoint.c Distributing rdata to
modules: Request msg SUBSCRIBE/cseq=1 (rdata0x7fcf48188358)
06-11-2013 18:29:54.031 Debug stateful_proxy.cpp:236: Proxy RX request
06-11-2013 18:29:54.031 Debug stateful_proxy.cpp:689: Request received on
non-trusted port 5060
06-11-2013 18:29:54.031 Debug stateful_proxy.cpp:880: Perform edge proxy
routing for SUBSCRIBE request
06-11-2013 18:29:54.031 Debug stateful_proxy.cpp:995: Message received on
non-trusted port 5060
06-11-2013 18:29:54.031 Debug flowtable.cpp:137: Find flow for transport
tcps0x7fcf48255398 (2), remote address 54.221.31.166:50786
06-11-2013 18:29:54.031 Warning stateful_proxy.cpp:1186: Rejecting request
from untrusted source
06-11-2013 18:29:54.031 Debug pjsip: endpoint Response msg
403/SUBSCRIBE/cseq=1 (tdta0x7fcf340116e0) created
06-11-2013 18:29:54.031 Verbose stack.cpp:215: TX 368 bytes Response msg
403/SUBSCRIBE/cseq=1 (tdta0x7fcf340116e0) to TCP 54.221.31.166:50786:
--start msg--
SIP/2.0 403 Forbidden^M
Via: SIP/2.0/TCP 10.29.191.120:5069
;rport=50786;received=54.221.31.166;branch=z9hG4bK-25849-312-2-7770000622-^M
Call-ID: 7770000622///[email protected]^M
From: <sip:[email protected]>;tag=25849SIPpTag00312^M
To: <sip:[email protected]
>;tag=z9hG4bK-25849-312-2-7770000622-^M
CSeq: 1 SUBSCRIBE^M
Content-Length: 0^M
^M
--end msg--
06-11-2013 18:29:54.031 Debug pjsip: tdta0x7fcf3401 Destroying txdata
Response msg 403/SUBSCRIBE/cseq=1 (tdta0x7fcf340116e0)
06-11-2013 18:29:54.032 Debug pjsip: tdta0x7fcf3400 Destroying txdata
Request msg SUBSCRIBE/cseq=1 (tdta0x7fcf3400e7d0)
This seemed to be working OK for 20 or so accounts...now I am moving this
up to 1,000 [a short stepping stone to larger configurations]. Yes, there
were other issues that resulted in many rejections [bad passwords etc], so
I can see where some smart DoS detector might want to block me 8-) However
in a testing environment things like that happen, and as such I need to be
able to 'reset' the heuristic to be able to trust my address once again.
-John
On Tue, Nov 5, 2013 at 9:10 PM, Matt Williams
<[email protected]>wrote:
> John,
>
>
>
> Thanks for your email.
>
>
>
> What are you seeing in bono’s log file? Please can you share them? If
> you’re not already running with detailed logs (log level 5), it would be
> useful to enable this – see
> https://github.com/Metaswitch/clearwater-docs/wiki/Troubleshooting-and-Recovery#bonofor
> details.
>
>
>
> Incidentally, what’s the sip script you’re running? Bear in mind that
> bono rejects INVITEs on flows that have not previously been authenticated
> using a REGISTER.
>
>
>
> Please let me know.
>
>
>
> Thanks,
>
>
>
> Matt
>
>
>
> *From:* [email protected] [mailto:
> [email protected]] *On Behalf Of *John
> Letourneau
> *Sent:* 05 November 2013 12:49
> *To:* [email protected]
> *Subject:* [Clearwater] Bono rejecting request from untrusted source
>
>
>
> Hi,
>
> during some testing I have gotten into the situation where calls stop
> going through. I check the bono log to find all my SIPp request are getting
> canned. How can I gain the trust of the system again? A restart of the bono
> service did not help matters.
>
> Thanks!
>
>
>
> -John
>
<?xml version="1.0" encoding="ISO-8859-1" ?>
<!DOCTYPE scenario SYSTEM "sipp.dtd">
<!-- -->
<scenario name="Call Load Test">
<User variables="my_dn,peer_dn,call_repeat,domain" />
<nop hide="true">
<action>
<!-- Get my and peer's DN -->
<assignstr assign_to="my_dn" value="[field0]" />
<!-- field1 is my_auth, but we can't store it in a variable -->
<assignstr assign_to="peer_dn" value="[field2]" />
<!-- field3 is peer_auth, but we can't store it in a variable -->
<assign assign_to="reg_repeat" value="0"/>
<assign assign_to="call_repeat" value="0"/>
<assignstr assign_to="domain" value="micro.neartothis.com"/>
</action>
</nop>
<pause distribution="uniform" min="0" max="6000" />
<send>
<action>
<exec command="echo [call_id] 000 $(date +%s.%N) >> app-lat-0090.dat" />
</action>
<![CDATA[
SUBSCRIBE sip:[$my_dn]@[$domain];transport=[transport] SIP/2.0
Via: SIP/2.0/[transport] [local_ip]:[local_port];rport;branch=[branch]-[$my_dn]-[$reg_repeat]
Max-Forwards: 70
From: <sip:[$my_dn]@[$domain];transport=[transport]>;tag=[pid]SIPpTag00[call_number]
To: <sip:[$my_dn]@[$domain];transport=[transport]>
Call-ID: [$my_dn]///[call_id]
CSeq: [cseq] SUBSCRIBE
User-Agent: SIPp/Linux
Accept: application/simpe-message-summary
Supported: replaces, norefersub, extended-refer, timer, outbound, path
Event: message-summary
Allow-events: persence, kpml
Contact: <sip:[$my_dn]@[local_ip]:[local_port];transport=[transport];ob>;+sip.ice;reg-id=1;+sip.instance="<urn:uuid:00000000-0000-0000-0000-000000000001>"
Expires: 3600
Allow: PRACK, INVITE, ACK, BYE, CANCEL, UPDATE, SUBSCRIBE, NOTIFY, REFER, MESSAGE, OPTIONS, INFO
Content-Length: 0
]]>
</send>
<recv response="403">
<action>
<exec command="echo [call_id] 403 $(date +%s.%N) >> app-lat-0090.dat" />
</action>
</recv>
<send>
<![CDATA[
REGISTER sip:[$domain];transport=[transport] SIP/2.0
Via: SIP/2.0/[transport] [local_ip]:[local_port];rport;branch=[branch]-[$my_dn]-[$reg_repeat]
Route: <sip:[remote_ip];transport=[transport];lr>
Max-Forwards: 70
From: <sip:[$my_dn]@[$domain];transport=[transport]>;tag=[pid]SIPpTag00[call_number]
To: <sip:[$my_dn]@[$domain];transport=[transport]>
Call-ID: [$my_dn]///[call_id]
CSeq: [cseq] REGISTER
User-Agent: SIPp/Linux
Supported: replaces, norefersub, extended-refer, timer, outbound, path
Allow-events: presence, xpml
Contact: <sip:[$my_dn]@[local_ip]:[local_port];transport=[transport];ob>;+sip.ice;reg-id=1;+sip.instance="<urn:uuid:00000000-0000-0000-0000-000000000001>"
Expires: 3600
Allow: PRACK, INVITE, ACK, BYE, CANCEL, UPDATE, SUBSCRIBE, NOTIFY, REFER, MESSAGE, OPTIONS
Content-Length: 0
]]>
</send>
<recv response="401" auth="true">
<action>
<add assign_to="reg_repeat" value="1" />
<exec command="echo [call_id] 401 $(date +%s.%N) >> app-lat-0090.dat" />
</action>
</action>
</recv>
<send retrans="500">
<![CDATA[
REGISTER sip:[$domain];transport=[transport] SIP/2.0
Via: SIP/2.0/[transport] [local_ip]:[local_port];rport;branch=[branch]-[$my_dn]-[$reg_repeat]
Route: <sip:[remote_ip];transport=[transport];lr>
Max-Forwards: 70
From: <sip:[$my_dn]@[$domain];transport=[transport]>;tag=[pid]SIPpTag00[call_number]
To: <sip:[$my_dn]@[$domain];transport=[transport]>
Call-ID: [$my_dn]///[call_id]
CSeq: [cseq] REGISTER
User-Agent: SIPp/Linux
Supported: replaces, norefersub, extended-refer, timer, outbound, path
Allow-events: presence, xpml
Contact: <sip:[$my_dn]@[local_ip]:[local_port];transport=[transport];ob>;+sip.ice;reg-id=1;+sip.instance="<urn:uuid:00000000-0000-0000-0000-000000000001>"
Expires: 3600
[field1]
Allow: PRACK, INVITE, ACK, BYE, CANCEL, UPDATE, SUBSCRIBE, NOTIFY, REFER, MESSAGE, OPTIONS
Content-Length: 0
]]>
</send>
<recv response="200" optional="true">
<action>
<ereg regexp="rport=([^;]*);.*received=([^;]*);" search_in="hdr" header="Via:" assign_to="dummy,nat_port,nat_ip_addr" />
<add assign_to="reg_repeat" value="1" />
<exec command="echo [call_id] 200 $(date +%s.%N) >> app-lat-0090.dat" />
</action>
</recv>
<recv response="403" optional="true">
</recv>
<Reference variables="dummy" />
<send>
<![CDATA[
REGISTER sip:[$domain];transport=[transport] SIP/2.0
Via: SIP/2.0/[transport] [local_ip]:[local_port];rport;branch=[branch]-[$peer_dn]-[$reg_repeat]
Route: <sip:[remote_ip];transport=[transport];lr>
Max-Forwards: 70
From: <sip:[$peer_dn]@[$domain];transport=[transport]>;tag=[pid]SIPpTag00[call_number]
To: <sip:[$peer_dn]@[$domain];transport=[transport]>
Call-ID: [$peer_dn]///[call_id]
CSeq: [cseq] REGISTER
User-Agent: SIPp/Linux
Supported: replaces, norefersub, extended-refer, timer, outbound, path
Allow-events: presence, xpml
Contact: <sip:[$peer_dn]@[local_ip]:[local_port];transport=[transport];ob>;+sip.ice;reg-id=1;+sip.instance="<urn:uuid:00000000-0000-0000-0000-000000000001>"
Expires: 3600
Allow: PRACK, INVITE, ACK, BYE, CANCEL, UPDATE, SUBSCRIBE, NOTIFY, REFER, MESSAGE, OPTIONS
Content-Length: 0
]]>
</send>
<recv response="401" auth="true">
<action>
<add assign_to="reg_repeat" value="1" />
</action>
</recv>
<send>
<![CDATA[
REGISTER sip:[$domain];transport=[transport] SIP/2.0
Via: SIP/2.0/[transport] [local_ip]:[local_port];rport;branch=[branch]-[$peer_dn]-[$reg_repeat]
Route: <sip:[remote_ip];transport=[transport];lr>
Max-Forwards: 70
From: <sip:[$peer_dn]@[$domain];transport=[transport]>;tag=[pid]SIPpTag00[call_number]
To: <sip:[$peer_dn]@[$domain];transport=[transport]>
Call-ID: [$peer_dn]///[call_id]
CSeq: [cseq] REGISTER
User-Agent: SIPp/Linux
Supported: replaces, norefersub, extended-refer, timer, outbound, path
Allow-events: presence, xpml
Contact: <sip:[$peer_dn]@[local_ip]:[local_port];transport=[transport];ob>;+sip.ice;reg-id=1;+sip.instance="<urn:uuid:00000000-0000-0000-0000-000000000001>"
Expires: 3600
[field3]
Allow: PRACK, INVITE, ACK, BYE, CANCEL, UPDATE, SUBSCRIBE, NOTIFY, REFER, MESSAGE, OPTIONS
Content-Length: 0
]]>
</send>
<recv response="200">
<action>
<add assign_to="reg_repeat" value="1" />
</action>
</recv>
<label id="1"/>
<send start_rtd="register">
<![CDATA[
REGISTER sip:[$domain];transport=[transport] SIP/2.0
Via: SIP/2.0/[transport] [local_ip]:[local_port];rport;branch=[branch]-[$my_dn]-[$reg_repeat]
Route: <sip:[remote_ip];transport=[transport];lr>
Max-Forwards: 70
From: <sip:[$my_dn]@[$domain];transport=[transport]>;tag=[pid]SIPpTag00[call_number]
To: <sip:[$my_dn]@[$domain];transport=[transport]>
Call-ID: [$my_dn]///[call_id]
CSeq: [cseq] REGISTER
User-Agent: SIPp/Linux
Supported: replaces, norefersub, extended-refer, timer, outbound, path
Allow-events: presence, xpml
Contact: <sip:[$my_dn]@[local_ip]:[local_port];transport=[transport];ob>;+sip.ice;reg-id=1;+sip.instance="<urn:uuid:00000000-0000-0000-0000-000000000001>"
Expires: 3600
Allow: PRACK, INVITE, ACK, BYE, CANCEL, UPDATE, SUBSCRIBE, NOTIFY, REFER, MESSAGE, OPTIONS
Content-Length: 0
]]>
</send>
<recv response="200" rtd="register">
<action>
<add assign_to="reg_repeat" value="1" />
</action>
</recv>
<send start_rtd="register">
<![CDATA[
REGISTER sip:[$domain];transport=[transport] SIP/2.0
Via: SIP/2.0/[transport] [local_ip]:[local_port];rport;branch=[branch]-[$peer_dn]-[$reg_repeat]
Route: <sip:[remote_ip];transport=[transport];lr>
Max-Forwards: 70
From: <sip:[$peer_dn]@[$domain];transport=[transport]>;tag=[pid]SIPpTag00[call_number]
To: <sip:[$peer_dn]@[$domain];transport=[transport]>
Call-ID: [$peer_dn]///[call_id]
CSeq: [cseq] REGISTER
User-Agent: SIPp/Linux
Supported: replaces, norefersub, extended-refer, timer, outbound, path
Allow-events: presence, xpml
Contact: <sip:[$peer_dn]@[local_ip]:[local_port];transport=[transport];ob>;+sip.ice;reg-id=1;+sip.instance="<urn:uuid:00000000-0000-0000-0000-000000000001>"
Expires: 3600
Allow: PRACK, INVITE, ACK, BYE, CANCEL, UPDATE, SUBSCRIBE, NOTIFY, REFER, MESSAGE, OPTIONS
Content-Length: 0
]]>
</send>
<recv response="200" rtd="register" chance="0.167" next="2">
<action>
<add assign_to="reg_repeat" value="1" />
</action>
</recv>
<pause milliseconds="300000" next="1" />
<label id="2" />
<nop hide="true">
<action>
<add assign_to="call_repeat" value="1" />
<sample assign_to="pre_call_delay" distribution="uniform" min="0" max="270000" />
<assign assign_to="post_call_delay" value="270000" />
<subtract assign_to="post_call_delay" variable="pre_call_delay" />
</action>
</nop>
<pause variable="pre_call_delay" />
<send start_rtd="call-setup">
<![CDATA[
INVITE sip:[$peer_dn]@[$domain] SIP/2.0
Via: SIP/2.0/[transport] [$nat_ip_addr]:[$nat_port];rport;branch=z9hG4bK-[$my_dn]-[call_number]-[$call_repeat]-1
Max-Forwards: 70
From: sip:[$my_dn]@[$domain];tag=[pid]SIPpTag00[call_number]1234
To: sip:[$peer_dn]@[$domain]
Contact: <sip:[$my_dn]@[$nat_ip_addr]:[$nat_port];transport=[transport];ob>;+sip.ice
Call-ID: [$my_dn]-[$call_repeat]///[call_id]
CSeq: [cseq] INVITE
Route: <sip:[$domain];transport=[transport];lr>
Allow: PRACK, INVITE, ACK, BYE, CANCEL, UPDATE, SUBSCRIBE, NOTIFY, REFER, MESSAGE, OPTIONS
Supported: replaces, 100rel, timer, norefersub
Session-Expires: 1800
Min-SE: 90
User-Agent: Accession 4.0.0.0
Content-Type: application/sdp
Content-Length: [len]
v=0
o=- 3547439529 3547439529 IN IP4 23.23.222.251
s=pjmedia
c=IN IP4 23.23.222.251
b=AS:84
t=0 0
a=X-nat:3
m=audio 34012 RTP/AVP 120 121 106 0 8 96
c=IN IP4 23.23.222.251
b=TIAS:64000
a=rtcp:41203 IN IP4 23.23.222.251
a=sendrecv
a=rtpmap:120 SILK/8000
a=fmtp:120 maxaveragebitrate=64000;useinbandfec=1;usedtx=1
a=rtpmap:121 SILK/16000
a=fmtp:121 maxaveragebitrate=64000;useinbandfec=1;usedtx=1
a=rtpmap:106 AMR-WB/16000
a=rtpmap:0 PCMU/8000
a=rtpmap:8 PCMA/8000
a=rtpmap:96 telephone-event/8000
a=fmtp:96 0-15
a=ice-ufrag:63eab89f
a=ice-pwd:2cbaece5
a=candidate:Sc0a801c2 1 UDP 1694498815 192.91.191.20 54989 typ srflx raddr 192.168.1.194 rport 42506
a=candidate:Hc0a801c2 1 UDP 2130706431 192.168.1.194 42506 typ host
a=candidate:R1717defb 1 UDP 16777215 23.23.222.251 34012 typ relay raddr 192.91.191.20 rport 27564
a=candidate:Sc0a801c2 2 UDP 1694498814 192.91.191.20 40944 typ srflx raddr 192.168.1.194 rport 59288
a=candidate:Hc0a801c2 2 UDP 2130706430 192.168.1.194 59288 typ host
a=candidate:R1717defb 2 UDP 16777214 23.23.222.251 41203 typ relay raddr 192.91.191.20 rport 49972
]]>
</send>
<!-- The 100 response is generated by sprout and so it and the proxied INVITE can be received in either order. -->
<!-- If we receive the 100 response first, move onto label 3 where we expect the INVITE and then continue. -->
<!-- If we receive the INVITE first, expect a 100 response and then move onto label 4, where we continue. -->
<recv response="100" optional="true" next="3">
</recv>
<recv request="INVITE">
</recv>
<nop hide="true">
<action>
<assignstr assign_to="uas_via" value="[last_Via:]" />
</action>
</nop>
<recv response="100" next="4">
</recv>
<label id="3" />
<recv request="INVITE">
</recv>
<nop hide="true">
<action>
<assignstr assign_to="uas_via" value="[last_Via:]" />
</action>
</nop>
<label id="4" />
<send>
<![CDATA[
SIP/2.0 100 Trying
[$uas_via]
[last_Record-Route:]
Call-ID: [$my_dn]-[$call_repeat]///[call_id]
From: <sip:[$peer_dn]@[$domain]>;tag=[pid]SIPpTag00[call_number]1234
To: <sip:[$my_dn]@[$domain]>
[last_CSeq:]
Content-Length: 0
]]>
</send>
<send>
<![CDATA[
SIP/2.0 180 Ringing
[$uas_via]
[last_Record-Route:]
Call-ID: [$my_dn]-[$call_repeat]///[call_id]
From: <sip:[$peer_dn]@[$domain]>;tag=[pid]SIPpTag00[call_number]1234
To: <sip:[$my_dn]@[$domain]>;tag=[pid]SIPpTag00[call_number]4321
[last_CSeq:]
Contact: <sip:[$peer_dn]@[$nat_ip_addr]:[$nat_port];transport=[transport];ob>;+sip.ice
Allow: PRACK, INVITE, ACK, BYE, CANCEL, UPDATE, SUBSCRIBE, NOTIFY, REFER, MESSAGE, OPTIONS
Content-Length: 0
]]>
</send>
<recv response="180">
</recv>
<pause milliseconds="6000" />
<send>
<![CDATA[
SIP/2.0 200 OK
[$uas_via]
[last_Record-Route:]
Call-ID: [$my_dn]-[$call_repeat]///[call_id]
From: <sip:[$peer_dn]@[$domain]>;tag=[pid]SIPpTag00[call_number]1234
To: <sip:[$my_dn]@[$domain]>;tag=[pid]SIPpTag00[call_number]4321
[last_CSeq:]
Allow: PRACK, INVITE, ACK, BYE, CANCEL, UPDATE, SUBSCRIBE, NOTIFY, REFER, MESSAGE, OPTIONS
Contact: <sip:[$peer_dn]@[$nat_ip_addr]:[$nat_port];transport=[transport];ob>;+sip.ice
Supported: replaces, 100rel, timer, norefersub
Session-Expires: 1800;refresher=uac
Content-Type: application/sdp
Content-Length: 948
v=0
o=- 3547439528 3547439529 IN IP4 23.23.222.251
s=pjmedia
c=IN IP4 23.23.222.251
b=AS:84
t=0 0
a=X-nat:3
m=audio 59808 RTP/AVP 120 96
c=IN IP4 23.23.222.251
b=TIAS:64000
a=rtcp:36110 IN IP4 23.23.222.251
a=sendrecv
a=rtpmap:120 SILK/8000
a=fmtp:120 maxaveragebitrate=64000;useinbandfec=1;usedtx=1
a=rtpmap:96 telephone-event/8000
a=fmtp:96 0-15
a=ice-ufrag:32ffb0d4
a=ice-pwd:6b7c406b
a=candidate:Sac123cc4 1 UDP 1694498815 192.91.191.29 57173 typ srflx raddr 172.18.60.196 rport 57931
a=candidate:Hac123cc4 1 UDP 2130706431 172.18.60.196 57931 typ host
a=candidate:R1717defb 1 UDP 16777215 23.23.222.251 59808 typ relay raddr 192.91.191.29 rport 62536
a=candidate:Sac123cc4 2 UDP 1694498814 192.91.191.29 60865 typ srflx raddr 172.18.60.196 rport 59842
a=candidate:Hac123cc4 2 UDP 2130706430 172.18.60.196 59842 typ host
a=candidate:R1717defb 2 UDP 16777214 23.23.222.251 36110 typ relay raddr 192.91.191.29 rport 57129
]]>
</send>
<recv response="200" rrs="true">
</recv>
<send>
<![CDATA[
ACK sip:[$peer_dn]@[$nat_ip_addr]:[$nat_port];transport=[transport];ob SIP/2.0
Via: SIP/2.0/[transport] [$nat_ip_addr]:[$nat_port];rport;branch=z9hG4bK-[$my_dn]-[call_number]-[$call_repeat]-1
[routes]
Max-Forwards: 70
From: sip:[$my_dn]@[$domain];tag=[pid]SIPpTag00[call_number]1234
To: sip:[$peer_dn]@[$domain];tag=[pid]SIPpTag00[call_number]4321
Call-ID: [$my_dn]-[$call_repeat]///[call_id]
CSeq: [cseq] ACK
Content-Length: 0
]]>
</send>
<recv request="ACK">
</recv>
<send>
<![CDATA[
UPDATE sip:[$peer_dn]@[$nat_ip_addr]:[$nat_port];transport=[transport];ob SIP/2.0
Via: SIP/2.0/[transport] [$nat_ip_addr]:[$nat_port];rport;branch=z9hG4bK-[$my_dn]-[call_number]-[$call_repeat]-2
[routes]
Max-Forwards: 70
From: sip:[$my_dn]@[$domain];tag=[pid]SIPpTag00[call_number]1234
To: sip:[$peer_dn]@[$domain];tag=[pid]SIPpTag00[call_number]4321
Contact: <sip:[$my_dn]@[$nat_ip_addr]:[$nat_port];transport=[transport];ob>;+sip.ice
Call-ID: [$my_dn]-[$call_repeat]///[call_id]
CSeq: [cseq] UPDATE
Session-Expires: 1800;refresher=uac
Min-SE: 90
User-Agent: Accession 4.0.0.0
Content-Type: application/sdp
Content-Length: 843
v=0
o=- 3547439529 3547439530 IN IP4 23.23.222.251
s=pjmedia
c=IN IP4 192.91.191.20
b=AS:84
t=0 0
a=X-nat:3
m=audio 54989 RTP/AVP 120 121 106 0 8 96
c=IN IP4 192.91.191.20
b=TIAS:64000
a=sendrecv
a=rtpmap:120 SILK/8000
a=fmtp:120 maxaveragebitrate=64000;useinbandfec=1;usedtx=1
a=rtpmap:121 SILK/16000
a=fmtp:121 maxaveragebitrate=64000;useinbandfec=1;usedtx=1
a=rtpmap:106 AMR-WB/16000
a=rtpmap:0 PCMU/8000
a=rtpmap:8 PCMA/8000
a=rtpmap:96 telephone-event/8000
a=fmtp:96 0-15
a=ice-ufrag:63eab89f
a=ice-pwd:2cbaece5
a=rtcp:40944 IN IP4 192.91.191.20
a=candidate:Sc0a801c2 1 UDP 1694498815 192.91.191.20 54989 typ srflx raddr 192.168.1.194 rport 42506
a=candidate:Sc0a801c2 2 UDP 1694498814 192.91.191.20 40944 typ srflx raddr 192.168.1.194 rport 59288
a=remote-candidates:1 23.23.222.251 59808 2 23.23.222.251 36110
]]>
</send>
<recv request="UPDATE">
</recv>
<send>
<![CDATA[
SIP/2.0 200 OK
[last_Via:]
[last_Record-Route:]
Call-ID: [$my_dn]-[$call_repeat]///[call_id]
From: sip:[$peer_dn]@[$domain];tag=[pid]SIPpTag00[call_number]1234
To: sip:[$my_dn]@[$domain];tag=[pid]SIPpTag00[call_number]4321
[last_CSeq:]
Session-Expires: 1800;refresher=uac
Contact: <sip:[$peer_dn]@[$nat_ip_addr][$nat_port];transport=[transport];ob>;+sip.ice
Allow: PRACK, INVITE, ACK, BYE, CANCEL, UPDATE, SUBSCRIBE, NOTIFY, REFER, MESSAGE, OPTIONS
Supported: replaces, 100rel, timer, norefersub
Content-Type: application/sdp
Content-Length: 606
v=0
o=- 3547439528 3547439530 IN IP4 23.23.222.251
s=pjmedia
c=IN IP4 23.23.222.251
b=AS:84
t=0 0
a=X-nat:3
m=audio 59808 RTP/AVP 120 96
c=IN IP4 23.23.222.251
b=TIAS:64000
a=sendrecv
a=rtpmap:120 SILK/8000
a=fmtp:120 maxaveragebitrate=64000;useinbandfec=1;usedtx=1
a=rtpmap:96 telephone-event/8000
a=fmtp:96 0-15
a=ice-ufrag:32ffb0d4
a=ice-pwd:6b7c406b
a=rtcp:36110 IN IP4 23.23.222.251
a=candidate:R1717defb 1 UDP 16777215 23.23.222.251 59808 typ relay raddr 192.91.191.29 rport 62536
a=candidate:R1717defb 2 UDP 16777214 23.23.222.251 36110 typ relay raddr 192.91.191.29 rport 57129
]]>
</send>
<recv response="200" rtd="call-setup">
</recv>
<pause milliseconds="24000" />
<send start_rtd="call-teardown">
<![CDATA[
BYE sip:[$peer_dn]@[$nat_ip_addr]:[$nat_port];transport=[transport];ob SIP/2.0
Via: SIP/2.0/[transport] [$nat_ip_addr]:[$nat_port];rport;branch=z9hG4bK-[$my_dn]-[call_number]-[$call_repeat]-3
[routes]
From: <sip:[$my_dn]@[$domain]>;tag=[pid]SIPpTag00[call_number]1234
To: <sip:[$peer_dn]@[$domain]>;tag=[pid]SIPpTag00[call_number]4321
Call-ID: [$my_dn]-[$call_repeat]///[call_id]
CSeq: [cseq] BYE
Contact: <sip:[$my_dn]@[$nat_ip_addr][$nat_port];transport=[transport];ob>;+sip.ice
Max-Forwards: 70
Subject: Performance Test
Content-Length: 0
]]>
</send>
<recv request="BYE">
</recv>
<send>
<![CDATA[
SIP/2.0 200 OK
[last_Via:]
[last_Record-Route:]
From: sip:[$peer_dn]@[$domain];tag=[pid]SIPpTag00[call_number]1234
To: sip:[$my_dn]@[$domain];tag=[pid]SIPpTag00[call_number]4321
Call-ID: [$my_dn]-[$call_repeat]///[call_id]
[last_CSeq:]
Contact: <sip:[$peer_dn]@[$nat_ip_addr][$nat_port];transport=[transport];ob>;+sip.ice
Content-Length: 0
]]>
</send>
<recv response="200" rtd="call-teardown">
</recv>
<pause variable="post_call_delay" next="1" />
<!-- definition of the response time repartition table (unit is ms) -->
<ResponseTimeRepartition value="500, 1000, 2000, 3000, 4000, 7000, 10000"/>
<!-- definition of the call length repartition table (unit is ms) -->
<CallLengthRepartition value="10, 50, 100, 500, 1000, 5000, 10000"/>
</scenario>
_______________________________________________
Clearwater mailing list
[email protected]
http://lists.projectclearwater.org/listinfo/clearwater