Re: [Astlinux-users] system writing files on tmp directory

2009-05-03 Thread John Novack
I tested the script on a 0.6.5 system with geni586 0n 4/30 and it works 
as advertised.

How does this differ from that series of postings?

John Novack


Noël Nachtegael wrote:
It's difficult for me to believe that this is an asterisk 1.4.24.1 
problem.
I didn't found any reference to such cases in any change logs or 
asterisk main forums.
I can't belive that I'm the only one creating callfiles with the 
'classical' system(echo) commands?
Is there another user creating callfiles in a dialplan on a 4801 
system with a version > 0.6.2 ?



Tom Lynn wrote:
Have you posed your question on the asterisk users mail list?  Have 
you checked the change logs from your old version of asterisk up to 
current?  Somewhere there is documentation that explains the changes 
that took place.  You just have to track it down.


2009/5/2 Noël Nachtegael >


thank you for this answer.
If this is the situation, what can I do execpt staying with the
0.6.2 version of astlinux?
Am I alone in this case? Is nobody else using the system echo
function to create callback files?

noël



Darrick Hartman wrote:

Noël Nachtegael wrote:
  

thank you for the answers.

I tried
...
exten => ,n,Hangup()
exten => h,1,NoOp(appel entrant ${CALLERID(num)} vers canal h)
;ajouter le 00 dans le numéro de l'appelant
exten => h,n,Set(CALLERID(num) = 00${CALLERID(num)})
exten => h,n,System(echo channel: SIP/mycontext-out/${CALLERID(num)} > 
/tmp/${CALLERID(num)})

...

and it's not working for versions 0.6.3, 0.6.4 and 0.6.5)
In fact, the system hangs-up on the first system echo some text > 
/temp/file command (whatever the text)


Michael, can your provide me your trunk-2632 working 4801-image?


Noël

It's not going to make a difference.  What you're seeing is due to a 
change in Asterisk itself.  You'll find that if you put that same 
dialplan on any version of asterisk 1.4.24.1 that you'll have the same 
result.  Astlinux 0.6.2 was using an older version of Asterisk (1.4.23.1).


This is an Asterisk problem, not an Astlinux problem.

Also, your original post on this question was confusing.  Your system 
was not 'hanging', it was 'hanging up the call' (ending the call before 
completing your logic).


When asking this question on a general Asterisk mailing list, the 
important part is that you're running Asterisk 1.4.24.1


Darrick


--
Register Now & Save for Velocity, the Web Performance & Operations 
Conference from O'Reilly Media. Velocity features a full day of 
expert-led, hands-on workshops and two days of sessions from industry 
leaders in dedicated Performance & Operations tracks. Use code vel09scf 
and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf

___
Astlinux-users mailing list
Astlinux-users@lists.sourceforge.net 

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

Donations to support AstLinux are graciously accepted via PayPal to 
pay...@krisk.org .

  



--
Register Now & Save for Velocity, the Web Performance & Operations
Conference from O'Reilly Media. Velocity features a full day of
expert-led, hands-on workshops and two days of sessions from industry
leaders in dedicated Performance & Operations tracks. Use code
vel09scf
and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf
___
Astlinux-users mailing list
Astlinux-users@lists.sourceforge.net

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

Donations to support AstLinux are graciously accepted via PayPal
to pay...@krisk.org .




--
Register Now & Save for Velocity, the Web Performance & Operations 
Conference from O'Reilly Media. Velocity features a full day of 
expert-led, hands-on workshops and two days of sessions from industry 
leaders in dedicated Performance & Operations tracks. Use code vel09scf 
and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf



___
Astlinux-users mailing list
Astlinux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/astlinux-users

Donations to support AstLinux are graciously accepted via PayPal to 
pay...@krisk.org.


Re: [Astlinux-users] system writing files on tmp directory

2009-05-03 Thread Noël Nachtegael
It's difficult for me to believe that this is an asterisk 1.4.24.1 problem.
I didn't found any reference to such cases in any change logs or
asterisk main forums.
I can't belive that I'm the only one creating callfiles with the
'classical' system(echo) commands?
Is there another user creating callfiles in a dialplan on a 4801 system
with a version > 0.6.2 ?


Tom Lynn wrote:
> Have you posed your question on the asterisk users mail list?  Have
> you checked the change logs from your old version of asterisk up to
> current?  Somewhere there is documentation that explains the changes
> that took place.  You just have to track it down.
>
> 2009/5/2 Noël Nachtegael  >
>
> thank you for this answer.
> If this is the situation, what can I do execpt staying with the
> 0.6.2 version of astlinux?
> Am I alone in this case? Is nobody else using the system echo
> function to create callback files?
>
> noël
>
>
>
> Darrick Hartman wrote:
>> Noël Nachtegael wrote:
>>   
>>> thank you for the answers.
>>>
>>> I tried
>>> ...
>>> exten => ,n,Hangup()
>>> exten => h,1,NoOp(appel entrant ${CALLERID(num)} vers canal h)
>>> ;ajouter le 00 dans le numéro de l'appelant
>>> exten => h,n,Set(CALLERID(num) = 00${CALLERID(num)})
>>> exten => h,n,System(echo channel: SIP/mycontext-out/${CALLERID(num)} > 
>>> /tmp/${CALLERID(num)})
>>> ...
>>>
>>> and it's not working for versions 0.6.3, 0.6.4 and 0.6.5)
>>> In fact, the system hangs-up on the first system echo some text > 
>>> /temp/file command (whatever the text)
>>>
>>> Michael, can your provide me your trunk-2632 working 4801-image?
>>> 
>> Noël
>>
>> It's not going to make a difference.  What you're seeing is due to a 
>> change in Asterisk itself.  You'll find that if you put that same 
>> dialplan on any version of asterisk 1.4.24.1 that you'll have the same 
>> result.  Astlinux 0.6.2 was using an older version of Asterisk 
>> (1.4.23.1).
>>
>> This is an Asterisk problem, not an Astlinux problem.
>>
>> Also, your original post on this question was confusing.  Your system 
>> was not 'hanging', it was 'hanging up the call' (ending the call before 
>> completing your logic).
>>
>> When asking this question on a general Asterisk mailing list, the 
>> important part is that you're running Asterisk 1.4.24.1
>>
>> Darrick
>>
>> 
>> --
>> Register Now & Save for Velocity, the Web Performance & Operations 
>> Conference from O'Reilly Media. Velocity features a full day of 
>> expert-led, hands-on workshops and two days of sessions from industry 
>> leaders in dedicated Performance & Operations tracks. Use code vel09scf 
>> and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf
>> ___
>> Astlinux-users mailing list
>> Astlinux-users@lists.sourceforge.net 
>> 
>> https://lists.sourceforge.net/lists/listinfo/astlinux-users
>>
>> Donations to support AstLinux are graciously accepted via PayPal to 
>> pay...@krisk.org .
>>
>>   
>
> 
> --
> Register Now & Save for Velocity, the Web Performance & Operations
> Conference from O'Reilly Media. Velocity features a full day of
> expert-led, hands-on workshops and two days of sessions from industry
> leaders in dedicated Performance & Operations tracks. Use code
> vel09scf
> and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf
> ___
> Astlinux-users mailing list
> Astlinux-users@lists.sourceforge.net
> 
> https://lists.sourceforge.net/lists/listinfo/astlinux-users
>
> Donations to support AstLinux are graciously accepted via PayPal
> to pay...@krisk.org .
>
>
> 
>
> --
> Register Now & Save for Velocity, the Web Performance & Operations 
> Conference from O'Reilly Media. Velocity features a full day of 
> expert-led, hands-on workshops and two days of sessions from industry 
> leaders in dedicated Performance & Operations tracks. Use code vel09scf 
> and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf
> 
>
> ___
> Astlinux-users mailing list
> Astlinux-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/astlinux-users
>
> Donations to support AstLinux are graciously 

Re: [Astlinux-users] system writing files on tmp directory

2009-05-02 Thread Tom Lynn
Have you posed your question on the asterisk users mail list?  Have you
checked the change logs from your old version of asterisk up to current?
Somewhere there is documentation that explains the changes that took place.
You just have to track it down.

2009/5/2 Noël Nachtegael 

>  thank you for this answer.
> If this is the situation, what can I do execpt staying with the 0.6.2
> version of astlinux?
> Am I alone in this case? Is nobody else using the system echo function to
> create callback files?
>
> noël
>
>
>
> Darrick Hartman wrote:
>
> Noël Nachtegael wrote:
>
>
>  thank you for the answers.
>
> I tried
> ...
> exten => ,n,Hangup()
> exten => h,1,NoOp(appel entrant ${CALLERID(num)} vers canal h)
> ;ajouter le 00 dans le numéro de l'appelant
> exten => h,n,Set(CALLERID(num) = 00${CALLERID(num)})
> exten => h,n,System(echo channel: SIP/mycontext-out/${CALLERID(num)} >
> /tmp/${CALLERID(num)})
> ...
>
> and it's not working for versions 0.6.3, 0.6.4 and 0.6.5)
> In fact, the system hangs-up on the first system echo some text >
> /temp/file command (whatever the text)
>
> Michael, can your provide me your trunk-2632 working 4801-image?
>
>
>  Noël
>
> It's not going to make a difference.  What you're seeing is due to a
> change in Asterisk itself.  You'll find that if you put that same
> dialplan on any version of asterisk 1.4.24.1 that you'll have the same
> result.  Astlinux 0.6.2 was using an older version of Asterisk (1.4.23.1).
>
> This is an Asterisk problem, not an Astlinux problem.
>
> Also, your original post on this question was confusing.  Your system
> was not 'hanging', it was 'hanging up the call' (ending the call before
> completing your logic).
>
> When asking this question on a general Asterisk mailing list, the
> important part is that you're running Asterisk 1.4.24.1
>
> Darrick
>
> --
> Register Now & Save for Velocity, the Web Performance & Operations
> Conference from O'Reilly Media. Velocity features a full day of
> expert-led, hands-on workshops and two days of sessions from industry
> leaders in dedicated Performance & Operations tracks. Use code vel09scf
> and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf
> ___
> Astlinux-users mailing 
> listastlinux-us...@lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/astlinux-users
>
> Donations to support AstLinux are graciously accepted via PayPal to 
> pay...@krisk.org.
>
>
>
>
>
> --
> Register Now & Save for Velocity, the Web Performance & Operations
> Conference from O'Reilly Media. Velocity features a full day of
> expert-led, hands-on workshops and two days of sessions from industry
> leaders in dedicated Performance & Operations tracks. Use code vel09scf
> and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf
> ___
> Astlinux-users mailing list
> Astlinux-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/astlinux-users
>
> Donations to support AstLinux are graciously accepted via PayPal to
> pay...@krisk.org.
>
--
Register Now & Save for Velocity, the Web Performance & Operations 
Conference from O'Reilly Media. Velocity features a full day of 
expert-led, hands-on workshops and two days of sessions from industry 
leaders in dedicated Performance & Operations tracks. Use code vel09scf 
and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf___
Astlinux-users mailing list
Astlinux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/astlinux-users

Donations to support AstLinux are graciously accepted via PayPal to 
pay...@krisk.org.

Re: [Astlinux-users] system writing files on tmp directory

2009-05-02 Thread Noël Nachtegael
thank you for this answer.
If this is the situation, what can I do execpt staying with the 0.6.2
version of astlinux?
Am I alone in this case? Is nobody else using the system echo function
to create callback files?

noël


Darrick Hartman wrote:
> Noël Nachtegael wrote:
>   
>> thank you for the answers.
>>
>> I tried
>> ...
>> exten => ,n,Hangup()
>> exten => h,1,NoOp(appel entrant ${CALLERID(num)} vers canal h)
>> ;ajouter le 00 dans le numéro de l'appelant
>> exten => h,n,Set(CALLERID(num) = 00${CALLERID(num)})
>> exten => h,n,System(echo channel: SIP/mycontext-out/${CALLERID(num)} > 
>> /tmp/${CALLERID(num)})
>> ...
>>
>> and it's not working for versions 0.6.3, 0.6.4 and 0.6.5)
>> In fact, the system hangs-up on the first system echo some text > 
>> /temp/file command (whatever the text)
>>
>> Michael, can your provide me your trunk-2632 working 4801-image?
>> 
>
> Noël
>
> It's not going to make a difference.  What you're seeing is due to a 
> change in Asterisk itself.  You'll find that if you put that same 
> dialplan on any version of asterisk 1.4.24.1 that you'll have the same 
> result.  Astlinux 0.6.2 was using an older version of Asterisk (1.4.23.1).
>
> This is an Asterisk problem, not an Astlinux problem.
>
> Also, your original post on this question was confusing.  Your system 
> was not 'hanging', it was 'hanging up the call' (ending the call before 
> completing your logic).
>
> When asking this question on a general Asterisk mailing list, the 
> important part is that you're running Asterisk 1.4.24.1
>
> Darrick
>
> --
> Register Now & Save for Velocity, the Web Performance & Operations 
> Conference from O'Reilly Media. Velocity features a full day of 
> expert-led, hands-on workshops and two days of sessions from industry 
> leaders in dedicated Performance & Operations tracks. Use code vel09scf 
> and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf
> ___
> Astlinux-users mailing list
> Astlinux-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/astlinux-users
>
> Donations to support AstLinux are graciously accepted via PayPal to 
> pay...@krisk.org.
>
>   
--
Register Now & Save for Velocity, the Web Performance & Operations 
Conference from O'Reilly Media. Velocity features a full day of 
expert-led, hands-on workshops and two days of sessions from industry 
leaders in dedicated Performance & Operations tracks. Use code vel09scf 
and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf___
Astlinux-users mailing list
Astlinux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/astlinux-users

Donations to support AstLinux are graciously accepted via PayPal to 
pay...@krisk.org.

Re: [Astlinux-users] system writing files on tmp directory

2009-05-02 Thread Darrick Hartman
Noël Nachtegael wrote:
> thank you for the answers.
> 
> I tried
> ...
> exten => ,n,Hangup()
> exten => h,1,NoOp(appel entrant ${CALLERID(num)} vers canal h)
> ;ajouter le 00 dans le numéro de l'appelant
> exten => h,n,Set(CALLERID(num) = 00${CALLERID(num)})
> exten => h,n,System(echo channel: SIP/mycontext-out/${CALLERID(num)} > 
> /tmp/${CALLERID(num)})
> ...
> 
> and it's not working for versions 0.6.3, 0.6.4 and 0.6.5)
> In fact, the system hangs-up on the first system echo some text > 
> /temp/file command (whatever the text)
> 
> Michael, can your provide me your trunk-2632 working 4801-image?

Noël

It's not going to make a difference.  What you're seeing is due to a 
change in Asterisk itself.  You'll find that if you put that same 
dialplan on any version of asterisk 1.4.24.1 that you'll have the same 
result.  Astlinux 0.6.2 was using an older version of Asterisk (1.4.23.1).

This is an Asterisk problem, not an Astlinux problem.

Also, your original post on this question was confusing.  Your system 
was not 'hanging', it was 'hanging up the call' (ending the call before 
completing your logic).

When asking this question on a general Asterisk mailing list, the 
important part is that you're running Asterisk 1.4.24.1

Darrick

--
Register Now & Save for Velocity, the Web Performance & Operations 
Conference from O'Reilly Media. Velocity features a full day of 
expert-led, hands-on workshops and two days of sessions from industry 
leaders in dedicated Performance & Operations tracks. Use code vel09scf 
and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf
___
Astlinux-users mailing list
Astlinux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/astlinux-users

Donations to support AstLinux are graciously accepted via PayPal to 
pay...@krisk.org.


Re: [Astlinux-users] system writing files on tmp directory

2009-05-02 Thread Noël Nachtegael
thank you for the answers.

I tried
...
exten => ,n,Hangup()
exten => h,1,NoOp(appel entrant ${CALLERID(num)} vers canal h)
;ajouter le 00 dans le numéro de l'appelant
exten => h,n,Set(CALLERID(num) = 00${CALLERID(num)})
exten => h,n,System(echo channel: SIP/mycontext-out/${CALLERID(num)} >
/tmp/${CALLERID(num)})
...

and it's not working for versions 0.6.3, 0.6.4 and 0.6.5)
In fact, the system hangs-up on the first system echo some text >
/temp/file command (whatever the text)

Michael, can your provide me your trunk-2632 working 4801-image?




John Novack wrote:
> Also tested with 0.6.5 geni586 version installed on an HP Thin client
> and it also works as it should
>
> John Novack
>
>
> Michael Keuter wrote:
>>> I did the testing with the last 0.65 version and I'm on a 4801 hardware.
>>> again it's working fine with version 0.62
>>>
>>>
>>> David Kerr wrote:
>>>
>>> 
 Yes, maybe.   What hardware are you running on?

 On my Alix2c3 I found 
 considerable instability with the System() 
 command inside dialplans on 0.6.x versions of 
 Astlinux. Problem only existed on my Alix2c3, 
 was not reproducible on a VMWare test 
 environment. Problem does not exist on trunk 
 (pre 0.7) version of astlinux.

 for all the gory details
 http://sourceforge.net/mailarchive/message.php?msg_name=4c6ff7f20903081217p1ad7a271mbbfa19922dcff816%40mail.gmail.com

 David

 2009/4/29 Noël Nachtegael 
 <noel.4...@la57ieme.net>

 hi every body,

 it's now from the version 0.63 that a dialplan command
 System(echo some text > /tmp/file.ext) in extensions.conf
 doesn't work anymore and hangs up my system.

 this command is  working on my version 0.62

 Has someone encountered the same situation?
   
>>
>> Hi,
>>
>> just for your info:
>> I just tested that with a net4801 with trunk-2632 
>> and on an ALIX 2D13 with trunk-2607 (net5501), 
>> and it work fine for me.
>>
>> extension.conf:
>>
>> exten => 101,1,NoOp(System echo string)
>> exten => 101,n,System(echo test date and time 
>> `date +%Y-%m-%d_%H-%M-%S` > /tmp/file.ext)
>> exten => 101,n,Hangup
>>
>> Asterisk-CLI:
>>
>>  -- Executing [...@default:1] 
>> NoOp("SIP/23-081bd0a0", "System echo string") in 
>> new stack
>>  -- Executing [...@default:2] 
>> System("SIP/23-081bd0a0", "echo test date and 
>> time `date +%Y-%m-%d_%H-%M-%S` > /tmp/file.ext") 
>> in new stack
>>  -- Executing [...@default:3] Hangup("SIP/23-081bd0a0", "") in new stack
>>== Spawn extension (default, 101, 3) exited non-zero on 'SIP/23-081bd0a0'
>>
>> CLI:
>>
>> alix ~ # cat /tmp/file.ext
>> test date and time 2009-04-30_10-59-07
>>
>>
>> Michael
>>
>> --
>> Register Now & Save for Velocity, the Web Performance & Operations 
>> Conference from O'Reilly Media. Velocity features a full day of 
>> expert-led, hands-on workshops and two days of sessions from industry 
>> leaders in dedicated Performance & Operations tracks. Use code vel09scf 
>> and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf
>> ___
>> Astlinux-users mailing list
>> Astlinux-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/astlinux-users
>>
>> Donations to support AstLinux are graciously accepted via PayPal to 
>> pay...@krisk.org.
>>
>>   
>
> -- 
> Dog is my co-pilot
> 
>
> --
> Register Now & Save for Velocity, the Web Performance & Operations 
> Conference from O'Reilly Media. Velocity features a full day of 
> expert-led, hands-on workshops and two days of sessions from industry 
> leaders in dedicated Performance & Operations tracks. Use code vel09scf 
> and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf
> 
>
> ___
> Astlinux-users mailing list
> Astlinux-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/astlinux-users
>
> Donations to support AstLinux are graciously accepted via PayPal to 
> pay...@krisk.org.
--
Register Now & Save for Velocity, the Web Performance & Operations 
Conference from O'Reilly Media. Velocity features a full day of 
expert-led, hands-on workshops and two days of sessions from industry 
leaders in dedicated Performance & Operations tracks. Use code vel09scf 
and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf___
Astlinux-users mail

Re: [Astlinux-users] system writing files on tmp directory

2009-04-30 Thread John Novack
Also tested with 0.6.5 geni586 version installed on an HP Thin client 
and it also works as it should


John Novack


Michael Keuter wrote:

I did the testing with the last 0.65 version and I'm on a 4801 hardware.
again it's working fine with version 0.62


David Kerr wrote:



Yes, maybe.   What hardware are you running on?

On my Alix2c3 I found 
considerable instability with the System() 
command inside dialplans on 0.6.x versions of 
Astlinux. Problem only existed on my Alix2c3, 
was not reproducible on a VMWare test 
environment. Problem does not exist on trunk 
(pre 0.7) version of astlinux.


for all the gory details
http://sourceforge.net/mailarchive/message.php?msg_name=4c6ff7f20903081217p1ad7a271mbbfa19922dcff816%40mail.gmail.com

David

2009/4/29 Noël Nachtegael 
<noel.4...@la57ieme.net>


hi every body,

it's now from the version 0.63 that a dialplan command
System(echo some text > /tmp/file.ext) in extensions.conf
doesn't work anymore and hangs up my system.

this command is  working on my version 0.62

Has someone encountered the same situation?
  


Hi,

just for your info:
I just tested that with a net4801 with trunk-2632 
and on an ALIX 2D13 with trunk-2607 (net5501), 
and it work fine for me.


extension.conf:

exten => 101,1,NoOp(System echo string)
exten => 101,n,System(echo test date and time 
`date +%Y-%m-%d_%H-%M-%S` > /tmp/file.ext)

exten => 101,n,Hangup

Asterisk-CLI:

 -- Executing [...@default:1] 
NoOp("SIP/23-081bd0a0", "System echo string") in 
new stack
 -- Executing [...@default:2] 
System("SIP/23-081bd0a0", "echo test date and 
time `date +%Y-%m-%d_%H-%M-%S` > /tmp/file.ext") 
in new stack

 -- Executing [...@default:3] Hangup("SIP/23-081bd0a0", "") in new stack
   == Spawn extension (default, 101, 3) exited non-zero on 'SIP/23-081bd0a0'

CLI:

alix ~ # cat /tmp/file.ext
test date and time 2009-04-30_10-59-07


Michael

--
Register Now & Save for Velocity, the Web Performance & Operations 
Conference from O'Reilly Media. Velocity features a full day of 
expert-led, hands-on workshops and two days of sessions from industry 
leaders in dedicated Performance & Operations tracks. Use code vel09scf 
and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf

___
Astlinux-users mailing list
Astlinux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/astlinux-users

Donations to support AstLinux are graciously accepted via PayPal to 
pay...@krisk.org.

  


--
Dog is my co-pilot

--
Register Now & Save for Velocity, the Web Performance & Operations 
Conference from O'Reilly Media. Velocity features a full day of 
expert-led, hands-on workshops and two days of sessions from industry 
leaders in dedicated Performance & Operations tracks. Use code vel09scf 
and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf___
Astlinux-users mailing list
Astlinux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/astlinux-users

Donations to support AstLinux are graciously accepted via PayPal to 
pay...@krisk.org.

Re: [Astlinux-users] system writing files on tmp directory

2009-04-30 Thread Michael Keuter
>I did the testing with the last 0.65 version and I'm on a 4801 hardware.
>again it's working fine with version 0.62
>
>
>David Kerr wrote:
>
>>Yes, maybe.   What hardware are you running on?
>>
>>On my Alix2c3 I found 
>>considerable instability with the System() 
>>command inside dialplans on 0.6.x versions of 
>>Astlinux. Problem only existed on my Alix2c3, 
>>was not reproducible on a VMWare test 
>>environment. Problem does not exist on trunk 
>>(pre 0.7) version of astlinux.
>>
>>for all the gory details
>>http://sourceforge.net/mailarchive/message.php?msg_name=4c6ff7f20903081217p1ad7a271mbbfa19922dcff816%40mail.gmail.com
>>
>>David
>>
>>2009/4/29 Noël Nachtegael 
>><noel.4...@la57ieme.net>
>>
>>hi every body,
>>
>>it's now from the version 0.63 that a dialplan command
>>System(echo some text > /tmp/file.ext) in extensions.conf
>>doesn't work anymore and hangs up my system.
>>
>>this command is  working on my version 0.62
>>
>>Has someone encountered the same situation?

Hi,

just for your info:
I just tested that with a net4801 with trunk-2632 
and on an ALIX 2D13 with trunk-2607 (net5501), 
and it work fine for me.

extension.conf:

exten => 101,1,NoOp(System echo string)
exten => 101,n,System(echo test date and time 
`date +%Y-%m-%d_%H-%M-%S` > /tmp/file.ext)
exten => 101,n,Hangup

Asterisk-CLI:

 -- Executing [...@default:1] 
NoOp("SIP/23-081bd0a0", "System echo string") in 
new stack
 -- Executing [...@default:2] 
System("SIP/23-081bd0a0", "echo test date and 
time `date +%Y-%m-%d_%H-%M-%S` > /tmp/file.ext") 
in new stack
 -- Executing [...@default:3] Hangup("SIP/23-081bd0a0", "") in new stack
   == Spawn extension (default, 101, 3) exited non-zero on 'SIP/23-081bd0a0'

CLI:

alix ~ # cat /tmp/file.ext
test date and time 2009-04-30_10-59-07


Michael

--
Register Now & Save for Velocity, the Web Performance & Operations 
Conference from O'Reilly Media. Velocity features a full day of 
expert-led, hands-on workshops and two days of sessions from industry 
leaders in dedicated Performance & Operations tracks. Use code vel09scf 
and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf
___
Astlinux-users mailing list
Astlinux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/astlinux-users

Donations to support AstLinux are graciously accepted via PayPal to 
pay...@krisk.org.


Re: [Astlinux-users] system writing files on tmp directory

2009-04-29 Thread Noël Nachtegael
I did the testing with the last 0.65 version and I'm on a 4801 hardware.
again it's working fine with version 0.62


David Kerr wrote:
> Yes, maybe.   What hardware are you running on?
>
> On my Alix2c3 I found considerable instability with the System()
> command inside dialplans on 0.6.x versions of Astlinux. Problem only
> existed on my Alix2c3, was not reproducible on a VMWare test
> environment. Problem does not exist on trunk (pre 0.7) version of
> astlinux.
>
> for all the gory details
> http://sourceforge.net/mailarchive/message.php?msg_name=4c6ff7f20903081217p1ad7a271mbbfa19922dcff816%40mail.gmail.com
>
> David
>
> 2009/4/29 Noël Nachtegael  >
>
> hi every body,
>
> it's now from the version 0.63 that a dialplan command
> System(echo some text > /tmp/file.ext) in extensions.conf
> doesn't work anymore and hangs up my system.
>
> this command is  working on my version 0.62
>
> Has someone encountered the same situation?
>
>
>
>
> 
> --
> Register Now & Save for Velocity, the Web Performance & Operations
> Conference from O'Reilly Media. Velocity features a full day of
> expert-led, hands-on workshops and two days of sessions from industry
> leaders in dedicated Performance & Operations tracks. Use code
> vel09scf
> and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf
> ___
> Astlinux-users mailing list
> Astlinux-users@lists.sourceforge.net
> 
> https://lists.sourceforge.net/lists/listinfo/astlinux-users
>
> Donations to support AstLinux are graciously accepted via PayPal
> to pay...@krisk.org .
>
>
> 
>
> --
> Register Now & Save for Velocity, the Web Performance & Operations 
> Conference from O'Reilly Media. Velocity features a full day of 
> expert-led, hands-on workshops and two days of sessions from industry 
> leaders in dedicated Performance & Operations tracks. Use code vel09scf 
> and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf
> 
>
> ___
> Astlinux-users mailing list
> Astlinux-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/astlinux-users
>
> Donations to support AstLinux are graciously accepted via PayPal to 
> pay...@krisk.org.
--
Register Now & Save for Velocity, the Web Performance & Operations 
Conference from O'Reilly Media. Velocity features a full day of 
expert-led, hands-on workshops and two days of sessions from industry 
leaders in dedicated Performance & Operations tracks. Use code vel09scf 
and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf___
Astlinux-users mailing list
Astlinux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/astlinux-users

Donations to support AstLinux are graciously accepted via PayPal to 
pay...@krisk.org.

Re: [Astlinux-users] system writing files on tmp directory

2009-04-29 Thread David Kerr
Yes, maybe.   What hardware are you running on?
On my Alix2c3 I found considerable instability with the System() command
inside dialplans on 0.6.x versions of Astlinux. Problem only existed on my
Alix2c3, was not reproducible on a VMWare test environment. Problem does not
exist on trunk (pre 0.7) version of astlinux.

for all the gory details
http://sourceforge.net/mailarchive/message.php?msg_name=4c6ff7f20903081217p1ad7a271mbbfa19922dcff816%40mail.gmail.com

David

2009/4/29 Noël Nachtegael 

> hi every body,
>
> it's now from the version 0.63 that a dialplan command
> System(echo some text > /tmp/file.ext) in extensions.conf
> doesn't work anymore and hangs up my system.
>
> this command is  working on my version 0.62
>
> Has someone encountered the same situation?
>
>
>
>
>
> --
> Register Now & Save for Velocity, the Web Performance & Operations
> Conference from O'Reilly Media. Velocity features a full day of
> expert-led, hands-on workshops and two days of sessions from industry
> leaders in dedicated Performance & Operations tracks. Use code vel09scf
> and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf
> ___
> Astlinux-users mailing list
> Astlinux-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/astlinux-users
>
> Donations to support AstLinux are graciously accepted via PayPal to
> pay...@krisk.org.
>
--
Register Now & Save for Velocity, the Web Performance & Operations 
Conference from O'Reilly Media. Velocity features a full day of 
expert-led, hands-on workshops and two days of sessions from industry 
leaders in dedicated Performance & Operations tracks. Use code vel09scf 
and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf___
Astlinux-users mailing list
Astlinux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/astlinux-users

Donations to support AstLinux are graciously accepted via PayPal to 
pay...@krisk.org.

Re: [Astlinux-users] system writing files on tmp directory

2009-04-29 Thread Darrick Hartman (lists)
Noël Nachtegael wrote:
> hi every body,
> 
> it's now from the version 0.63 that a dialplan command
> System(echo some text > /tmp/file.ext) in extensions.conf
> doesn't work anymore and hangs up my system.
> 
> this command is  working on my version 0.62
> 
> Has someone encountered the same situation?

0.6.5 is the latest version.  Please upgrade to that before doing 
anything else.

-- 
Darrick Hartman
DJH Solutions, LLC
http://www.djhsolutions.com

--
Register Now & Save for Velocity, the Web Performance & Operations 
Conference from O'Reilly Media. Velocity features a full day of 
expert-led, hands-on workshops and two days of sessions from industry 
leaders in dedicated Performance & Operations tracks. Use code vel09scf 
and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf
___
Astlinux-users mailing list
Astlinux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/astlinux-users

Donations to support AstLinux are graciously accepted via PayPal to 
pay...@krisk.org.


[Astlinux-users] system writing files on tmp directory

2009-04-29 Thread Noël Nachtegael
hi every body,

it's now from the version 0.63 that a dialplan command
System(echo some text > /tmp/file.ext) in extensions.conf
doesn't work anymore and hangs up my system.

this command is  working on my version 0.62

Has someone encountered the same situation?




--
Register Now & Save for Velocity, the Web Performance & Operations 
Conference from O'Reilly Media. Velocity features a full day of 
expert-led, hands-on workshops and two days of sessions from industry 
leaders in dedicated Performance & Operations tracks. Use code vel09scf 
and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf
___
Astlinux-users mailing list
Astlinux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/astlinux-users

Donations to support AstLinux are graciously accepted via PayPal to 
pay...@krisk.org.