Dear Experts, I am trying to test my SIP equipment with SIPp 3.2 on RedHat 5, but if 3PCC scenario and variable is used, SDP in INVITE is followed by double CR LF which causes following error response to the INVITE.
SIP/2.0 400 Bad request : invalid content-length header
This double CR LF problem can be easily reproduced by following SIPp commands
executed
in the order listed on 4 terminals.
On terminal No. 1
# sipp -sn 3pcc-A -p 5061
On terminal No. 2
# sipp -sn 3pcc-B -p 5063
On terminal No. 3
# sipp -sn 3pcc-C-B -3pcc localhost:5070 localhost:5063
On terminal No. 4
# sipp -sn 3pcc-C-A -3pcc localhost:5070 localhost:5061 -m 1
Following is the 3PCC call flow diagram of this test.
A Controller A Controller B B
|(1) INVITE no SDP | | |
|<------------------| | |
|(2) 200 offer1 | | |
|------------------>| | |
| sendCmd (offer1) | |
| |----------------->| |
| | recvCmd |
| | |(3) INVITE offer1 |
| | |------------------>|
| | |(4) 200 OK answer1 |
| | |<------------------|
| | sendCmd |
| | (answer1) | |
| |<-----------------| |
| recvCmd |(5) ACK |
| | |------------------>|
|(6) ACK answer1 | | |
|<------------------| | |
|(7) RTP | | |
|..........................................................|
The attached "3pcc-INVITE-has-2crlf.cap" is the Wireshark capture file.
At SIP messages of the frame No. 8 and 13, you will see double CR LF follows
after the SDP. I think SDP must be followed by only one set of CR LF, and
the second set of CR LF should not be present.
This standard 3PCC scenario passes SDP using <sendCmd> and <recvCmd>,
then SDP is contained in the SIPp variable. If INVITE or ACK message is
constructed with the SIPp variable for SDP, SIPp sends this double CR LF after
the SDP.
Does anybody can help me to work around this problem ?
Best Regards
Hideyuki Hasegawa
3pcc-INVITE-has-2crlf.cap
Description: 3pcc-INVITE-has-2crlf.cap
------------------------------------------------------------------------------ Gaining the trust of online customers is vital for the success of any company that requires sensitive data to be transmitted over the Web. Learn how to best implement a security strategy that keeps consumers' information secure and instills the confidence they need to proceed with transactions. http://p.sf.net/sfu/oracle-sfdevnl
_______________________________________________ Sipp-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/sipp-users
