[prev in list] [next in list] [prev in thread] [next in thread]
List: hylafax
Subject: Re: [hylafax-users] Can not get the DynamicConfig to work
From: Lee Howard <faxguy () howardsilvan ! com>
Date: 2008-04-28 5:06:54
Message-ID: 48155B6E.6050808 () howardsilvan ! com
[Download RAW message or body]
Mikhail Teterin wrote:
> I'm struggling to get a script to execute for every incoming phone call (to
> log the CID information).
>
> I put the
>
> DynamicConfig /home/mi/bin/modemlog.tcl
>
> option into etc/config.ttyd0 file, but the script referred to is never
> executed...
>
> If anybody has the DynamicConfig option working, could they, please, send me
> their config-file?
First, make sure that you use a colon after DynamicConfig before the
configuration value. Like this:
DynamicConfig: value
Second, please be aware that the value must be a shell script. So if
you want to use a tcl script then you'll want a small shell wrapper
around it:
#!/bin/sh
/home/mi/bin/modemlog.tcl
exit $?
... hopefully that makes sense.
Thanks,
Lee.
____________________ HylaFAX(tm) Users Mailing List _______________________
To subscribe/unsubscribe, click http://lists.hylafax.org/cgi-bin/lsg2.cgi
On UNIX: mail -s unsubscribe hylafax-users-request@hylafax.org < /dev/null
*To learn about commercial HylaFAX(tm) support, mail sales@ifax.com.*
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic