yes i am trying to test the proxy capabilities. i was able to test
registrations successfully so i know the two can communicate. I included
the error logs. If you can offer any help or pointing me to a good
guide.
ok so heres what i did also. i installed sipp on my machine with kamailio and ran:
i run this on computer(with kamailio)1:
./sipp 192.168.0.50:5060 -sn uas -ap sipp
and this on the other computer:
./sipp -sn uac -d 10000 -s sipp 192.168.0.50 -r 24 -l 5 -trace_err
this is what error log shows:
2014-08-01 20:52:50:566 1406926370.566793: Discarding message which can't be mapped to a known SIPp call:
SIP/2.0 408 Request Timeout^M
Via: SIP/2.0/UDP 127.0.0.1:5060;branch=z9hG4bK-1415-12-0;received=192.168.0.20^M
From: sipp <sip:sipp@127.0.0.1:5060>;tag=1415SIPpTag0012^M
To: sipp <sip:sipp@192.168.0.50:5060>;tag=6eaf2c55efcfde42031e9fccce398121-eaf6^M
Call-ID: 12-1415@127.0.0.1^M
CSeq: 1 INVITE^M
Server: kamailio (4.0.4 (i386/linux))^M
Content-Length: 0^M
^M
.
2014-08-01 20:52:50:566 1406926370.566998: Discarding message which can't be mapped to a known SIPp call:
SIP/2.0 408 Request Timeout^M
Via: SIP/2.0/UDP 127.0.0.1:5060;branch=z9hG4bK-1415-11-0;received=192.168.0.20^M
From: sipp <sip:sipp@127.0.0.1:5060>;tag=1415SIPpTag0011^M
To: sipp <sip:sipp@192.168.0.50:5060>;tag=6eaf2c55efcfde42031e9fccce398121-ac08^M
Call-ID: 11-1415@127.0.0.1^M
CSeq: 1 INVITE^M
Server: kamailio (4.0.4 (i386/linux))^M
Content-Length: 0^M
^M
.
2014-08-01 20:52:50:629 1406926370.629272: Discarding message which can't be mapped to a known SIPp call:
SIP/2.0 408 Request Timeout^M
Via: SIP/2.0/UDP 127.0.0.1:5060;branch=z9hG4bK-1415-13-0;received=192.168.0.20^M
From: sipp <sip:sipp@127.0.0.1:5060>;tag=1415SIPpTag0013^M
To: sipp <sip:sipp@192.168.0.50:5060>;tag=6eaf2c55efcfde42031e9fccce398121-2753^M
and this
2014-08-01 20:54:31:919 1406926471.919993: Aborting call on unexpected message for Call-Id '1-1417@127.0.0.1':
Via: SIP/2.0/UDP 127.0.0.1:5060;branch=z9hG4bK-1417-1-0;received=192.168.0.20^M
From: sipp <sip:sipp@127.0.0.1:5060>;tag=1417SIPpTag001^M
To: sipp <sip:sipp@192.168.0.50:5060>;tag=6eaf2c55efcfde42031e9fccce398121-eacc^M
Call-ID: 1-1417@127.0.0.1^M
CSeq: 1 INVITE^M
Server: kamailio (4.0.4 (i386/linux))^M
Content-Length: 0^M
^M
'.
2014-08-01 20:54:31:920 1406926471.920243: Aborting call on unexpected message for Call-Id '2-1417@127.0.0.1':
Via: SIP/2.0/UDP 127.0.0.1:5060;branch=z9hG4bK-1417-2-0;received=192.168.0.20^M
From: sipp <sip:sipp@127.0.0.1:5060>;tag=1417SIPpTag002^M
To: sipp <sip:sipp@192.168.0.50:5060>;tag=6eaf2c55efcfde42031e9fccce398121-ac32^M
Call-ID: 2-1417@127.0.0.1^M
CSeq: 1 INVITE^M
Server: kamailio (4.0.4 (i386/linux))^M
Content-Length: 0^M
^M
'.
2014-08-01 20:54:31:982 1406926471.982521: Aborting call on unexpected message for Call-Id '3-1417@127.0.0.1':
Via: SIP/2.0/UDP 127.0.0.1:5060;branch=z9hG4bK-1417-3-0;received=192.168.0.20^M
From: sipp <sip:sipp@127.0.0.1:5060>;tag=1417SIPpTag003^M
To: sipp <sip:sipp@192.168.0.50:5060>;tag=6eaf2c55efcfde42031e9fccce398121-6197^M
Call-ID: 3-1417@127.0.0.1^M
CSeq: 1 INVITE^M
Server: kamailio (4.0.4 (i386/linux))^M
Date: Fri, 1 Aug 2014 08:35:16 +0200
From: miconda@gmail.com
To: sr-users@lists.sip-router.org
Subject: Re: [SR-Users] SIPp load testing
Hello,
if you run testing for proxying via kamailio, then you need:
[sipp as client/uac] <===> [kamailio> <===> [sipp as
server/uas]
If you test registrations, then kamailio is replying to them so you
need only the uac instance.
Cheers,
Daniel
On 30/07/14 20:13, bob sacamano wrote:
I am trying to follow the guide shown here:
I am a little unclear as to how many instances of sipp are
running. For the first part i see the command
./sipp
-sf uac_msg.xml -rsa 192.168.2.102:5060
192.168.2.102:5070 -m 200000 -r 10000 -d 1 -l 70
for generating the UAC part but is there another instance
of sipp running on the kamailio computer acting as a UAS? I
have seen come sites use for example: sipp
192.168.1.100:5060 -sn uas -p 5060 but is this not
necessary?
thanks for any help
_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
--
Daniel-Constantin Mierla - http://www.asipto.com
http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda
_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users