Hi all,
i am trying to test kamailio proxy server without authentication with sipp
testing tool.
i was using standard uac and uas scenarios but they didnt work at all, it is
probbably because of kamailio works as statefull proxy and there need to be
record route and route statements in sip header.
i need to change uac and uas default scenarios to send those fields.
i was sniffing sip communicator calls , i found that route and record route
fields
in attached sipc2.txt is sniffed communication which i need to get from sipp
uac side and also uas side, except i dont need registration on any side it
is not important to me.
i was trying a lot xml scenarios from web but nothing works properly,because
kamailio drops some pakets.
in attached dokument sipc2.txt is 158.193.139.217 acting like caller and
158.193.139.91 as proxy server and 158.193.139.181 as the one who is called.
can anybody help me with it cause i am new to sipp and i am stucked here.
thanks.
Regards
Michal
interface: eth0 (158.193.139.0/255.255.255.0)
filter: (ip or ip6) and ( port 5060 )

U 158.193.139.217:5060 -> 158.193.139.91:5060
REGISTER sip:158.193.139.91 SIP/2.0.
Call-ID: af2ad4248e7327ac61adc0d84cd2ec7e@0:0:0:0:0:0:0:0.
CSeq: 56 REGISTER.
From: "100" <sip:[email protected]>;tag=8d650fc2.
To: "100" <sip:[email protected]>.
Via: SIP/2.0/UDP 
158.193.139.217:5060;branch=z9hG4bK-383438-c9cb0523839f7609764472df0db1370d.
Max-Forwards: 70.
User-Agent: SIP Communicator1.0-alpha6-nightly.build.3273Windows 7.
Expires: 600.
Contact: "100" 
<sip:[email protected]:5060;transport=udp;registering_acc=l_local>;expires=600.
Content-Length: 0.
.


U 158.193.139.91:5060 -> 158.193.139.217:5060
SIP/2.0 200 OK.
Call-ID: af2ad4248e7327ac61adc0d84cd2ec7e@0:0:0:0:0:0:0:0.
CSeq: 56 REGISTER.
From: "100" <sip:[email protected]>;tag=8d650fc2.
To: "100" <sip:[email protected]>;tag=b27e1a1d33761e85846fc98f5f3a7e58.31f3.
Via: SIP/2.0/UDP 
158.193.139.217:5060;branch=z9hG4bK-383438-c9cb0523839f7609764472df0db1370d.
Contact: 
<sip:[email protected]:5060;transport=udp;registering_acc=l_local>;expires=600.
Server: kamailio (3.1.1 (i386/linux)).
Content-Length: 0.
.


U 158.193.139.217:5060 -> 158.193.139.91:5060
INVITE sip:[email protected] SIP/2.0.
Call-ID: fb1c28f9834194e7ccd4b792b6073488@0:0:0:0:0:0:0:0.
CSeq: 1 INVITE.
From: "100" <sip:[email protected]>;tag=d468e7bf.
To: <sip:[email protected]>.
Via: SIP/2.0/UDP 
158.193.139.217:5060;branch=z9hG4bK-383438-c39422e8739dec0b6d7e055b909ef623.
Max-Forwards: 70.
Contact: "100" 
<sip:[email protected]:5060;transport=udp;registering_acc=l_local>.
User-Agent: SIP Communicator1.0-alpha6-nightly.build.3273Windows 7.
Content-Type: application/sdp.
Content-Length: 764.
.
v=0.
o=100 0 0 IN IP4 158.193.139.217.
s=-.
c=IN IP4 158.193.139.217.
t=0 0.
m=audio 5018 RTP/AVP 9 96 97 0 8 98 99 5 6 15 101.
a=rtpmap:9 G722/8000.
a=rtpmap:96 speex/32000.
a=rtpmap:97 speex/16000.
a=rtpmap:0 PCMU/8000.
a=rtpmap:8 PCMA/8000.
a=rtpmap:98 iLBC/8000.
a=rtpmap:99 speex/8000.
a=rtpmap:5 DVI4/8000.
a=rtpmap:6 DVI4/16000.
a=rtpmap:15 G728/8000.
a=rtpmap:101 telephone-event/8000.
a=extmap:1 urn:ietf:params:rtp-hdrext:csrc-audio-level.
a=zrtp-hash:1.10 
3207988a87952d0c24127cf24f6b5324b4f660fe485a3e9530edb1131a090a3c.
m=video 5020 RTP/AVP 100.
a=recvonly.
a=rtpmap:100 H264/90000.
a=fmtp:100 packetization-mode=1.
a=imageattr:100 send * recv [x=[0-1440],y=[0-900]].
a=zrtp-hash:1.10 
1889fdb192e4ca7f5cb6462956bd74a8f168fff0946b1cc4ff715f2de38605c3.


U 158.193.139.91:5060 -> 158.193.139.217:5060
SIP/2.0 100 trying -- your call is important to us.
Call-ID: fb1c28f9834194e7ccd4b792b6073488@0:0:0:0:0:0:0:0.
CSeq: 1 INVITE.
From: "100" <sip:[email protected]>;tag=d468e7bf.
To: <sip:[email protected]>.
Via: SIP/2.0/UDP 
158.193.139.217:5060;branch=z9hG4bK-383438-c39422e8739dec0b6d7e055b909ef623.
Server: kamailio (3.1.1 (i386/linux)).
Content-Length: 0.
.


U 158.193.139.91:5060 -> 158.193.139.181:5060
INVITE sip:[email protected]:5060;transport=udp;registering_acc=l_local 
SIP/2.0.
Record-Route: <sip:158.193.139.91;lr=on>.
Call-ID: fb1c28f9834194e7ccd4b792b6073488@0:0:0:0:0:0:0:0.
CSeq: 1 INVITE.
From: "100" <sip:[email protected]>;tag=d468e7bf.
To: <sip:[email protected]>.
Via: SIP/2.0/UDP 158.193.139.91;branch=z9hG4bK92f6.71898f67.0.
Via: SIP/2.0/UDP 
158.193.139.217:5060;branch=z9hG4bK-383438-c39422e8739dec0b6d7e055b909ef623.
Max-Forwards: 69.
Contact: "100" 
<sip:[email protected]:5060;transport=udp;registering_acc=l_local>.
User-Agent: SIP Communicator1.0-alpha6-nightly.build.3273Windows 7.
Content-Type: application/sdp.
Content-Length: 764.
.
v=0.
o=100 0 0 IN IP4 158.193.139.217.
s=-.
c=IN IP4 158.193.139.217.
t=0 0.
m=audio 5018 RTP/AVP 9 96 97 0 8 98 99 5 6 15 101.
a=rtpmap:9 G722/8000.
a=rtpmap:96 speex/32000.
a=rtpmap:97 speex/16000.
a=rtpmap:0 PCMU/8000.
a=rtpmap:8 PCMA/8000.
a=rtpmap:98 iLBC/8000.
a=rtpmap:99 speex/8000.
a=rtpmap:5 DVI4/8000.
a=rtpmap:6 DVI4/16000.
a=rtpmap:15 G728/8000.
a=rtpmap:101 telephone-event/8000.
a=extmap:1 urn:ietf:params:rtp-hdrext:csrc-audio-level.
a=zrtp-hash:1.10 
3207988a87952d0c24127cf24f6b5324b4f660fe485a3e9530edb1131a090a3c.
m=video 5020 RTP/AVP 100.
a=recvonly.
a=rtpmap:100 H264/90000.
a=fmtp:100 packetization-mode=1.
a=imageattr:100 send * recv [x=[0-1440],y=[0-900]].
a=zrtp-hash:1.10 
1889fdb192e4ca7f5cb6462956bd74a8f168fff0946b1cc4ff715f2de38605c3.


U 158.193.139.181:5060 -> 158.193.139.91:5060
SIP/2.0 100 Trying.
To: <sip:[email protected]>.
Via: SIP/2.0/UDP 158.193.139.91;branch=z9hG4bK92f6.71898f67.0,SIP/2.0/UDP 
158.193.139.217:5060;branch=z9hG4bK-383438-c39422e8739dec0b6d7e055b909ef623.
CSeq: 1 INVITE.
Call-ID: fb1c28f9834194e7ccd4b792b6073488@0:0:0:0:0:0:0:0.
From: "100" <sip:[email protected]>;tag=d468e7bf.
Content-Length: 0.
.


U 158.193.139.181:5060 -> 158.193.139.91:5060
SIP/2.0 180 Ringing.
To: <sip:[email protected]>;tag=3b9af043.
Via: SIP/2.0/UDP 158.193.139.91;branch=z9hG4bK92f6.71898f67.0,SIP/2.0/UDP 
158.193.139.217:5060;branch=z9hG4bK-383438-c39422e8739dec0b6d7e055b909ef623.
Record-Route: <sip:158.193.139.91;lr=on>.
CSeq: 1 INVITE.
Call-ID: fb1c28f9834194e7ccd4b792b6073488@0:0:0:0:0:0:0:0.
From: "100" <sip:[email protected]>;tag=d468e7bf.
Contact: "1000" 
<sip:[email protected]:5060;transport=udp;registering_acc=l_local>.
User-Agent: SIP Communicator1.0-beta1-nightly.build.3363Windows 7.
Content-Length: 0.
.


U 158.193.139.91:5060 -> 158.193.139.217:5060
SIP/2.0 180 Ringing.
To: <sip:[email protected]>;tag=3b9af043.
Via: SIP/2.0/UDP 
158.193.139.217:5060;branch=z9hG4bK-383438-c39422e8739dec0b6d7e055b909ef623.
Record-Route: <sip:158.193.139.91;lr=on>.
CSeq: 1 INVITE.
Call-ID: fb1c28f9834194e7ccd4b792b6073488@0:0:0:0:0:0:0:0.
From: "100" <sip:[email protected]>;tag=d468e7bf.
Contact: "1000" 
<sip:[email protected]:5060;transport=udp;registering_acc=l_local>.
User-Agent: SIP Communicator1.0-beta1-nightly.build.3363Windows 7.
Content-Length: 0.
.


U 158.193.139.181:5060 -> 158.193.139.91:5060
REGISTER sip:158.193.139.91 SIP/2.0.
Call-ID: d7cc27fc403dac708bd0af18a5195ab4@0:0:0:0:0:0:0:0.
CSeq: 2 REGISTER.
From: "1000" <sip:[email protected]>;tag=fa1db070.
To: "1000" <sip:[email protected]>.
Via: SIP/2.0/UDP 
158.193.139.181:5060;branch=z9hG4bK-363031-1bf82b9c14e47aefdba16d79c3a4a24f.
Max-Forwards: 70.
User-Agent: SIP Communicator1.0-beta1-nightly.build.3363Windows 7.
Expires: 600.
Contact: "1000" 
<sip:[email protected]:5060;transport=udp;registering_acc=l_local>;expires=600.
Content-Length: 0.
.


U 158.193.139.91:5060 -> 158.193.139.181:5060
SIP/2.0 200 OK.
Call-ID: d7cc27fc403dac708bd0af18a5195ab4@0:0:0:0:0:0:0:0.
CSeq: 2 REGISTER.
From: "1000" <sip:[email protected]>;tag=fa1db070.
To: "1000" <sip:[email protected]>;tag=b27e1a1d33761e85846fc98f5f3a7e58.3c2c.
Via: SIP/2.0/UDP 
158.193.139.181:5060;branch=z9hG4bK-363031-1bf82b9c14e47aefdba16d79c3a4a24f.
Contact: 
<sip:[email protected]:5060;transport=udp;registering_acc=l_local>;expires=600.
Server: kamailio (3.1.1 (i386/linux)).
Content-Length: 0.
.


U 158.193.139.181:5060 -> 158.193.139.91:5060
SIP/2.0 200 OK.
To: <sip:[email protected]>;tag=3b9af043.
Via: SIP/2.0/UDP 158.193.139.91;branch=z9hG4bK92f6.71898f67.0,SIP/2.0/UDP 
158.193.139.217:5060;branch=z9hG4bK-383438-c39422e8739dec0b6d7e055b909ef623.
Record-Route: <sip:158.193.139.91;lr=on>.
CSeq: 1 INVITE.
Call-ID: fb1c28f9834194e7ccd4b792b6073488@0:0:0:0:0:0:0:0.
From: "100" <sip:[email protected]>;tag=d468e7bf.
Contact: "1000" 
<sip:[email protected]:5060;transport=udp;registering_acc=l_local>.
User-Agent: SIP Communicator1.0-beta1-nightly.build.3363Windows 7.
Content-Type: application/sdp.
Content-Length: 765.
.
v=0.
o=1000 0 0 IN IP4 158.193.139.181.
s=-.
c=IN IP4 158.193.139.181.
t=0 0.
m=audio 5000 RTP/AVP 9 96 97 0 8 98 99 5 6 15 101.
a=rtpmap:9 G722/8000.
a=rtpmap:96 speex/32000.
a=rtpmap:97 speex/16000.
a=rtpmap:0 PCMU/8000.
a=rtpmap:8 PCMA/8000.
a=rtpmap:98 iLBC/8000.
a=rtpmap:99 speex/8000.
a=rtpmap:5 DVI4/8000.
a=rtpmap:6 DVI4/16000.
a=rtpmap:15 G728/8000.
a=rtpmap:101 telephone-event/8000.
a=extmap:1 urn:ietf:params:rtp-hdrext:csrc-audio-level.
a=zrtp-hash:1.10 
73334b030541c550b4674a678015a2169c851d46ce36716b74f05713e3006c4b.
m=video 5002 RTP/AVP 100.
a=inactive.
a=rtpmap:100 H264/90000.
a=fmtp:100 packetization-mode=1.
a=imageattr:100 send * recv [x=[0-1280],y=[0-800]].
a=zrtp-hash:1.10 
4dcd1464e922173395330d7e08fb99bbe66f75e2c0fdf18eb31c4ad8d64f063e.


U 158.193.139.91:5060 -> 158.193.139.217:5060
SIP/2.0 200 OK.
To: <sip:[email protected]>;tag=3b9af043.
Via: SIP/2.0/UDP 
158.193.139.217:5060;branch=z9hG4bK-383438-c39422e8739dec0b6d7e055b909ef623.
Record-Route: <sip:158.193.139.91;lr=on>.
CSeq: 1 INVITE.
Call-ID: fb1c28f9834194e7ccd4b792b6073488@0:0:0:0:0:0:0:0.
From: "100" <sip:[email protected]>;tag=d468e7bf.
Contact: "1000" 
<sip:[email protected]:5060;transport=udp;registering_acc=l_local>.
User-Agent: SIP Communicator1.0-beta1-nightly.build.3363Windows 7.
Content-Type: application/sdp.
Content-Length: 765.
.
v=0.
o=1000 0 0 IN IP4 158.193.139.181.
s=-.
c=IN IP4 158.193.139.181.
t=0 0.
m=audio 5000 RTP/AVP 9 96 97 0 8 98 99 5 6 15 101.
a=rtpmap:9 G722/8000.
a=rtpmap:96 speex/32000.
a=rtpmap:97 speex/16000.
a=rtpmap:0 PCMU/8000.
a=rtpmap:8 PCMA/8000.
a=rtpmap:98 iLBC/8000.
a=rtpmap:99 speex/8000.
a=rtpmap:5 DVI4/8000.
a=rtpmap:6 DVI4/16000.
a=rtpmap:15 G728/8000.
a=rtpmap:101 telephone-event/8000.
a=extmap:1 urn:ietf:params:rtp-hdrext:csrc-audio-level.
a=zrtp-hash:1.10 
73334b030541c550b4674a678015a2169c851d46ce36716b74f05713e3006c4b.
m=video 5002 RTP/AVP 100.
a=inactive.
a=rtpmap:100 H264/90000.
a=fmtp:100 packetization-mode=1.
a=imageattr:100 send * recv [x=[0-1280],y=[0-800]].
a=zrtp-hash:1.10 
4dcd1464e922173395330d7e08fb99bbe66f75e2c0fdf18eb31c4ad8d64f063e.


U 158.193.139.217:5060 -> 158.193.139.91:5060
ACK sip:[email protected]:5060;transport=udp;registering_acc=l_local SIP/2.0.
Call-ID: fb1c28f9834194e7ccd4b792b6073488@0:0:0:0:0:0:0:0.
CSeq: 1 ACK.
Via: SIP/2.0/UDP 
158.193.139.217:5060;branch=z9hG4bK-383438-21b6be498d4fa94e254a6f12e79a0e8c.
From: "100" <sip:[email protected]>;tag=d468e7bf.
To: "1000" <sip:[email protected]>;tag=3b9af043.
Max-Forwards: 70.
Route: <sip:158.193.139.91;lr=on>.
Contact: "100" 
<sip:[email protected]:5060;transport=udp;registering_acc=l_local>.
User-Agent: SIP Communicator1.0-alpha6-nightly.build.3273Windows 7.
Content-Length: 0.
.


U 158.193.139.91:5060 -> 158.193.139.181:5060
ACK sip:[email protected]:5060;transport=udp;registering_acc=l_local SIP/2.0.
Call-ID: fb1c28f9834194e7ccd4b792b6073488@0:0:0:0:0:0:0:0.
CSeq: 1 ACK.
Via: SIP/2.0/UDP 158.193.139.91;branch=0.
Via: SIP/2.0/UDP 
158.193.139.217:5060;branch=z9hG4bK-383438-21b6be498d4fa94e254a6f12e79a0e8c.
From: "100" <sip:[email protected]>;tag=d468e7bf.
To: "1000" <sip:[email protected]>;tag=3b9af043.
Max-Forwards: 69.
Contact: "100" 
<sip:[email protected]:5060;transport=udp;registering_acc=l_local>.
User-Agent: SIP Communicator1.0-alpha6-nightly.build.3273Windows 7.
Content-Length: 0.
.


U 158.193.139.217:5060 -> 158.193.139.91:5060
BYE sip:[email protected]:5060;transport=udp;registering_acc=l_local SIP/2.0.
CSeq: 2 BYE.
From: "100" <sip:[email protected]>;tag=d468e7bf.
To: "1000" <sip:[email protected]>;tag=3b9af043.
Call-ID: fb1c28f9834194e7ccd4b792b6073488@0:0:0:0:0:0:0:0.
Max-Forwards: 70.
Route: <sip:158.193.139.91;lr=on>.
Via: SIP/2.0/UDP 
158.193.139.217:5060;branch=z9hG4bK-383438-81bf9a3baacca84e8f83561d03fe433c.
Contact: "100" 
<sip:[email protected]:5060;transport=udp;registering_acc=l_local>.
User-Agent: SIP Communicator1.0-alpha6-nightly.build.3273Windows 7.
Content-Length: 0.
.


U 158.193.139.91:5060 -> 158.193.139.181:5060
BYE sip:[email protected]:5060;transport=udp;registering_acc=l_local SIP/2.0.
CSeq: 2 BYE.
From: "100" <sip:[email protected]>;tag=d468e7bf.
To: "1000" <sip:[email protected]>;tag=3b9af043.
Call-ID: fb1c28f9834194e7ccd4b792b6073488@0:0:0:0:0:0:0:0.
Max-Forwards: 69.
Via: SIP/2.0/UDP 158.193.139.91;branch=z9hG4bK62f6.8b044832.0.
Via: SIP/2.0/UDP 
158.193.139.217:5060;branch=z9hG4bK-383438-81bf9a3baacca84e8f83561d03fe433c.
Contact: "100" 
<sip:[email protected]:5060;transport=udp;registering_acc=l_local>.
User-Agent: SIP Communicator1.0-alpha6-nightly.build.3273Windows 7.
Content-Length: 0.
.


U 158.193.139.181:5060 -> 158.193.139.91:5060
SIP/2.0 200 OK.
To: "1000" <sip:[email protected]>;tag=3b9af043.
Via: SIP/2.0/UDP 158.193.139.91;branch=z9hG4bK62f6.8b044832.0,SIP/2.0/UDP 
158.193.139.217:5060;branch=z9hG4bK-383438-81bf9a3baacca84e8f83561d03fe433c.
CSeq: 2 BYE.
Call-ID: fb1c28f9834194e7ccd4b792b6073488@0:0:0:0:0:0:0:0.
From: "100" <sip:[email protected]>;tag=d468e7bf.
Contact: "1000" 
<sip:[email protected]:5060;transport=udp;registering_acc=l_local>.
User-Agent: SIP Communicator1.0-beta1-nightly.build.3363Windows 7.
Content-Length: 0.
.


U 158.193.139.91:5060 -> 158.193.139.217:5060
SIP/2.0 200 OK.
To: "1000" <sip:[email protected]>;tag=3b9af043.
Via: SIP/2.0/UDP 
158.193.139.217:5060;branch=z9hG4bK-383438-81bf9a3baacca84e8f83561d03fe433c.
CSeq: 2 BYE.
Call-ID: fb1c28f9834194e7ccd4b792b6073488@0:0:0:0:0:0:0:0.
From: "100" <sip:[email protected]>;tag=d468e7bf.
Contact: "1000" 
<sip:[email protected]:5060;transport=udp;registering_acc=l_local>.
User-Agent: SIP Communicator1.0-beta1-nightly.build.3363Windows 7.
Content-Length: 0.
.


U 158.193.139.217:5060 -> 158.193.139.91:5060
REGISTER sip:158.193.139.91 SIP/2.0.
Call-ID: af2ad4248e7327ac61adc0d84cd2ec7e@0:0:0:0:0:0:0:0.
CSeq: 57 REGISTER.
From: "100" <sip:[email protected]>;tag=4c666a9c.
To: "100" <sip:[email protected]>.
Via: SIP/2.0/UDP 
158.193.139.217:5060;branch=z9hG4bK-383438-7c4de127f626c36a226999a0d71968fb.
Max-Forwards: 70.
User-Agent: SIP Communicator1.0-alpha6-nightly.build.3273Windows 7.
Expires: 600.
Contact: "100" 
<sip:[email protected]:5060;transport=udp;registering_acc=l_local>;expires=600.
Content-Length: 0.
.


U 158.193.139.91:5060 -> 158.193.139.217:5060
SIP/2.0 200 OK.
Call-ID: af2ad4248e7327ac61adc0d84cd2ec7e@0:0:0:0:0:0:0:0.
CSeq: 57 REGISTER.
From: "100" <sip:[email protected]>;tag=4c666a9c.
To: "100" <sip:[email protected]>;tag=b27e1a1d33761e85846fc98f5f3a7e58.c80b.
Via: SIP/2.0/UDP 
158.193.139.217:5060;branch=z9hG4bK-383438-7c4de127f626c36a226999a0d71968fb.
Contact: 
<sip:[email protected]:5060;transport=udp;registering_acc=l_local>;expires=600.
Server: kamailio (3.1.1 (i386/linux)).
Content-Length: 0.
.

------------------------------------------------------------------------------
Enable your software for Intel(R) Active Management Technology to meet the
growing manageability and security demands of your customers. Businesses
are taking advantage of Intel(R) vPro (TM) technology - will your software 
be a part of the solution? Download the Intel(R) Manageability Checker 
today! http://p.sf.net/sfu/intel-dev2devmar
_______________________________________________
Sipp-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sipp-users

Reply via email to