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] Routing jobs per host based on prefix

On Mon, Oct 28, 2002 at 05:11:28AM -0800, Pedro Rocadas wrote:
> In a earlier post, someone touched a similar question
> and who should say, here at the company they asked me
> to intall a server in one of our offices. I make some
> searches in the mailling list by "routing host", "send
> fax host", etc, but nothing to much interesting show
> up. There is a way to route the outgoing jobs by host,
> but seems that only worked if no server process are
> running in the machine and you must change the
> hyla.conf(?) file. My idea/question is: doing some
> tricks in dialrules, could be possible to route the
> outgoing jobs to a different host based on prefix?
> Example: if I dial the number 2134567 I know that the
> job will be sent from host1 because I dial 21. Same
> for 2234567 but in this case the fax will be sent by
> host2, because I dial 22. Using sendfax command I know
> this work but using a client, say WHFC, I must
> configure hylafax to work properly. thanks in advance
> for nay tip. Cheers.

It *sounds* to me like what you want is something akin to "least cost
routing", where something -- either client or server -- chooses the
proper server to send a job out through based on the destination

At the moment, I think that the only way to get there from here is to
*nix sendfax client, and wrap it with a script that does a lookup.  I'm
pretty sure none of the Windoze clients do it right now, and while you
can do a limited version with dialrules, I'm almost certain you can
only select a certain modem on a given server.  There isn't currently
any way of which *I'm* aware to have one server shunt a job to another,
and this would likely require major restructuring -- look for it in
HylaFAX 5.  :-)

-- jra
Jay R. Ashworth                                                jra@baylink.com
Member of the Technical Staff     Baylink                             RFC 2100
The Suncoast Freenet         The Things I Think
Tampa Bay, Florida        http://baylink.pitas.com             +1 727 647 1274

   "If you don't have a dream; how're you gonna have a dream come true?"
     -- Captain Sensible, The Damned (from South Pacific's "Happy Talk")

____________________ 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@hylafax.org < /dev/null
  *To learn about commercial HylaFAX(tm) support, mail sales@hylafax.org.*

Project hosted by iFAX Solutions