- Package:
- sip-tester
- Source:
- sip-tester
- Description:
- Performance testing tool for the SIP protocol
- Submitter:
- Paul Wise
- Date:
- 2021-09-22 04:46:05 UTC
- Severity:
- wishlist
It would be nice if the uca_pcap scenario worked out of the box. To
allow this, the package should ship the pcap files in the package[1] and
add a patch to make sipp look in the right place for those files when
they are not available in the current directory.
1. At /usr/share/sipp/pcap/
Paul, Thanks for the report. I have having some issue, building with PCAP support :-( make OSNAME=`uname|sed -e "s/CYGWIN.*/CYGWIN/"` MODELNAME=`uname -m|sed "s/Power Macintosh/ppc/"` OBJ_PCAPPLAY="send_packets.o prepare_pcap.o" PCAPPLAY_LIBS="-lpcap" PCAPPLAY="-DPCAPPLAY" sipp make[2]: Entering directory `/home/mark/src/pkg-voip/build-area/sip-tester-3.1' gcc -g -O2 -g -Wall -O2 -I. -I/usr/include/openssl -c -o send_packets.o send_packets.c send_packets.c: In function ‘send_packets’: send_packets.c:176: error: ‘struct udphdr’ has no member named ‘uh_dport’ send_packets.c:178: error: ‘struct udphdr’ has no member named ‘uh_sport’ send_packets.c:179: error: ‘struct udphdr’ has no member named ‘uh_dport’ send_packets.c:182: error: ‘struct udphdr’ has no member named ‘uh_sport’ send_packets.c:185: error: ‘struct udphdr’ has no member named ‘uh_sport’ send_packets.c:192: error: ‘struct udphdr’ has no member named ‘uh_sum’ make[2]: *** [send_packets.o] Error 1 make[2]: Leaving directory `/home/mark/src/pkg-voip/build-area/sip-tester-3.1' make[1]: *** [pcapplay] Error 2 make[1]: Leaving directory `/home/mark/src/pkg-voip/build-area/sip-tester-3.1' make: *** [debian/stamp-makefile-build] Error 2 dpkg-buildpackage: error: debian/rules build gave error exit status 2 Mark
Hi, As I've been doing some SIP stuff recently I needed to use sip-tester wit the pcapplay feature, so had a look at the problem. In turns out that the CFLAGS are overridden, which means -D__LINUX is not passed, with all sorts of bad consequences, including this bug. The attached patch renames the internal CFLAGS and CPPFLAGS to MYCFLAGS and MYCXXFLAGS, and add CFLAGS and CXXFLAGS to the flags passed to the compilers. Please also note that, with this flag, -DHAVE_GSL is passed as well when compiling, which means that only the part of enable_gsl.patch that modify local.mk should be actually be useful. HTH, Regis
Hello, Good morning, We have gone through your samples from a partner and Here is our Order List. Please do bear in mind that we are very much in need of this order, quote your competitive prices. Kindly send the Order confirmation. Your early reply will be much appreciated. Best Regards, Maryanah Erwin. PT FINDORA INTERNUSA Jln Pahlawan 66 Kec. Arjawinangun 45162 CIREBON West-Java INDONESIA tel : +62 231 357334 fax: +62 231 357260 email: marketing@findora.com