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] Problem with Dialogic/Eicon BRI-2 to initialize modem
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Sam Przyswa schrieb:
> Hi,
>
> I installed the Eicon/Dialogic ISDN card with the Dialogic Diva System
> Release 9.0LIN SU driver on Debian 5.0.3 and created symlinks on
> /dev/ttyds1 to /dev/ttyds[01-09] with their own phone number, I
> configured each with faxaddmodem ttydsxx.
Hello Sam,
I think you will get problems when more than one process is trying to access the same device using your symlinks.
On my fax server (with Diva Server BRI) I want HylaFax to accept calls on two phone numbers (MSNs) and set the station ID according to the called number.
I think it is not possible to specify more than one incoming MSN for a ttyds* device.
That's why the modem devices to listen on all MSNs and I use DynamicConfig to reject calls on all other MSNs and to set the station ID like in the example below.
Bodo
#! /bin/sh
DEVICE=$1; shift;
COUNT=1
while [ $# -ge 1 ]; do
# The eval has $1 set yet, and this forces a variable-to-variable
# assignment, allowing us to not need to do escaping
eval CALLID$COUNT='$1'
shift
COUNT=`expr $COUNT + 1`
done
# CALLID3 contains the called MSN
echo "LocalIdentifier: +49.9876.${CALLID3}"
case "${CALLID3}" in
12345|12346)
;;
*)
echo "RejectCall: true"
;;
esac
true
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iEYEARECAAYFAkua2j0ACgkQnMz9fgzDSqcnKwCeMHe5Vkw9knz4vkAaH/yr1PEc
0qYAniU1NuWk2BVH2k2kkYsCosY/w8zH
=1uY7
-----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*