Hi all,
I am trying to figure out what I am doing wrong in one of my scenarios.
This is the error I am getting:
****************************************
2017-11-19 19:38:46.924812 1511138326.924812: Aborting call on
unexpected message for Call-Id '44-1202@10.3.36.55': while expecting
'OPTIONS' (index 0), received 'TIONS sip:bio-server@10.3.36.98:5060 SIP/2.0
Via: SIP/2.0/TCP 10.3.36.55:5060;branch=z9hG4bK-1202-44-0
From: bio-client <sip:bio-client@10.3.36.55:5060>;tag=1202SIPpTag0044
To: bio-server <sip:bio-server@10.3.36.98:5060>
Call-ID: 44-1202@10.3.36.55
CSeq: 1 OPTIONS
Contact: sip:bio-client@10.3.36.55:5060
Max-Forwards: 70
Accept: application/sipbio
Content-Length: 0
********************************************
I can see that my OPTIONS is being sent apparently fine but it is like if a
malformed OPTIONS was being sent along with my ACK (I am not even sure what
I just wrote makes a lot of sense).
[image: Images intégrées 1]
It seems like two malformed packets are being resembled:
[image: Images intégrées 2]
This is my OPTIONS:
************************************************************
<send>
<![CDATA[
OPTIONS sip:[service]@[remote_ip]:[remote_port] SIP/2.0
Via: SIP/2.0/[transport] [local_ip]:[local_port];branch=[branch]
From: bio-client <sip:bio-client@
[local_ip]:[local_port]>;tag=[pid]SIPpTag00[call_number]
To: [service] <sip:[service]@[remote_ip]:[remote_port]>
Call-ID: [call_id]
CSeq: 1 OPTIONS
Contact: sip:bio-client@[local_ip]:[local_port]
Max-Forwards: 70
Accept: application/sipbio
Content-Length: [len]
]]>
</send>
******************************************************************
And my ACK:
******************************************************************
<send>
<![CDATA[
ACK sip:[service]@[remote_ip]:[remote_port] SIP/2.0
Via: SIP/2.0/[transport] [local_ip]:[local_port];branch=[branch]
From: bio-client <sip:bio-client@
[local_ip]:[local_port]>;tag=[pid]SIPBIOtag00[call_number]
To: [service]
<sip:[service]@[remote_ip]:[remote_port]>[peer_tag_param]
Call-ID: [call_id]
CSeq: 1 ACK
Contact: sip:bio-client@[local_ip]:[local_port]
Max-Forwards: 70
Subject: Biometric operation
Content-Length: [len]
<?xml version="1.0" encoding="UTF-8" ?>
<!-- XML content goes here -->
]]>
</send>
******************************************************************
Note that I decided to use TCP for my XML content is sometimes bigger than
1500 bytes.
I am calling my UAS as:
*sipp -i 10.3.36.98 -t t1 -s bio-server -sf bio-server.xml *
And my UAC as:
*sipp -i 10.3.36.55 -t t1 -s bio-server -sf bio-client.xml 10.3.36.98*
Any suggestion is welcome.
Thank you.
Best regards,
Wilmar.
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Sipp-users mailing list
Sipp-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sipp-users