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] Another FaxDispatch script problem

This is what I used, this makes the most sense, I shoulda thought of 
this..  Duh.  Thanks for the info.

-----Original Message-----
From: Rupert Weber-Henschel [mailto:rupert@xxxxxxxxxxxxxxxxxx] 
Sent: Monday, December 17, 2007 2:23 PM
To: Caleb Walker
Cc: hylafax-users@xxxxxxxxxxx
Subject: Re: [hylafax-users] Another FaxDispatch script problem

Caleb Walker wrote:
> How do I tell the first case to exit once it finds a match
> instead of continuing on to the next case block?  Is there anything 
> to do or do I have to make some if/then decisions to do this?

Both actually. You'll have to make if/then decisions. But it's easy. ;)

case "$SENDER" in

if [ -z "$SENDTO" ] ; then
     case "$CIDNUMBER" in


____________________ 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