Displaying 2 results from an estimated 2 matches for "09a63138".
Did you mean:
093138
2008 Oct 16
0
How to invoke an external C program and output an integer to the program?
...is 0
input1 value is 0
open port successfully
Input1 is low, Pin 17 set to low
Input1 is 0
[root at Fire-Station parallel]#
However if I call to 88888 I can see it execute the system command but it
doesn't output an integer 1 to my 'fire' program.
CLI:
-- Executing System("SIP/10-09a63138", "/usr/local/src/parallel/fire 1") in
new stack
Any ideas on this or I shouldn't use System() at all?
Thanks & Best Regards,
Johnny Xing
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attac...
2008 Oct 16
0
asterisk-users Digest, Vol 51, Issue 51
...t 15 22:25 fire.c
>
>
> If I run the program separately everything is fine:
> ...
> However if I call to 88888 I can see it execute the system command
> but it
> doesn't output an integer 1 to my 'fire' program.
>
> CLI:
> -- Executing System("SIP/10-09a63138", "/usr/local/src/parallel/fire
> 1") in
> new stack
>
> Any ideas on this or I shouldn't use System() at all?
I do something similar, e.g.
exten => xxx,1,Answer()
exten => xxx,2,System(/usr/local/bin/door 1000 ${EXTEN:3})
It works great for me using Aster...