[Spce-user] Capturing additional fields into CDRs

Rene Krenn rkrenn at sipwise.com
Fri Apr 12 06:50:35 EDT 2019


> In the latest versions of NGCP, is it possible to do this via the GUI

We starte to prepare that meanwhile, see reseller preferences. Currently you can define the separator symbol and a source_cli+destination_user_in rewerite rule set for the exporter. More options are planned, maybe also specifying the export field list.

 

> since the header custmom rules can forward headers, I am wondering it if also allows injection into any of the caller / caller GPP fields?

Persisting sip header vlaues alongside cdrs was added meanwhile. You can include them in cdr exports using named columns. See

https://github.com/sipwise/ngcpcfg/commit/d50b1684688d30aab794e49c70b230a083f20ac6 

So far „Diversion“ and „P-Asserted-Identity“ header values are recorded.

 

br

 

Von: Spce-user [mailto:spce-user-bounces at lists.sipwise.com] Im Auftrag von Matthew Ogden
Gesendet: Mittwoch, 10. April 2019 15:22
An: Andreas Granig <agranig at sipwise.com>
Cc: spce-user <spce-user at lists.sipwise.com>
Betreff: Re: [Spce-user] Capturing additional fields into CDRs

 

Hi

 

Sorry to bring this up again.

 

In the latest versions of NGCP, is it possible to do this via the GUI, instead of always modifying the proxy template on each upgrade, since the header custmom rules can forward headers, I am wondering it if also allows injection into any of the caller / caller GPP fields?

 

Kind Regards

ᐧ

 

On Thu, 29 Jan 2015 at 21:49, Matthew Ogden <matthew at tenacit.net <mailto:matthew at tenacit.net> > wrote:

Thanks, I'll give that a go

 

On Thu, Jan 29, 2015 at 9:41 PM, Andreas Granig <agranig at sipwise.com <mailto:agranig at sipwise.com> > wrote:

Hello,

Create a custom proxy config template and populate the caller/callee-gpp
variables by extracting values from SIP headers.

Look specifically in routes ROUTE_ACC_CALLER and ROUTE_ACC_CALLEE, where
the gpp-string for accounting is constructed. Instead of using for
example $xavp(caller_real_prefs[0]=>gpp0) there, use $hdr(Your-Header)
to extract the value from the SIP message.

Andreas

On 01/29/2015 05:19 PM, Matthew Ogden wrote:
> Hi All
>
> Any suggestions here?
>
> Regards
>
> On Fri, Jan 23, 2015 at 2:58 PM, Matthew Ogden <matthew at tenacit.net <mailto:matthew at tenacit.net> 
> <mailto:matthew at tenacit.net <mailto:matthew at tenacit.net> >> wrote:
>
>     Hi Andreas
>
>     In my case, this is a single asterisk endpoint, that has multiple
>     endpoints behind it. I can make the asterisk instance send extra
>     headers for the additional info captured, but I need to write this
>     into my CDR somehow. (It cant be in the FROM or TO fields because
>     thats used for CallerID and destination, so I'm thinking the best
>     way is to pass the field in an additional header, and change the
>     template to store this somewhere I can access it?
>
>     (Whereas in the gpp on 3.6 its going to always store the same field
>     from the subscriber options - this is more dynamic per call)
>
>     Regards
>
>     On Tue, Nov 4, 2014 at 12:00 AM, Andreas Granig <agranig at sipwise.com <mailto:agranig at sipwise.com> 
>     <mailto:agranig at sipwise.com <mailto:agranig at sipwise.com> >> wrote:
>
>         Hi,
>
>         Upcoming v3.6 provides new subscriber preferences gpp0-gpp9 (general
>         purpose parameter), which are written to source_gpp0-9 and
>         destination_gpp0-9 in the cdrs.
>
>         Andreas
>
>         On 11/03/2014 03:57 PM, Matthew Ogden wrote:
>         > There was talk of a userfield being availble to CDRs in this thread
>         > http://lists.sipwise.com/pipermail/spce-user/2013-February/003001.html
>         ,
>         > is this available in 2.8, is there some otherfield I could use if its not?
>         >
>         >
>         >
>         > --
>         >
>         >
>         >
>         >
>         >
>         > *Matthew Ogden*
>         >
>         > Management
>         >
>         > TenacIT
>         >
>         >
>         >
>         >
>         >
>         > *Strategic IT Consulting *•*Advanced Networking *•
>         *Virtualisation***
>         >
>         > *Custom Development *•***Hosting *•***Syspro Support  *• *MS
>         Licensing***
>         >
>         > National Tel: 041 10 10 100 | Cell: 084 205 4445 | Email:
>         > matthew at tenacit.net <mailto:matthew at tenacit.net>  <mailto:matthew at tenacit.net <mailto:matthew at tenacit.net> >
>         <mailto:matthew at tenacit.net <mailto:matthew at tenacit.net>  <mailto:matthew at tenacit.net <mailto:matthew at tenacit.net> >>
>         >
>         > CT Tel: 021 201 0333 | Skype Name: matthew.ogden | Web:
>         > http://www.tenacit.net <http://www.tenacit.net/>
>         >
>         >
>         >
>         >
>         >
>         > _______________________________________________
>         > Spce-user mailing list
>         > Spce-user at lists.sipwise.com <mailto:Spce-user at lists.sipwise.com>  <mailto:Spce-user at lists.sipwise.com <mailto:Spce-user at lists.sipwise.com> >
>         > https://lists.sipwise.com/listinfo/spce-user
>         >
>         _______________________________________________
>         Spce-user mailing list
>         Spce-user at lists.sipwise.com <mailto:Spce-user at lists.sipwise.com>  <mailto:Spce-user at lists.sipwise.com <mailto:Spce-user at lists.sipwise.com> >
>         https://lists.sipwise.com/listinfo/spce-user

>
>
>
>
>     --
>
>
>
>
>
>     *Matthew Ogden*
>
>     Management
>
>     TenacIT
>
>
>
>
>
>     *Strategic IT Consulting *•*Advanced Networking *• *Virtualisation***
>
>     *Custom Development *•***Hosting *•***Syspro Support  *• *MS
>     Licensing***
>
>     National Tel: 041 10 10 100 | Cell: 084 205 4445 | Email:
>     matthew at tenacit.net <mailto:matthew at tenacit.net>  <mailto:matthew at tenacit.net <mailto:matthew at tenacit.net> >
>
>     CT Tel: 021 201 0333 | Skype Name: matthew.ogden | Web:
>     http://www.tenacit.net <http://www.tenacit.net/>
>
>
>
>
>
>
> --
>
>
>
>
>
> *Matthew Ogden*
>
> Management
>
> TenacIT
>
>
>
>
>
> *Strategic IT Consulting *•*Advanced Networking *• *Virtualisation***
>
> *Custom Development *•***Hosting *•***Syspro Support  *• *MS Licensing***
>
> National Tel: 041 10 10 100 | Cell: 084 205 4445 | Email:
> matthew at tenacit.net <mailto:matthew at tenacit.net>  <mailto:matthew at tenacit.net <mailto:matthew at tenacit.net> >
>
> CT Tel: 021 201 0333 | Skype Name: matthew.ogden | Web:
> http://www.tenacit.net <http://www.tenacit.net/>
>
>
>





 

-- 

 



 

Matthew Ogden

Management

TenacIT 

 

 

Strategic IT Consulting • Advanced Networking • Virtualisation 

Custom Development • Hosting • Syspro Support  • MS Licensing 

National Tel: 041 10 10 100 | Cell: 084 205 4445 | Email:  <mailto:matthew at tenacit.net> matthew at tenacit.net  

CT Tel: 021 201 0333 | Skype Name: matthew.ogden | Web:  <http://www.tenacit.net/> http://www.tenacit.net

    




 

-- 

 



 

Matthew Ogden

Management

TenacIT 

 

 

Strategic IT Consulting • Advanced Networking • Virtualisation 

Custom Development • Hosting • Syspro Support  • MS Licensing 

National Tel: 041 10 10 100 | Cell: 084 205 4445 | Email:  <mailto:matthew at tenacit.net> matthew at tenacit.net  

CT Tel: 021 201 0333 | Skype Name: matthew.ogden | Web:  <http://www.tenacit.net/> http://www.tenacit.net

    

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sipwise.com/pipermail/spce-user_lists.sipwise.com/attachments/20190412/4024e3e7/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ~WRD000.jpg
Type: image/jpeg
Size: 823 bytes
Desc: not available
URL: <http://lists.sipwise.com/pipermail/spce-user_lists.sipwise.com/attachments/20190412/4024e3e7/attachment-0002.jpg>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image002.jpg
Type: image/jpeg
Size: 702 bytes
Desc: not available
URL: <http://lists.sipwise.com/pipermail/spce-user_lists.sipwise.com/attachments/20190412/4024e3e7/attachment-0003.jpg>


More information about the Spce-user mailing list