[Spce-user] Source CLI billing and redirection with Diversion Header on 4.5.5 with wrong source_cli

Matthias Hohl matthias.hohl at telematica.at
Thu Jan 11 08:58:19 EST 2018


Hello again,

 

again something to think about:

 

On our test system we have source_cli billing enabled, means if the call is
from a 43xxx number to a 43xxx number, it will be rated with 1 EUR, if the
call is from any other number to a 43xxx number, it will be rated with 2
EUR.

That's works fine, like expected.

 

But we found out, we had a problem with redirection and call forwarding in
combination with source_cli billing.

 

An example:

 

Testcase 1: Redirection directly with the SPCE. (WORKING)

Somebody is calling with a mobilephone with number 49xxx (A) a subscriber
with number 4311111 (B) and this subscriber has at the SPCE a call forward
enable to the austrian mobile number 432222 (C).

If everything is setup right, on (C) there should be the number of (A).

I checked it and yes, on the mobile phone (C) there is the number of (A).

 

If I check now the CDR file I see there 2 calls.

The Inbound call from (A) to (B) and the outbound call from (B) to (C).

In the field "source_cli" for the outbound call there is the number of (B).

The call will be rated with 1 EUR.

Perfect, it works and got billed right. J

 

 

Testcase 2: Redirection with a PBX client and Diversion Header. (NOT
WORKING)

Somebody is calling with a mobilephone with number 49xxx (A) a subscriber
with number 4311111 (B). Suscriber (B) is registered with a PBX. On this PBX
there is a call forward enabled to the austrian mobile number 432222 (C).

The PBX send the UPN (number of A) and an UPRN (number of B) to the SPCE.

We enabled: Skip UPN CLI check for call with Diversion/History-Info header
due to skip_upn_check_on_diversion preference. If I not activate this, there
will be number (B) as Caller number.

SPCE accepts booth numbers. BTW: clip no screening is not activated on the
subscriber.

SPCE sets (A) as UPN and (B) as NPN and Called Party is (C).

 

If I check now the CDR file I see there 2 calls.

The Inbound call from (A) to (B) and the outbound call from (B) to (C).

BUT now there is my problem:

In the field "source_cli" for the outbound call there is the number of (A)
and not the number of (B)! So the call will be rated with 2 EUR and not with
1 EUR, cause there is the source_cli of the (A) and not of (B).

 

As far as I can see, I have just the option to set the UPN and the UPRN
number as inbound number, and that we did in the right way.

Compared to the testcase 1 scenario, there will be the History Header used
for this. But also with diversion header it should work.

 

Subscriber:

Inbound_upn = PPI

Inbound_uprn = Forwarders NPN / Received Diversion

skip_upn_check_on_diversion = enabled

 

Peering:

outbound_from_user = UPN

outbound_from_display = none

outbound_pai_user = NPN

outbound_ppi_user = none

outbound_diversion = UPRN

outbound_history_info = UPRN

outbound_to_user = called user

 

 

Also calllog looks valid with this settings. I think there is a problem
internally by placing the "source_cli" for rate-o-mat or something like that

Do you have any idea about this?

 

Thank you.

 

 

 

 

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sipwise.com/mailman/private/spce-user_lists.sipwise.com/attachments/20180111/3d3f8fd1/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 5532 bytes
Desc: not available
URL: <http://lists.sipwise.com/mailman/private/spce-user_lists.sipwise.com/attachments/20180111/3d3f8fd1/attachment.p7s>


More information about the Spce-user mailing list