File hylafax-6.0.4-dispatch-isdn.patch of Package hylafax

Index: util/FaxDispatch.sh
================================================================================
--- util/FaxDispatch.sh
+++ util/FaxDispatch.sh
@@ -2,8 +2,8 @@
 # Dispatch fax to email depending on own MSN or extention (ISDN lines)
 # sourced from faxrcvd
 #
-if [ "$7" != "" ]; then
-    PHONEMATCH=$7\$
+if [ "$CALLID3" != "" ]; then
+    PHONEMATCH=$CALLID3\$
     USERENTRY=`grep -v "^#" etc/users | grep "$PHONEMATCH"`
     if [ "$USERENTRY" != "" ]; then
 	USERNAME=`echo $USERENTRY | awk '{print $1}'`
openSUSE Build Service is sponsored by