[Spce-user] platform internal value added call rating between subscribers
Rene Krenn
rkrenn at sipwise.com
Thu Jan 11 09:15:53 EST 2018
> If a call of one of this beginnings will come to be rated, it will be
ignored by this fee and this one will be used:
>".","^43900.+$",out,"Outbound VAC,Austria,3.3,1, 3.3,1, 3.3,1, 3.3,1,0
Yes and the others you prepare
".","^43800.+$",out,"Outbound VAC 800,Austria,3.3,1, 3.3,1, 3.3,1,
3.3,1,0
".","^43810.+$",out,"Outbound VAC 810,Austria,3.3,1, 3.3,1, 3.3,1,
3.3,1,0
".","^43820.+$",out,"Outbound VAC 820,Austria,3.3,1, 3.3,1, 3.3,1,
3.3,1,0
..
should work then.
regards
Von: Matthias Hohl [mailto:matthias.hohl at telematica.at]
Gesendet: Mittwoch, 10. Jänner 2018 17:22
An: 'Rene Krenn' <rkrenn at sipwise.com>; 'Spce-user'
<Spce-user at lists.sipwise.com>
Betreff: AW: platform internal value added call rating between subscribers
Hello again,
i run version 4.5.5, afaik is there no mariadb running, or?
So you mean the solution would be to create a negative lookup for every VAC
number right?
So in case of Austria If I want to exclude all VAC numbers I have to create
this entries in my billing profile:
"^.*@sip\.telematica\.at$ <mailto:%5e.*@sip\.telematica\.at$>
",^(?!43800|43810|43820|43821|43900|43930|43901|43931|43939)
<mailto:.+ at sip\.telematica\.at$>
.+ at sip\.telematica\.at$,out,"Telematica","Internal
Network",0.0166667,1,0.0166667,1,0.0166667,1,0.0166667,1,0
If a call of one of this beginnings will come to be rated, it will be
ignored by this fee and this one will be used:
".","^43900.+$",out,"Outbound VAC,Austria,3.3,1, 3.3,1, 3.3,1, 3.3,1,0
Right?
Von: Rene Krenn [mailto:rkrenn at sipwise.com]
Gesendet: Wednesday, January 10, 2018 3:08 PM
An: 'Matthias Hohl' <matthias.hohl at telematica.at
<mailto:matthias.hohl at telematica.at> >; 'Spce-user'
<Spce-user at lists.sipwise.com <mailto:Spce-user at lists.sipwise.com> >
Betreff: AW: platform internal value added call rating between subscribers
Rato-o-mat also tries full sip uri (incl. Doamin) before the numbers only -
which also comes into effect with your fees.
If you run a version with maridb, you might want to try a regexp with
negative lookahead assertion like
^(?!43900).+ at sip\.telematica\.at$
for your on-net fee destination. 43900er numbers shouldnt be hit it anymore
then.
regards
Von: Matthias Hohl [mailto:matthias.hohl at telematica.at]
Gesendet: Mittwoch, 10. Jänner 2018 14:10
An: 'Rene Krenn' <rkrenn at sipwise.com <mailto:rkrenn at sipwise.com> >;
'Spce-user' <Spce-user at lists.sipwise.com
<mailto:Spce-user at lists.sipwise.com> >
Betreff: AW: platform internal value added call rating between subscribers
Sorry, looks like I cutted away the source part
. Here again:
"^.*@sip\.telematica\.at$ <mailto:%5e.*@sip\.telematica\.at$>
","^.*@sip\.telematica\.at$ <mailto:%5e.*@sip\.telematica\.at$>
",out,"Telematica","Internal
Network",0.0166667,1,0.0166667,1,0.0166667,1,0.0166667,1,0
Von: Rene Krenn [mailto:rkrenn at sipwise.com]
Gesendet: Wednesday, January 10, 2018 2:02 PM
An: 'Matthias Hohl' <matthias.hohl at telematica.at
<mailto:matthias.hohl at telematica.at> >; 'Spce-user'
<Spce-user at lists.sipwise.com <mailto:Spce-user at lists.sipwise.com> >
Betreff: AW: platform internal value added call rating between subscribers
Hi,
according to the current fee selection mechanism, the fee with longest
destination pattern is used; if equal the fee with the longer src pattern
wins.
What are src and dest patterns of your 3rd fee below?
regards
Von: Matthias Hohl [mailto:matthias.hohl at telematica.at]
Gesendet: Mittwoch, 10. Jänner 2018 13:38
An: 'Spce-user' <Spce-user at lists.sipwise.com
<mailto:Spce-user at lists.sipwise.com> >
Cc: 'Rene Krenn' <rkrenn at sipwise.com <mailto:rkrenn at sipwise.com> >
Betreff: platform internal value added call rating between subscribers
Hello,
found out a new special thing today with platform internal calls and local
value added call rating and negative fees:
The setup:
I created a billing profile with 3 entries:
- "^43.+$","^43900222222.+$",in,"Inbound
VAC","Austria",-2.5,1,-2.5,1,-2.5,1,-2.5,1,0
- ".","^43900.+$",out,"Outbound VAC,Austria,3.3,1, 3.3,1, 3.3,1,
3.3,1,0
- ^.*@sip\.telematica\.at$ <mailto:%5e.*@sip\.telematica\.at$>
,out,"Telematica","Internal
Network",0.0166667,1,0.0166667,1,0.0166667,1,0.0166667,1,0
I created a subscriber A with number 43 720 111111
I created a subscriber B with number 43 720 888888 and Alias 43 900 222222
If someone is calling the number of subscriber B, the caller should pay 2
EUR.
If subscriber B is receiving a call to his 43 900 222222 number, he should
get billed with -1,5 EUR.
If subscriber A is calling subscriber B on 43 720 888888 he should pay the
internal network fee of 0,01 EUR.
The problem is, that the internal network fee overrules the fee for
subscriber A for the Outbound VAC call, but subscriber B gets the inbound
VAC payment.
Normally, if subscriber A calls the Alias number of subscriber B the call
should be rated with 2 EUR each minute at subscriber A and with -1,5 EUR
each minute at subscriber B but the internal network fee, just allows that
subscriber A will be rated with 0,01 EUR each minute and subscriber B with
-1,5 EUR each minute.
The Subsriber A (caller) will be rated as platform internal call with 0,01
EUR and the subsciber B (callee) will be negative rated with -1,50 EUR.
So I need to pay the subscriber B money I didnt get from subscriber A for
the value added service call.
If I remove my internal network fee, the subscriber A get billed with the
premium rate fee auf 2 EUR and subscriber B get the billed with the negative
fee of -1,5 EUR.
How can I fix this? The internal network fee needs to be in a lower
priority like the value added call fee, but how to enable this? Any other
workaround?
If I completely remove the internal network fee, then every customer will
be rated like if this would be a normal external call and the benefit of
internal network discount fees will be away.
I also found out, that the billing zone in the callee subscriber is
always the billing zone of the caller subscriber.
This also could be little bit confusing for the callee, cause he didnt see
the right billing zone description for his negative billed Value Added Call.
Any idea about this?
I hope I descriped it well enough
Mit freundlichen Grüßen,
Matthias Hohl
TELEMATICA Internet Service Provider GmbH
Phone: +43 (0)5 056 400-12
Mail: matthias.hohl at telematica.at <mailto:matthias.hohl at telematica.at>
Web: https://www.telematica.at
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sipwise.com/pipermail/spce-user_lists.sipwise.com/attachments/20180111/91247eba/attachment-0001.html>
More information about the Spce-user
mailing list