Hi, Sorry for the unusual reply - I'm new to this mailing list and don't know how to reply to a mail in the archives.
I found the issue below from Dominique Hassel. (Maybe there are other posts - didn't find them yet ;-) ) I do have / found a similar problem when trying to send an audio and a video stream at the same time. The audio stream goes to the correct port, the video stream to the wrong port, because the last digit is truncated. The solution suggested by Dominique solves the problem, but I have the weird feeling, that the problem might actually be somewhere else. I believe this, because this exact function seems to be called on the audio m-line and the video m-line. The code looks reasonable, but why does it work on one m-line and not on the other? I did a wireshark-trace, but the m-lines look perfectly ok. The other party is XLite 3.0. I happily supply any info you need. Any ideas / suggestions / comments? Cheers, Martin > Hi, > > I found a bug when using sipp with uac_pcap scenario. Version 3.1 > > When sipp starts to send RTP-Traffic to my asterisk server, Wireshark > shows an ICMP-DESTINATION-UNREACHABLE message from my asterisk. > > sipp -sn uac_pcap -i 192.168.1.1 -mi 192.168.1.1 -l 20 -mp 5606 -s 500 > > extension 500 is musiconhold on asterisk > > I checked and found that the "Destination Port Number" for the > RTP-Traffic is wrong. In the SessionDescriptionProtocol asterisk says > it uses Port 11994 and sipp send its RTP-Traffic to Port 1199 => The > length of the port number is wrong. > > I changed in call.cpp the following line and it works. > > strncpy(number, begin, sizeof(number) -1 ); > to > strncpy(number, begin, sizeof(number)); > ... rest deleted ------------------------------------------------------------------------------ SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ _______________________________________________ Sipp-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/sipp-users
