but I want it to be entered in acc table, but just set a price to zero
when doing the bill run.
In the method below I can either charge or not, I wish to be able to
configure the price charged on a enum call, currently zero. This must be
done by the rating engine, which is based upon prefix from lcr table,
but since in lcr we dont distinguish between enum numbers or normal,
then I cannot have a diff rate for it. The only way seems to be to look
at the acc table, to see which gateway (internal/external) was used,
which is not accurate since I am sure some gateway will use the same for
passing external postn calls, as well as routing internal e164.
Iqbal
Klaus Darilion wrote:
Who generates the CDRs? ser? If yes, do not account
ENUM calls!
if enum_query() {
resetflag(x) # x=accounting flag
t_relay...
break;
} else {
setflag(x)
lcr stuff...
break;
}
klaus
Iqbal wrote:
tks :-)
But how, I am doing billing /rating based on prefix in lcr, now I
cannot put these in lcr, and bill like that since some 44207 numbers
will go to pstn , and other will not. What I am trying to do is to
have the same billing system for all, and for enum calls rate them as
£0.00, which is where the problem is because the billing rates are
per prefix, and these have no special prefix.
Iqbal
Klaus Darilion wrote:
Iqbal wrote:
Hi
Is there a easy way of doing zero billing for all datra returned
from enum lookup
Yes. Do not account them.
klaus
Iqbal
_______________________________________________
Serusers mailing list
serusers(a)lists.iptel.org
http://lists.iptel.org/mailman/listinfo/serusers
.
.