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] DialRules from destctrls file.



Ok, sorry about that.. I new the DestControls was abandoned in favor of a new system.
I was looking at the wrong config file.. No wonder it didn't make sense.


I'm also looking at this link for now to see how this can be applied to my set up.
http://people.ifax.com/~aidan/jobcontrol/jobcontrol-destctrls.sh.txt



Lee Howard wrote:
Tony wrote:

I'm trying to migrate my "destctrls" file over to the new "DialRules" file and format.


DestControls was abandoned in favor of the new JobControl. Look at 'man jobcontrol' and if that doesn't make sense enough then let me know, and I can be more explicit. But basically you're going to want a jobcontrol script that looks something like this:

   #!/bin/sh
   . etc/setup.cache
   . bin/common-functions
   QFILE=sendq/q$1
   parseQfile
   case "$number" in
       612*) echo "Modem: SYD";;
       6188*) echo "Modem: ADE";;
       643XXXX*) echo "Modem: MEL"; echo "SessionTracing: 11";;
       643YYYY*) echo "Modem: ttya4"; echo "SessionTracing: 11";;
   esac
   exit 0


That's how you'd do it with HylaFAX+. It may be (probably is) slighly different with hylafax.org cuts.


Lee.


Attention:
The information contained in this message and or attachments is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material.  Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please contact the sender and delete the material from any system and destroy any copies.

Any views expressed in this message are those of the individual sender and may not necessarily reflect the views of The Gribbles Group.

Thank You.

Whilst every effort has been made to ensure that this e-mail message and any attachments are free from viruses, you should scan this message and any attachments.
Under no circumstances do we accept liability for any loss or damage which may result from your receipt of this message or any attachment.

____________________ 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