Hi all,

Is there a patch available for this segmentation fault issue with Dmitry's dtmf 
patch applied?
I'm experiencing the same segmentation fault as described by Ingemar after the 
digits are sent


Thanks
Mike

From: Ingemar Nilsson [mailto:[email protected]]
Sent: 19 September 2011 18:26
To: Dmitry Kunilov
Cc: [email protected]
Subject: Re: [Sipp-users] Play PCAP file depending on values from injection file

Hi,

Using Valgrind, I found the bug causing the segmentation fault. I'll send a 
patch in a separate email that doesn't go to the entire list.

Now it works pretty well. There are still issues to work out, but I've not yet 
investigated whether they are issues with sipp or some other component of our 
system.

Regards
Ingemar


On 2011-09-19 11:42, Ingemar Nilsson wrote:

Hi,



Your patch looks wonderful, but the results so far are not completely to

my satisfaction. Today I fetched the latest sipp from svn, applied your

patch, and built it. There were a few complaints about conversion from

pointer to integer of a different size, but I ignored them for the time

being. When running it, the call was properly setup, but after a second

sipp terminated with a segmentation failt.



I figured the code wasn't prepared to run on 64-bit systems, so I added

the line



MFLAGS_x86_64=-m32



to the Makefile to build as a 32-bit binary, and now it built with no

warnings at all. Despite this, sipp terminated with a segmentation fault

in the same spot as it previously did. Since I wanted to determine how

far I actually got, I checked the logs on the receiving side. The call

was properly setup, and two DTMF digits were received before the call

terminated.



This is where I am right now. Since this would be a pretty useful

feature to us, I'm going to look into it further later today. If you

have any suggestions or ideas on how to fix this, you are more than

welcome to help.



Regards

Ingemar





On 2011-09-16 20:16, Dmitry Kunilov wrote:

This is possible with my DTMF patch. See

http://sourceforge.net/tracker/?func=detail&aid=3175395&group_id=104305&atid

=637566



-----Original Message-----

From: Ingemar Nilsson [mailto:[email protected]]

Sent: Friday, September 16, 2011 6:09 PM

To: [email protected]<mailto:[email protected]>

Subject: [Sipp-users] Play PCAP file depending on values from injection file



Hi,



I'm trying to send DTMF digits using RTP according to a CSV injection file,

but I don't understand how to get it right. First, I tried this:



<nop>

<action>

<exec play_pcap_audio="/usr/share/sipp/pcap/dtmf_2833_[field4].pcap"/>

</action>

</nop>



But SIPp claims it cannot find the file

"/usr/share/sipp/pcap/dtmf_2833_[field4].pcap", because it did not expand

[field4] from the injection file. I read some thread on sipp-users from 2007

that said that you should assign the value to a variable first, like this:



<nop>

<action>

<assignstr assign_to="2" value="[field4]" />  <exec

play_pcap_audio="/usr/share/sipp/pcap/dtmf_2833_$2.pcap"/>

</action>

</nop>



But that didn't work either, since $2 was not expanded to the value of

[field4] in pcap_play_audio.



Is there any way to do this? I have a working scenario that uses SIP INFO

and reads DTMF digits from an injection file, and I also have a working

scenario with a hard-coded pcap_play_audio sequence. But I would like the

pcap_play_audio sequence to be determined by the injection file, just like

in my SIP INFO scenario, and I cannot figure out how to do that.



I'm using SIPp 3.1.9 (from the EPEL repo) on CentOS 5.



Regards

Ingemar





----------------------------------------------------------------------------

--

BlackBerry&reg; DevCon Americas, Oct. 18-20, San Francisco, CA

http://p.sf.net/sfu/rim-devcon-copy2

_______________________________________________

Sipp-users mailing list

[email protected]<mailto:[email protected]>

https://lists.sourceforge.net/lists/listinfo/sipp-users





--
Confy AB
Ingemar Nilsson
Software Developer and Operations Manager

Mob: +46 73 524 02 33 | E-mail: 
[email protected]<mailto:[email protected]>
Office: Eriksbergsgatan 10, 116 20 Stockholm | Phone: +46 774 10 10 35 | Web: 
www.confy.se<http://www.confy.se/>
Confy support: +46 774 10 10 49 | E-mail: 
[email protected]<mailto:[email protected]>
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Sipp-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sipp-users

Reply via email to