<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:x="urn:schemas-microsoft-com:office:excel" 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=us-ascii"><meta name=Generator content="Microsoft Word 12 (filtered medium)"><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:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-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.MsoAcetate, li.MsoAcetate, div.MsoAcetate
        {mso-style-priority:99;
        mso-style-link:"Balloon Text Char";
        margin:0cm;
        margin-bottom:.0001pt;
        font-size:8.0pt;
        font-family:"Tahoma","sans-serif";}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
span.BalloonTextChar
        {mso-style-name:"Balloon Text Char";
        mso-style-priority:99;
        mso-style-link:"Balloon Text";
        font-family:"Tahoma","sans-serif";}
..MsoChpDefault
        {mso-style-type:export-only;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:72.0pt 72.0pt 72.0pt 72.0pt;}
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=EN-GB link=blue vlink=purple><div style="font-size: 12pt; font-family: Calibri,sans-serif;"><div><Nudge></div><div><br></div><div>Any thoughts on why carrier rating might not work as expected...?</div><div><br></div><div>Thanks,</div><div>Gavin</div><br><div id="htc_header">----- Reply message -----<br>From: "Gavin Sweet" <gavin.sweet@skyracktelecom.com><br>To: <spce-user@lists.sipwise.com><br>Subject: [Spce-user] Peer to peer transit calls - CDRs not properly      mediated/rated?<br>Date: Fri, Jan 31, 2014 17:34</div></div><br><div class=WordSection1><p class=MsoNormal>Hi all - <o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>We’ve been running Sipwise for a long time now with no problems generating correct CDR records for subscriber calls (applying billing profiles etc).<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>We have recently started operating in a transit type model for some peers and are having a problem with CDRs for peer to peer transit calls.<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Calls generate CDR records but they do not contain the expected/correct data in the cost and zone fields, they come out as:  '0.00','0.00','onnet','','platform internal','', <o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>E.g.(anonymised):<o:p></o:p></p><p class=MsoNormal><span style='font-size:10.0pt;font-family:"Courier New"'>'1002396','2014-01-31 15:56:44','0','2','','','','0','02391111111','xxx.yyy.zzz.195','442391111111','0','','0','7','','','','','0','aaa.bbb.ccc.25','441152222222','109.239.110.182','','','call','ok','200','2014-01-31 15:51:02.864','2014-01-31 15:51:07.780','331.830','35585-3600172261-853630@MSX28.foobar.com','ok','2014-01-31 15:56:44','0.00','0.00','onnet','','platform internal','','01152222222','0','0'<o:p></o:p></span></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>These peering contracts are all setup using exactly the same billing profile as that used for the carrier profile in the subscriber calls that do work properly, so I cant see that it is a problem with the profile.<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>For instance the destination fee profile that should match the above is configured as  ^4411[5].{7}$  which works everywhere else for such a call.<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Any one seen a similar problem?<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Cheers<o:p></o:p></p><p class=MsoNormal>Gavin<o:p></o:p></p></div></body></html>