Hello Ashis ,
I have followed the same syntax, tested with SIP call flow(INVITE to
BYE) its working fine.
It worked with SIP Message Message with Content-Length: 0(No contents in
the message)
MESSAGE sip:10.5.11.177 SIP/2.0
Via: SIP/2.0/UDP
10.5.11.177:5061;branch=z9hG4bK-d87543-fa731c7ae34a3915-1--d87543-;rport
From: Joe <sip:[EMAIL PROTECTED]:5061>;tag=1f6f0e7e
To: bfs <sip:[EMAIL PROTECTED]:5060>
Call-ID: 9214001e9b2eed4aYWM5ZDQ4YjliYWI5ZjE2YzAzZTI4YmQwMmVhZDU0ZGQ.
CSeq: 1 MESSAGE
Contact: <sip:[EMAIL PROTECTED]:5061>
Content-Type: text/html
Expires: 1800
Content-Length: 0
But I want to pass the contents in the message, for that if I pass-
MESSAGE sip:10.5.11.177 SIP/2.0
Via: SIP/2.0/UDP
10.5.11.177:5061;branch=z9hG4bK-d87543-fa731c7ae34a3915-1--d87543-;rport
From: Joe <sip:[EMAIL PROTECTED]:5061>;tag=1f6f0e7e
To: bfs <sip:[EMAIL PROTECTED]:5060>
Call-ID: 9214001e9b2eed4aYWM5ZDQ4YjliYWI5ZjE2YzAzZTI4YmQwMmVhZDU0ZGQ.
CSeq: 1 MESSAGE
Contact: <sip:[EMAIL PROTECTED]:5061>
Content-Type: text/html
Expires: 1800
Content-Length: 4
help
Means content length is 4 for the content "help" ,its not treating as
the message content,
The server is getting the content as "Null"
(At the line String content=MsgReq.getContent().toString(); I am getting
Null)
So I am doubtful if any other format to pass the real , message content,
example is not in the documentation.
Have you tried it and it worked?
Well thanks once again!
Regards,
Amarja
________________________________
From: Ashis Jena [mailto:[EMAIL PROTECTED]
Sent: Thursday, May 08, 2008 3:01 PM
To: Biswal, Dillip (Dilip)
Cc: Amarja Borwankar; [email protected]
Subject: Re: [Sipp-users] Sending SIP Message Message
Hi
please find the following format to send the content length
INVITE sip:[EMAIL PROTECTED] SIP/2.0
Via: SIP/2.0/[transport]
[local_ip]:[local_port];branch=[branch];rport=[local_port]
From:"[field0]" <sip:[EMAIL PROTECTED]>;tag=[call_number]
To: <sip:[EMAIL PROTECTED]>
Contact: <sip:[EMAIL PROTECTED]:[local_port]>
Call-ID: [call_id]
CSeq: [cseq] INVITE
Max-Forwards: 70
User-Agent: VerazUE
Supported: replaces,timer
Session-Expires: 900
Min-SE: 90
P-Preferred-Identity: "[field0]" <sip:[EMAIL PROTECTED]>
Content-Type: application/sdp
Content-Length: [len]
hope this time it works for you!
On Thu, May 8, 2008 at 2:47 PM, Biswal, Dillip (Dilip)
<[EMAIL PROTECTED]> wrote:
Ashis's statement is correct.
Yes, you can use [len] function in content length parameter, SIPp will
be automatically sends the size of the method to the SUT (IUT).
Thanks,
Dilip
Dillip Kumar Biswal|CAD| Avaya India Pvt Ltd | Wing B, Level 4, Tower
XI, Cybercity, Magarpatta City| Pune 411013 ,India |
Voice +91 20 41018345|Ext: 8345|fax:+91 20 30412300|Email
:[EMAIL PROTECTED]
This message is for the designated recipient only and may contain
privileged, proprietary, or otherwise private information. If you have
received it in error, please notify the sender immediately and delete
the original. Any other use of the email by you is prohibited.
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Ashis
Jena
Sent: Thursday, May 08, 2008 1:12 PM
To: Amarja Borwankar
Cc: [email protected]
Subject: Re: [Sipp-users] Sending SIP Message Message
hey u can use the following format in sipp to send the content length
Content-Length: [len]
Regards
Ashis
On Wed, May 7, 2008 at 6:19 PM, Amarja Borwankar
<[EMAIL PROTECTED]> wrote:
Hello All,
I am using sipp-1.0,trying to send the SIP Message Message(IM) through
the xml but I am able to send the valid Message with the content-length
>0(say 4 for help),its allowing me to send with content-length:0.
How to send the Message with content?
The sipp scenario I am trying is as below-
<scenario name="message_client">
<send retrans="55500">
<![CDATA[
MESSAGE sip:10.5.11.177 SIP/2.0
Via: SIP/2.0/UDP
10.5.11.177:5061;branch=z9hG4bK-d87543-fa731c7ae34a3915-1--d87543-;rport
From: Joe <sip:[EMAIL PROTECTED]:5061>;tag=1f6f0e7e
To: bfs <sip:[EMAIL PROTECTED]:5060>
Call-ID:
9214001e9b2eed4aYWM5ZDQ4YjliYWI5ZjE2YzAzZTI4YmQwMmVhZDU0ZGQ.
CSeq: 1 MESSAGE
Contact: <sip:[EMAIL PROTECTED]:5061>
Content-Type: text/html
Content-Length:4
Expires: 1800
help
]]>
</send>
<recv response="200">
</recv>
Thanks and Regards,
Amarja Borwankar | CoE-NGN-VoIP | Tech Mahindra
Sharada Center, Off-Karve Road, Erandawane, Pune-411004.
* Office:66018100 | Extn:2852 | Cell: +919881138508
Email: [EMAIL PROTECTED]
www.techmahindra.com <http://www.techmahindra.com/>
========================================================================
====================================================
Disclaimer:
This message and the information contained herein is proprietary and
confidential and subject to the Tech Mahindra policy statement, you may
review the policy at http://www.techmahindra.com/Disclaimer.html
externally and http://tim.techmahindra.com/Disclaimer.html internally
within Tech Mahindra.
========================================================================
====================================================
------------------------------------------------------------------------
-
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
Don't miss this year's exciting event. There's still time to save $100.
Use priority code J8TL2D2.
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/j
avaone
_______________________________________________
Sipp-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sipp-users
============================================================================================================================
Disclaimer:
This message and the information contained herein is proprietary and
confidential and subject to the Tech Mahindra policy statement, you may review
the policy at <a
href="http://www.techmahindra.com/Disclaimer.html">http://www.techmahindra.com/Disclaimer.html</a>
externally and <a
href="http://tim.techmahindra.com/Disclaimer.html">http://tim.techmahindra.com/Disclaimer.html</a>
internally within Tech Mahindra.
============================================================================================================================-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
Don't miss this year's exciting event. There's still time to save $100.
Use priority code J8TL2D2.
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
Sipp-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sipp-users