Hello Anuj, Thank you.
I got some warnings and errors during compilation:
pipin:/home/sceuser1/SIPp/trunk> make
make OSNAME=`uname|sed -e "s/CYGWIN.*/CYGWIN/"` MODELNAME=`uname -m|sed
"s/Power Macintosh/ppc/"` sipp
aCC -D__HPUX -DPROTOTYPES +W829 -DSVN_VERSION="\"\"" +DAportable
-I. -I/usr/local/include -I/opt/openssl/include -c -o xp_parser.o xp_parser.c
aCC -AA -mt -D__HPUX -D_INCLUDE_LONGLONG -DNOMACROS +W829
-DSVN_VERSION="\"\"" +DAportable -I. -I/usr/local/include
-I/opt/openssl/include -c -o
message.o message.cpp
Warning 921: "message.hpp", line 48 # A trailing comma is not allowed in an
enumeration.
E_Message_Literal,
^^^^^^^^^^^^^^^^^^
Warning 921: "stat.hpp", line 129 # A trailing comma is not allowed in an
enumeration.
CPT_C_IncomingCallCreated,
^^^^^^^^^^^^^^^^^^^^^^^^^^
Warning 921: "call.hpp", line 97 # A trailing comma is not allowed in an
enumeration.
E_AM_DEFAULT,
^^^^^^^^^^^^^
aCC -AA -mt -D__HPUX -D_INCLUDE_LONGLONG -DNOMACROS +W829
-DSVN_VERSION="\"\"" +DAportable -I. -I/usr/local/include
-I/opt/openssl/include -c -o
scenario.o scenario.cpp
Warning 921: "message.hpp", line 48 # A trailing comma is not allowed in an
enumeration.
E_Message_Literal,
^^^^^^^^^^^^^^^^^^
Warning 921: "stat.hpp", line 129 # A trailing comma is not allowed in an
enumeration.
CPT_C_IncomingCallCreated,
^^^^^^^^^^^^^^^^^^^^^^^^^^
Warning 921: "call.hpp", line 97 # A trailing comma is not allowed in an
enumeration.
E_AM_DEFAULT,
^^^^^^^^^^^^^
Error 403: "scenario.cpp", line 173 # Undeclared variable 'strtoull'. Perhaps
'strtoul' as in "unsigned long strtoul(const char *,char **,int)"
["/usr/include/stdlib.h", line 112] was intended.
ret = strtoull(ptr, &endptr, 0);
^^^^^^^^
*** Error exit code 2
Stop.
*** Error exit code 1
Stop.
pipin:/home/sceuser1/SIPp/trunk>
Do you have any idea ?
Thank you.
Regards.
David.
________________________________
From: Srivastava, Anuj Kumar
Sent: Wednesday, June 24, 2009 10:20 AM
To: Peyrton, David; [email protected]
Subject: RE: SIPp: binary body part
Hello David,
You can get the latest sipp trunk's source at
http://sipp.svn.sourceforge.net/viewvc/sipp/sipp/trunk.tar.gz?view=tar
Inside the trunk dir, just type make to compile sipp and produce an executable
file ,"sipp", in the same dir.
Let me know if you face any problem.
Regards
Anuj
________________________________
From: Peyrton, David
Sent: Wednesday, June 24, 2009 1:18 PM
To: Srivastava, Anuj Kumar; [email protected]
Subject: RE: SIPp: binary body part
Hello Anuj,
Could you please send me a link for the download ?
Thank you.
Regards.
David.
________________________________
From: Srivastava, Anuj Kumar
Sent: Wednesday, June 24, 2009 6:42 AM
To: Peyrton, David; [email protected]
Subject: RE: SIPp: binary body part
Hi David,
Support for binary messages had been added in sipp by a patch on revision 536.
If you can take that version from the svn or the latest version, that will be
helpful.
Thanks,
Regards,
Anuj
________________________________
From: Peyrton, David
Sent: Tuesday, June 23, 2009 8:16 PM
To: [email protected]
Subject: [Sipp-users] SIPp: binary body part
Hello SIPp team,
I'm using SIPp 3.1.
I would like to set a binary part into the body. I'm using the following syntax
into my script:
<send retrans="500">
<![CDATA[
INVITE sip:respons...@[remote_ip]:[remote_port] SIP/2.0
Via: SIP/2.0/[transport] [local_ip]:[local_port];branch=[branch]
From: sipp <sip:s...@[local_ip]:[local_port];cpc=333>;tag=[call_number]
To: sut <sip:[servi...@[remote_ip]:[remote_port]>
Call-ID: [call_id]
CSeq: 1 INVITE
Contact: sip:s...@[local_ip]:[local_port]
Max-Forwards: 70
Subject: Performance Test
Content-Length: [len]
Content-Type: multipart/mixed;boundary=ssboundary
--ssboundary
Content-Length: 139
Content-Type: application/sdp
v=0
o=user1 53655765 2353687637 IN IP[local_ip_type] [local_ip]
s=-
c=IN IP[media_ip_type] [media_ip]
t=0 0
m=audio [media_port] RTP/AVP 0
a=rtpmap:0 PCMU/8000
--ssboundary
Content-Length: 28
Content-Type: application/isup;version=itu-t92+
\x01\x00\x48\x00\x0a\x03\x02\x08\x06\x83\x90\x81\x99\x99\x03\x08\x01\x00\x0a\x07\x03\x13\x12\x52\x00\x27\x47\x00
--ssboundary--
]]>
</send>
The problem is that it stops after the first \x00. So the remaining data are
missing (including the \x00).
Attached are the full script and the logs.
Could you help on that ?
Thank you in advance.
Best regards.
David.
David PEYRTON<mailto:[email protected]>
CMS EMEA Delivery<http://h20208.www2.hp.com/opencall/contact/index.jsp>
Communication and Media Solutions Business
Unit<http://h20208.www2.hp.com/opencall/index.jsp?jumpid=reg_R1002_USEN>
HewlettPackard<http://www.hp.com/>
[cid:559113713@24062009-2060]
Telnet: 614 60 80
Tel.: +33 4 76 14 60 80
Mob: +33 6 72 99 17 43
Loc.: B3,N2,H1
------------------------------------------
When the brothers work together, the mountains change into gold.
Chinese proverb.
-------------------------------------------
It is the essential role of the professor to waken the joy of work and to know.
Albert Einstein.
-------------------------------------------
Qui rit le dernier pense le moins vite !
<<inline: image001.jpg>>
------------------------------------------------------------------------------
_______________________________________________ Sipp-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/sipp-users
