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] Distinctive Ring & SMTP Routing



On Thu, Jun 14, 2001 at 10:23:08AM -0600, Lee Howard wrote:
> At 11:58 AM 6/14/01 -0400, Thomas A. Luther wrote:
> >I am trying to figure out how to do, what I would consider, a simple
> >function using the distinctive ring feature of a fax modem.  I would
> >like to send an inbound fax to a specific SMTP e-mail address based on
> >the ring pattern.  In other words, ring pattern one, fax would be sent
> >to user1@mydomain.com, ring pattern 2, would be sent to
> >user2@mydomain.com, ring pattern 3 would be sent to
> >user3@anotherdomain.com.
> >Any suggestions?  Is this even possible or a capability of HylaFAX?
> 
> Educate me a bit... I had thought that distinctive ring was supposed to be
> used to allow the RING to announce the *type* of call (voice, data, or fax)
> that was being received and not the routing of the fax.  I think the
> technology you're looking for is DID and not distinctive ring.  Am I wrong?

He's trying to *cheat*, Lee.

Distinctive ring *is* DID, in it's most fundamental analysis.  It
identifies which number a call was placed to, while sending the call
down the same circuit.

> In any case, HylaFAX currently has the capability to route faxes based on
> receiving device (which modem received the fax) and TSID string.  With a
> patch on Bugzilla, that capability also includes caller ID string.  So...
> no HylaFAX does not have the capability currently to route faxes by
> distinctive ring or even DID.  Both could be programmed into HylaFAX,
> though.  Feel free.

You're so kind.  ;-)

What's necessary here is that the code which matches the RingFax
message allow regular expressions in the configuration file; ie:

RingFax: RING*

Then you'd have to have faxrcvd grovel through the appropriate commlog
file looking for the RING string, and do the same sort of thing as te
patch Lee mentions on BugZilla.  I'd like to see someone capsulize that
functionality out into a separate script (to do the appropriate
grepping and return a status)... but I won't be the one to do it,
unless of course, some customer decides they want to pay me for it.
:-)

You see how this stuff goes, Tom?  :-)

You can get there from here, but you'll have to do some of the driving
yourself.

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

   OS X: Because making Unix user-friendly was easier than debugging Windows


____________________ HylaFAX(tm) Users Mailing List _______________________
 To unsub: mail -s unsubscribe hylafax-users-request@hylafax.org < /dev/null




Project hosted by iFAX Solutions