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] Call to voice no says "no carrier detected" and comm time 0



* Lee Howard <faxguy@howardsilvan.com> [030805 11:29]:
> On 2003.08.05 06:10 Edison Cneeden wrote:
> >Hi,
> >
> >Whenever my outgoing fax is picked up by a person and this person 
> >says "hello, hello,..." then the xferfaxlog says "no carrier 
> >detected" and the communication time is 0... This is of course wrong. 
> >When the nice lady picks up, the bill starts ticking of course...
> >
> >This is very important for us as we send faxes on behalf of customers 
> >and invoicing is done based on the comm time. So this costs for us 
> >and no revenue is generated...
> >
> >How could we solve this?
> 
> --- FaxSend.c++.orig	Tue Aug  5 08:26:36 2003
> +++ FaxSend.c++	Tue Aug  5 08:27:11 2003
> @@ -164,9 +164,8 @@
>      }
>      fax.notice = "";
>      notifyCallPlaced(fax);
> +    connTime = Sys::now();			// connection start time
>      CallStatus callstat = modem->dial(number, notice);
> -    if (callstat == ClassModem::OK)
> -	connTime = Sys::now();			// connection start time
>      (void) abortRequested();			// check for user abort
>      if (callstat == ClassModem::OK && !abortCall) {
>  	/*

This will also start counting connection time before the dialing on
every call, so a "NO ANSWER" call will have 10-20 seconds of connection
time to invoice...

How about tacking on a charge for all NO CARRIERs (i.e. they give
you dirtier list, they get charged more, the cleaner their list, the
less of these they get billed).

a.
-- 
Aidan Van Dyk                                             Create like a god,
aidan@highrise.ca                                       command like a king,
http://www.highrise.ca/                                   work like a slave.

PGP signature




Project hosted by iFAX Solutions