![]() |
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Am 15.06.2010 14:48, schrieb Hans Klose: > is it possible to give sendfax the outgoing MSN so > that receiver see that in his display? This depends on your ISDN card. If you have to use capi4hylafax IIRC this is not possible. (example: AVM cards) If your card has a TTY interface you can probably do this with JobControl. See below my jobcontrol script for a Dialogic (Eicon) Diva Server card. Bodo #!/bin/bash #DEBUG=true DEBUG=false $DEBUG && echo $0 $* >> /tmp/JobControl.txt JOBID=$1 $DEBUG && echo JOBID=$JOBID >> /tmp/JobControl.txt ## ## GetJobParam <param> ## - returns the value of the job param GetJobParam () { grep "^$1:" sendq/q$JOBID | cut -d : -f 2- } ## ## SetControlParam <tag> <value> SetControlParam () { echo "$1: \"$2\"" $DEBUG && echo "$1: \"$2\"" >> /tmp/JobControl.txt } OWNER=$(GetJobParam owner) EMAIL=$(GetJobParam mailaddr) ## ## And now client-specific settings case "$OWNER" in jxxx*|pxxx*) SetControlParam FaxNumber '+48.8888.9999991' SetControlParam LocalIdentifier 'Sender Name 1' SetControlParam ModemDialCmd 'AT+iO9999995\nATDT%s' ;; *) SetControlParam FaxNumber '+48.8888.9999994' SetControlParam LocalIdentifier 'Sender Name 2' SetControlParam ModemDialCmd 'AT+iO9999992\nATDT%s' esac true -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) iEYEARECAAYFAkwX9ncACgkQnMz9fgzDSqdZ7QCgiI6jT3++64spoByTC3DMfbgZ IgQAmwQpQMYH4L5FjPyBff2PvKRIU+eV =YMen -----END PGP SIGNATURE----- ____________________ 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*