HylaFAX The world's most advanced open source fax server

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]

RE: Need help with destctrls and dialrules





 -----Original Message-----
From: 	rdrouin [mailto:rdrouin@eclipsys.qc.ca]
Sent:	20 avril, 2000 17:35
To:	'flexfax@sgi.com'
Subject:	Need help with destctrls and dialrules

Hi,

I have to implement a destControls file that put on hold all long distance
calls(fax) in order to dial them between 18h an d 8h.

My dialrules already check if a fax is a local call or not, but how can I
know if that call is a long distance from the destctrls file?

The problem is that the destctrls file match his expression according to the
cannonical number, and not the dialstring.  So I see 2 solutions to that
problem :
- acces to the dialstring from the destctrls file     OR
- Find a way to know if the call is a long distance from the cannonical
number.

In either way, i'm stock ; I'm pretty sure that there is no way I could
access the dialstring, and I d'ont want to reimplement my dialrules script
in my destctrls because I think it's a dumb thing to do.

I'm not sure if i am clear enough, but I included my dialrules and my
destctrls just to make sure that you could understand what is my problem.
(soory for that)

So anybody got a suggestion ?

 << File: dialrules >>  << File: destctrls >>




Project hosted by iFAX Solutions