HylaFAX The world's most advanced open source fax server

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: [hylafax-users] Can not get the DynamicConfig to work



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@xxxxxxxxxxx < /dev/null *To learn about commercial HylaFAX(tm) support, mail sales@xxxxxxxxx*




Project hosted by iFAX Solutions