[Spce-user] Peer billing?

Skyler skchopperguy at gmail.com
Tue Sep 27 06:39:59 EDT 2011

Hi Daniel,

On Sat, 2011-09-24 at 13:10 +0200, Daniel Tiefnig wrote:
> On 09/24/2011 03:15 AM, Skyler wrote:
> > Hi all,
> Hej Skyler,
> > My question: Is it possible to rate inbound&  outbound calls for a
> > peer or am I going in the wrong direction?
> It is currently not possible to rate inbound calls, as these usually do
> not incur fees on a Class5 platform. (At best the operator will get some
> termination fees, although also this is not very common with SIP
> interconnects.) It's on our list, but won't be available until the
> release after next, i.e. at or about beginning of Q2 2012.
> br,
> daniel

 Oh right, I forgot about this. 

 I have an idea about doing calculations from cdr to determine the
concurrent inbound call usage per upstream peer and having this
available via API. How can I learn more or where can I look at existing
code to learn about the way get_voip_account_fees is done in ngcp API?

 My goal is not really about fees, its about grouping and reporting
numbers that can be used to compare upstream billing; BUT if I can
create this using get_voip_account_fees structure as a reference, it may
be useful for others too.


More information about the Spce-user mailing list