Thanks for your help!
I found another way to write my logs with:
<action>
<lof message="my message :)"/>
</action>
And it's fine for my application.
Cheers
On Thu, Nov 26, 2009 at 10:26 AM, mayamatakeshi <[email protected]>wrote:
>
> On Thu, Nov 26, 2009 at 5:36 PM, Vanesa Tejada <[email protected]> wrote:
>
>> 1) I tried with another folder wich enoug permissions but It doesn't work
>> 2) I created the file where I want to write my info, in different places,
>> with enough permissions and It doesn't work.
>>
>>
>> I'm running SIpp 3.1 on SuSe Linux ES.
>>
>> Please, has anybody a simple scenario which is working with "exec
>> command="?
>
>
> I was never able to print the last_From via exec command (but I don't get
> the segfault either)
>
> However, I use this workaround and it works for me on Fedora Core 5:
>
> <recv request="INVITE" crlf="true">
> <action>
> <ereg regexp=".*" search_in="hdr" header="From" assign_to="value"
> />
> <exec command="echo '[$value]' >> from_list.log"/>
> </action>
> </recv>
>
> I use svn rev. 590.
>
> regards,
> takeshi
>
>
>> On Thu, Nov 26, 2009 at 7:52 AM, Evgeny Miloslavsky <
>> [email protected]> wrote:
>>
>>>
>>>
>>> 1) Try to put it in another folder. For example /var/tmp. Maybe
>>> you don’t have enough space or permissions…
>>>
>>> Except of this no idea J
>>>
>>>
>>>
>>> Regards,**
>>>
>>> *Evgeny Miloslavsky*
>>>
>>> *Systest Engineer*
>>>
>>> *Juniper Networks Solutions Israel LTD.*
>>>
>>> *Office: 972-9-9712355*
>>>
>>> *Office: 972-74-7170072***
>>> ------------------------------
>>>
>>> *From:* Vanesa Tejada [mailto:[email protected]]
>>> *Sent:* Wednesday, November 25, 2009 9:01 PM
>>> *To:* SipP List
>>> *Subject:* [Sipp-users] [SIPp-users] exec command doesn't work
>>>
>>>
>>>
>>> Hi,
>>>
>>>
>>> I have been testing this action:
>>>
>>> <recv request="INVITE">
>>>
>>> <action>
>>>
>>> <exec command="echo [last_From] is the from header received >>
>>> from_list.log"/>
>>>
>>> </action>
>>>
>>> </recv>
>>>
>>> And the result was Segmentation Fault.
>>>
>>> Can anoy body help me, please?
>>>
>>>
>>>
>>>
>>> Regards
>>>
>>>
>>>
>>> --
>>> Vanessa Tejada
>>>
>>>
>>
>>
>> --
>> Vanessa Tejada
>>
>>
>>
>>
>> ------------------------------------------------------------------------------
>> Let Crystal Reports handle the reporting - Free Crystal Reports 2008
>> 30-Day
>> trial. Simplify your report design, integration and deployment - and focus
>> on
>> what you do best, core application coding. Discover what's new with
>> Crystal Reports now. http://p.sf.net/sfu/bobj-july
>> _______________________________________________
>> Sipp-users mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/sipp-users
>>
>>
>
--
Vanessa Tejada
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now. http://p.sf.net/sfu/bobj-july
_______________________________________________
Sipp-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sipp-users