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*
>
>
>
>
> ============================================================================================================================
>
>
> 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.htmlexternally 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/javaone
> _______________________________________________
> Sipp-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/sipp-users
>
>
>
-------------------------------------------------------------------------
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