I used the g711a.pcap file to send rtp on centos and it worked for me. If you capture outgoing packages(tcpdump or similar), can you see any outgoing rtp from the host running sipp? (if you are using asterisk, you can also use rtp debug in asterisk CLI to see if any rtp is sent) You can also look at the error file generated by sipp(you can find it in the current directory after running sipp).
2009/4/16 安静波 <[email protected]>: > Hi all, > > I am a newer in using "sip" to test soft-pbx Asterisk, when I install > "sip" at Windows XP platform it works well and i can hear the tone played by > the pcapplay feature. But there is an issue when sipp is install at Linux, > nothing played as I use the same xml file the same csv file and the > same command option. Neither g711a.pcap nor DTMF '1' can be heared. > > > > Here is my environment: > > 1. CentOS linux > > 2. libnet, libpcap, libpcap-devel installed > > 3. "make pcapplay" to build sip > > 4. Part of xml file: The same xml file workes well in windows. > > <!-- Play a pre-recorded PCAP file (RTP stream) --> > > <nop> > > <action> > > <exec play_pcap_audio="pcap/g711a.pcap"/> > > </action> > > </nop> > > > > <!-- Pause 8 seconds, which is approximately the duration of the --> > > <!-- PCAP file --> > > <pause milliseconds="8000"/> > > > > <!-- Play an out of band DTMF '1' --> > > > > <nop> > > <action> > > <exec play_pcap_audio="pcap/dtmf_2833_1.pcap"/> > > </action> > > </nop> > > > > <pause milliseconds="3000"/> > > 5. command: > > sipp -sf sn.xml -inf cn.csv -p 5061 -i 10.10.10.144 -m 1 -l 300 -r 1 > 10.10.10.57:5060 -trace_screen -trace_err > > > > Any ideas? Many thanks. > > > > > > Best Regards, > > Aaron An > > > > ________________________________ > 把MSN装进手机,更多聊天乐趣等你挖掘! 立刻下载! > ------------------------------------------------------------------------------ > Stay on top of everything new and different, both inside and > around Java (TM) technology - register by April 22, and save > $200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco. > 300 plus technical and hands-on sessions. Register today. > Use priority code J9JMT32. http://p.sf.net/sfu/p > _______________________________________________ > Sipp-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/sipp-users > > ------------------------------------------------------------------------------ Stay on top of everything new and different, both inside and around Java (TM) technology - register by April 22, and save $200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco. 300 plus technical and hands-on sessions. Register today. Use priority code J9JMT32. http://p.sf.net/sfu/p _______________________________________________ Sipp-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/sipp-users
