<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=utf-8"><meta name=Generator content="Microsoft Word 15 (filtered medium)"><!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]--><style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Gadugi;
        panose-1:2 11 5 2 4 2 4 2 2 3;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman",serif;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p
        {mso-style-priority:99;
        mso-margin-top-alt:auto;
        margin-right:0cm;
        mso-margin-bottom-alt:auto;
        margin-left:0cm;
        font-size:12.0pt;
        font-family:"Times New Roman",serif;}
span.E-MailFormatvorlage18
        {mso-style-type:personal-reply;
        font-family:"Calibri",sans-serif;
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;
        font-family:"Calibri",sans-serif;
        mso-fareast-language:EN-US;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:70.85pt 70.85pt 2.0cm 70.85pt;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=DE-AT link=blue vlink=purple><div class=WordSection1><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US'>></span> In the latest versions of NGCP, is it possible to do this via the GUI<o:p></o:p></p><p class=MsoNormal>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.<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US'>></span> since the header custmom rules can forward headers, I am wondering it if also allows injection into any of the caller / caller GPP fields?<o:p></o:p></p><p class=MsoNormal>Persisting sip header vlaues alongside cdrs was added meanwhile. You can include them in cdr exports using named columns. See<o:p></o:p></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US'><a href="https://github.com/sipwise/ngcpcfg/commit/d50b1684688d30aab794e49c70b230a083f20ac6">https://github.com/sipwise/ngcpcfg/commit/d50b1684688d30aab794e49c70b230a083f20ac6</a> <o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US'>So far „</span>Diversion“ and „P-Asserted-Identity“ header values are recorded.<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>br<span style='font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US'><o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US'><o:p> </o:p></span></p><p class=MsoNormal><b><span lang=DE style='font-size:11.0pt;font-family:"Calibri",sans-serif'>Von:</span></b><span lang=DE style='font-size:11.0pt;font-family:"Calibri",sans-serif'> Spce-user [mailto:spce-user-bounces@lists.sipwise.com] <b>Im Auftrag von </b>Matthew Ogden<br><b>Gesendet:</b> Mittwoch, 10. April 2019 15:22<br><b>An:</b> Andreas Granig <agranig@sipwise.com><br><b>Cc:</b> spce-user <spce-user@lists.sipwise.com><br><b>Betreff:</b> Re: [Spce-user] Capturing additional fields into CDRs<o:p></o:p></span></p><p class=MsoNormal><o:p> </o:p></p><div><p class=MsoNormal>Hi<o:p></o:p></p><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>Sorry to bring this up again.<o:p></o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>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?<o:p></o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>Kind Regards<o:p></o:p></p></div></div><div><p class=MsoNormal><span style='border:solid windowtext 1.0pt;padding:0cm'><img border=0 width=100 height=100 id="Bild_x0020_1" src="cid:~WRD000.jpg" alt="Das Bild wurde vom Absender entfernt."></span><span style='font-size:7.5pt;font-family:"Gadugi",sans-serif;color:white'>ᐧ</span><o:p></o:p></p></div><p class=MsoNormal><o:p> </o:p></p><div><div><p class=MsoNormal>On Thu, 29 Jan 2015 at 21:49, Matthew Ogden <<a href="mailto:matthew@tenacit.net">matthew@tenacit.net</a>> wrote:<o:p></o:p></p></div><blockquote style='border:none;border-left:solid #CCCCCC 1.0pt;padding:0cm 0cm 0cm 6.0pt;margin-left:4.8pt;margin-top:5.0pt;margin-right:0cm;margin-bottom:5.0pt'><div><p class=MsoNormal>Thanks, I'll give that a go<o:p></o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p><div><p class=MsoNormal>On Thu, Jan 29, 2015 at 9:41 PM, Andreas Granig <<a href="mailto:agranig@sipwise.com" target="_blank">agranig@sipwise.com</a>> wrote:<o:p></o:p></p><blockquote style='border:none;border-left:solid #CCCCCC 1.0pt;padding:0cm 0cm 0cm 6.0pt;margin-left:4.8pt;margin-top:5.0pt;margin-right:0cm;margin-bottom:5.0pt'><p class=MsoNormal>Hello,<br><br>Create a custom proxy config template and populate the caller/callee-gpp<br>variables by extracting values from SIP headers.<br><br>Look specifically in routes ROUTE_ACC_CALLER and ROUTE_ACC_CALLEE, where<br>the gpp-string for accounting is constructed. Instead of using for<br>example $xavp(caller_real_prefs[0]=>gpp0) there, use $hdr(Your-Header)<br>to extract the value from the SIP message.<br><br>Andreas<br><br>On 01/29/2015 05:19 PM, Matthew Ogden wrote:<br>> Hi All<br>><br>> Any suggestions here?<br>><br>> Regards<br>><br>> On Fri, Jan 23, 2015 at 2:58 PM, Matthew Ogden <<a href="mailto:matthew@tenacit.net" target="_blank">matthew@tenacit.net</a><br>> <mailto:<a href="mailto:matthew@tenacit.net" target="_blank">matthew@tenacit.net</a>>> wrote:<br>><br>>     Hi Andreas<br>><br>>     In my case, this is a single asterisk endpoint, that has multiple<br>>     endpoints behind it. I can make the asterisk instance send extra<br>>     headers for the additional info captured, but I need to write this<br>>     into my CDR somehow. (It cant be in the FROM or TO fields because<br>>     thats used for CallerID and destination, so I'm thinking the best<br>>     way is to pass the field in an additional header, and change the<br>>     template to store this somewhere I can access it?<br>><br>>     (Whereas in the gpp on 3.6 its going to always store the same field<br>>     from the subscriber options - this is more dynamic per call)<br>><br>>     Regards<br>><br>>     On Tue, Nov 4, 2014 at 12:00 AM, Andreas Granig <<a href="mailto:agranig@sipwise.com" target="_blank">agranig@sipwise.com</a><br>>     <mailto:<a href="mailto:agranig@sipwise.com" target="_blank">agranig@sipwise.com</a>>> wrote:<br>><br>>         Hi,<br>><br>>         Upcoming v3.6 provides new subscriber preferences gpp0-gpp9 (general<br>>         purpose parameter), which are written to source_gpp0-9 and<br>>         destination_gpp0-9 in the cdrs.<br>><br>>         Andreas<br>><br>>         On 11/03/2014 03:57 PM, Matthew Ogden wrote:<br>>         > There was talk of a userfield being availble to CDRs in this thread<br>>         > <a href="http://lists.sipwise.com/pipermail/spce-user/2013-February/003001.html" target="_blank">http://lists.sipwise.com/pipermail/spce-user/2013-February/003001.html</a><br>>         ,<br>>         > is this available in 2.8, is there some otherfield I could use if its not?<br>>         ><br>>         ><br>>         ><br>>         > --<br>>         ><br>>         ><br>>         ><br>>         ><br>>         ><br>>         > *Matthew Ogden*<br>>         ><br>>         > Management<br>>         ><br>>         > TenacIT<br>>         ><br>>         ><br>>         ><br>>         ><br>>         ><br>>         > *Strategic IT Consulting *•*Advanced Networking *•<br>>         *Virtualisation***<br>>         ><br>>         > *Custom Development *•***Hosting *•***Syspro Support  *• *MS<br>>         Licensing***<br>>         ><br>>         > National Tel: 041 10 10 100 | Cell: 084 205 4445 | Email:<br>>         > <a href="mailto:matthew@tenacit.net" target="_blank">matthew@tenacit.net</a> <mailto:<a href="mailto:matthew@tenacit.net" target="_blank">matthew@tenacit.net</a>><br>>         <mailto:<a href="mailto:matthew@tenacit.net" target="_blank">matthew@tenacit.net</a> <mailto:<a href="mailto:matthew@tenacit.net" target="_blank">matthew@tenacit.net</a>>><br>>         ><br>>         > CT Tel: 021 201 0333 | Skype Name: matthew.ogden | Web:<br>>         > <a href="http://www.tenacit.net" target="_blank">http://www.tenacit.net</a> <<a href="http://www.tenacit.net/" target="_blank">http://www.tenacit.net/</a>><br>>         ><br>>         ><br>>         ><br>>         ><br>>         ><br>>         > _______________________________________________<br>>         > Spce-user mailing list<br>>         > <a href="mailto:Spce-user@lists.sipwise.com" target="_blank">Spce-user@lists.sipwise.com</a> <mailto:<a href="mailto:Spce-user@lists.sipwise.com" target="_blank">Spce-user@lists.sipwise.com</a>><br>>         > <a href="https://lists.sipwise.com/listinfo/spce-user" target="_blank">https://lists.sipwise.com/listinfo/spce-user</a><br>>         ><br>>         _______________________________________________<br>>         Spce-user mailing list<br>>         <a href="mailto:Spce-user@lists.sipwise.com" target="_blank">Spce-user@lists.sipwise.com</a> <mailto:<a href="mailto:Spce-user@lists.sipwise.com" target="_blank">Spce-user@lists.sipwise.com</a>><br>>         <a href="https://lists.sipwise.com/listinfo/spce-user" target="_blank">https://lists.sipwise.com/listinfo/spce-user</a><o:p></o:p></p><div><div><p class=MsoNormal>><br>><br>><br>><br>>     --<br>><br>><br>><br>><br>><br>>     *Matthew Ogden*<br>><br>>     Management<br>><br>>     TenacIT<br>><br>><br>><br>><br>><br>>     *Strategic IT Consulting *•*Advanced Networking *• *Virtualisation***<br>><br>>     *Custom Development *•***Hosting *•***Syspro Support  *• *MS<br>>     Licensing***<br>><br>>     National Tel: 041 10 10 100 | Cell: 084 205 4445 | Email:<br>>     <a href="mailto:matthew@tenacit.net" target="_blank">matthew@tenacit.net</a> <mailto:<a href="mailto:matthew@tenacit.net" target="_blank">matthew@tenacit.net</a>><br>><br>>     CT Tel: 021 201 0333 | Skype Name: matthew.ogden | Web:<br>>     <a href="http://www.tenacit.net" target="_blank">http://www.tenacit.net</a> <<a href="http://www.tenacit.net/" target="_blank">http://www.tenacit.net/</a>><br>><br>><br>><br>><br>><br>><br>> --<br>><br>><br>><br>><br>><br>> *Matthew Ogden*<br>><br>> Management<br>><br>> TenacIT<br>><br>><br>><br>><br>><br>> *Strategic IT Consulting *•*Advanced Networking *• *Virtualisation***<br>><br>> *Custom Development *•***Hosting *•***Syspro Support  *• *MS Licensing***<br>><br>> National Tel: 041 10 10 100 | Cell: 084 205 4445 | Email:<br>> <a href="mailto:matthew@tenacit.net" target="_blank">matthew@tenacit.net</a> <mailto:<a href="mailto:matthew@tenacit.net" target="_blank">matthew@tenacit.net</a>><br>><br>> CT Tel: 021 201 0333 | Skype Name: matthew.ogden | Web:<br>> <a href="http://www.tenacit.net" target="_blank">http://www.tenacit.net</a> <<a href="http://www.tenacit.net/" target="_blank">http://www.tenacit.net/</a>><br>><br>><br>><o:p></o:p></p></div></div></blockquote></div><p class=MsoNormal><br><br clear=all><o:p></o:p></p><div><p class=MsoNormal><o:p> </o:p></p></div><p class=MsoNormal>-- <o:p></o:p></p><div><div><p> <o:p></o:p></p><p><span style='font-size:10.0pt;color:gray;border:solid windowtext 1.0pt;padding:0cm'><img border=0 width=200 height=65 id="Bild_x0020_6" src="cid:image002.jpg@01D4F12E.52231ED0" alt="Das Bild wurde vom Absender entfernt."></span><o:p></o:p></p><p><span lang=EN-ZA style='font-size:10.0pt;color:black'> </span><o:p></o:p></p><p><b><span lang=EN-ZA style='color:#79AE52'>Matthew Ogden</span></b><o:p></o:p></p><p><span style='font-size:10.0pt;color:gray'>Management</span><o:p></o:p></p><p><span style='font-size:10.0pt;color:gray'>TenacIT </span><o:p></o:p></p><p><span style='font-size:10.0pt;color:gray'> </span><o:p></o:p></p><p><span style='font-size:10.0pt;color:gray'> </span><o:p></o:p></p><p><b><span lang=EN-ZA>Strategic IT Consulting </span></b><span lang=EN-ZA style='color:#79AE52'>•</span><b><span lang=EN-ZA> Advanced Networking </span></b><span lang=EN-ZA style='color:#79AE52'>• </span><b><span lang=EN-ZA>Virtualisation</span></b><span lang=EN-ZA style='color:#79AE52'> </span><o:p></o:p></p><p><b><span lang=EN-ZA>Custom Development </span></b><span lang=EN-ZA style='color:#79AE52'>•</span><b><span lang=EN-ZA> Hosting </span></b><span lang=EN-ZA style='color:#79AE52'>•</span><b><span lang=EN-ZA> Syspro Support  </span></b><span lang=EN-ZA style='color:#79AE52'>• </span><b><span lang=EN-ZA>MS Licensing</span></b><span lang=EN-ZA style='color:#79AE52'> </span><o:p></o:p></p><p><span lang=EN-ZA style='font-size:9.0pt;color:#A6A6A6'>National Tel: </span><span lang=EN-ZA style='font-size:9.0pt;color:gray'>041 10 10 100 | </span><span lang=EN-ZA style='font-size:9.0pt;color:#A6A6A6'>Cell: </span><span lang=EN-ZA style='font-size:9.0pt;color:gray'>084 205 4445 | </span><span lang=EN-ZA style='font-size:9.0pt;color:#A6A6A6'>Email: </span><a href="mailto:matthew@tenacit.net" target="_blank"><span style='font-size:9.0pt;color:gray;text-decoration:none'>matthew@tenacit.net</span></a><span style='font-size:9.0pt;color:#44546A'>  </span><o:p></o:p></p><p><span lang=EN-ZA style='font-size:9.0pt;color:#A6A6A6'>CT Tel: </span><span lang=EN-ZA style='font-size:9.0pt;color:gray'>021 201 0333 | </span><span lang=EN-ZA style='font-size:9.0pt;color:#A6A6A6'>Skype Name: </span><span lang=EN-ZA style='font-size:9.0pt;color:gray'>matthew.ogden | </span><span lang=EN-ZA style='font-size:9.0pt;color:#A6A6A6'>Web: </span><a href="http://www.tenacit.net/" target="_blank"><span lang=EN-ZA style='font-size:9.0pt'>http://www.tenacit.net</span></a><o:p></o:p></p><p>    <span style='border:solid windowtext 1.0pt;padding:0cm'><img border=0 width=100 height=100 id="Bild_x0020_3" src="cid:~WRD000.jpg" alt="Das Bild wurde vom Absender entfernt."></span><o:p></o:p></p></div></div></div></blockquote></div><p class=MsoNormal><br clear=all><o:p></o:p></p><div><p class=MsoNormal><o:p> </o:p></p></div><p class=MsoNormal>-- <o:p></o:p></p><div><div><p> <o:p></o:p></p><p><span style='font-size:10.0pt;color:gray;border:solid windowtext 1.0pt;padding:0cm'><img border=0 width=200 height=65 id="Bild_x0020_7" src="cid:image002.jpg@01D4F12E.52231ED0" alt="Das Bild wurde vom Absender entfernt."></span><o:p></o:p></p><p><span lang=EN-ZA style='font-size:10.0pt;color:black'> </span><o:p></o:p></p><p><b><span lang=EN-ZA style='color:#79AE52'>Matthew Ogden</span></b><o:p></o:p></p><p><span style='font-size:10.0pt;color:gray'>Management</span><o:p></o:p></p><p><span style='font-size:10.0pt;color:gray'>TenacIT </span><o:p></o:p></p><p><span style='font-size:10.0pt;color:gray'> </span><o:p></o:p></p><p><span style='font-size:10.0pt;color:gray'> </span><o:p></o:p></p><p><b><span lang=EN-ZA>Strategic IT Consulting </span></b><span lang=EN-ZA style='color:#79AE52'>•</span><b><span lang=EN-ZA> Advanced Networking </span></b><span lang=EN-ZA style='color:#79AE52'>• </span><b><span lang=EN-ZA>Virtualisation</span></b><span lang=EN-ZA style='color:#79AE52'> </span><o:p></o:p></p><p><b><span lang=EN-ZA>Custom Development </span></b><span lang=EN-ZA style='color:#79AE52'>•</span><b><span lang=EN-ZA> Hosting </span></b><span lang=EN-ZA style='color:#79AE52'>•</span><b><span lang=EN-ZA> Syspro Support  </span></b><span lang=EN-ZA style='color:#79AE52'>• </span><b><span lang=EN-ZA>MS Licensing</span></b><span lang=EN-ZA style='color:#79AE52'> </span><o:p></o:p></p><p><span lang=EN-ZA style='font-size:9.0pt;color:#A6A6A6'>National Tel: </span><span lang=EN-ZA style='font-size:9.0pt;color:gray'>041 10 10 100 | </span><span lang=EN-ZA style='font-size:9.0pt;color:#A6A6A6'>Cell: </span><span lang=EN-ZA style='font-size:9.0pt;color:gray'>084 205 4445 | </span><span lang=EN-ZA style='font-size:9.0pt;color:#A6A6A6'>Email: </span><a href="mailto:matthew@tenacit.net" target="_blank"><span style='font-size:9.0pt;color:gray;text-decoration:none'>matthew@tenacit.net</span></a><span style='font-size:9.0pt;color:#44546A'>  </span><o:p></o:p></p><p><span lang=EN-ZA style='font-size:9.0pt;color:#A6A6A6'>CT Tel: </span><span lang=EN-ZA style='font-size:9.0pt;color:gray'>021 201 0333 | </span><span lang=EN-ZA style='font-size:9.0pt;color:#A6A6A6'>Skype Name: </span><span lang=EN-ZA style='font-size:9.0pt;color:gray'>matthew.ogden | </span><span lang=EN-ZA style='font-size:9.0pt;color:#A6A6A6'>Web: </span><a href="http://www.tenacit.net/" target="_blank"><span lang=EN-ZA style='font-size:9.0pt'>http://www.tenacit.net</span></a><o:p></o:p></p><p>    <span style='border:solid windowtext 1.0pt;padding:0cm'><img border=0 width=100 height=100 id="Bild_x0020_5" src="cid:~WRD000.jpg" alt="Das Bild wurde vom Absender entfernt."></span><o:p></o:p></p></div></div></div></body></html>