<div dir="ltr">Thanks, I'll give that a go</div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Jan 29, 2015 at 9:41 PM, Andreas Granig <span dir="ltr"><<a href="mailto:agranig@sipwise.com" target="_blank">agranig@sipwise.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">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>
<span class=""><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">matthew@tenacit.net</a><br>
</span><span class="">> <mailto:<a href="mailto:matthew@tenacit.net">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">agranig@sipwise.com</a><br>
</span><span class="">> <mailto:<a href="mailto:agranig@sipwise.com">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">matthew@tenacit.net</a> <mailto:<a href="mailto:matthew@tenacit.net">matthew@tenacit.net</a>><br>
</span>> <mailto:<a href="mailto:matthew@tenacit.net">matthew@tenacit.net</a> <mailto:<a href="mailto:matthew@tenacit.net">matthew@tenacit.net</a>>><br>
<span class="">> ><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>
</span>> > <a href="mailto:Spce-user@lists.sipwise.com">Spce-user@lists.sipwise.com</a> <mailto:<a href="mailto:Spce-user@lists.sipwise.com">Spce-user@lists.sipwise.com</a>><br>
<span class="">> > <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>
</span>> <a href="mailto:Spce-user@lists.sipwise.com">Spce-user@lists.sipwise.com</a> <mailto:<a href="mailto:Spce-user@lists.sipwise.com">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>
<div class="HOEnZb"><div class="h5">><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">matthew@tenacit.net</a> <mailto:<a href="mailto:matthew@tenacit.net">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">matthew@tenacit.net</a> <mailto:<a href="mailto:matthew@tenacit.net">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>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr"><p> </p>
<p><span style="font-size:10.0pt;color:gray"><img src="http://www.tenacit.net/googlesig/tenacit.png" width="200" height="65"></span><span lang="EN-ZA" style="font-size:10.0pt;color:gray"></span></p>
<p><span lang="EN-ZA" style="font-size:10.0pt;color:black"> </span></p>
<p><b><span lang="EN-ZA" style="font-size:12.0pt;color:#79ae52">Matthew Ogden</span></b></p>
<p><span style="font-size:10.0pt;color:gray">Management</span></p>
<p><span style="font-size:10.0pt;color:gray">TenacIT
</span></p>
<p><span style="font-size:10.0pt;color:gray"> </span></p>
<p><span style="color:gray;font-size:10pt"> </span><br></p>
<p><b><span lang="EN-ZA">Strategic IT Consulting </span></b><span lang="EN-ZA" style="font-size:12.0pt;color:#79ae52">•</span><b><span lang="EN-ZA"> Advanced Networking </span></b><span lang="EN-ZA" style="font-size:12.0pt;color:#79ae52">• </span><b><span lang="EN-ZA">Virtualisation</span></b><span lang="EN-ZA" style="font-size:12.0pt;color:#79ae52"> </span><b><span lang="EN-ZA"></span></b></p>
<p><b><span lang="EN-ZA">Custom Development </span></b><span lang="EN-ZA" style="font-size:12.0pt;color:#79ae52">•</span><b><span lang="EN-ZA"> </span></b><b><span lang="EN-ZA">Hosting </span></b><span lang="EN-ZA" style="font-size:12.0pt;color:#79ae52">•</span><b><span lang="EN-ZA"> </span></b><b><span lang="EN-ZA">Syspro Support </span></b><span lang="EN-ZA" style="font-size:12.0pt;color:#79ae52">• </span><b><span lang="EN-ZA">MS Licensing</span></b><span lang="EN-ZA" style="font-size:12.0pt;color:#79ae52"> </span><b><span lang="EN-ZA"></span></b></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><span style="font-size:9.0pt;color:gray"></span></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><span lang="EN-ZA" style="font-size:9.0pt;color:#bce292;text-decoration:none"><a href="http://www.tenacit.net/" target="_blank">http://www.tenacit.net</a></span></p><p> <img src="http://www.tenacit.net/googlesig/bottom.png"></p></div></div>
</div>