thank you for the answers.
I tried
...
exten => 9999,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>http://sourceforge.net/mailarchive/message.php?msg_name=4c6ff7f20903081217p1ad7a271mbbfa19922dcff816%40mail.gmail.com
>>>>
>>>> David
>>>>
>>>> 2009/4/29 Noël Nachtegael
>>>> <<mailto:noel.4...@la57ieme.net>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 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.