<html><body><div style="font-family: arial, helvetica, sans-serif; font-size: 10pt; color: #000000"><p>Hi guys, Matthias' solution is ok because the billing of incoming calls cannot be on-net but only from external CLIs</p>
<div class="signature-div">
<div class="" style="font-family: 'segoe ui' , 'lucida sans' , sans-serif; font-size: 14.16px;"><strong class=""><span class="" style="font-family: 'arial' , 'helvetica' , sans-serif; font-size: small;">&nbsp;</span></strong></div>
<div class="" style="font-family: 'segoe ui' , 'lucida sans' , sans-serif; font-size: 14.16px;"><strong class=""><span class="" style="font-family: 'arial' , 'helvetica' , sans-serif; font-size: small;">&nbsp;----</span></strong></div>
<div class="" style="font-family: 'segoe ui' , 'lucida sans' , sans-serif; font-size: 14.16px;"><strong class=""><span class="" style="font-family: 'arial' , 'helvetica' , sans-serif; font-size: small;">Cappellari Danny</span></strong></div>
<div class=""><span class="" style="font-size: 10pt;"><span style="font-family: 'calibri' , 'helvetica' , sans-serif , 'open sans'; font-size: 14.6667px;">Responsabile Supporto Tecnico</span>&nbsp;|&nbsp;<span class="" style="color: #000080;"><strong class="">ConnectLife S.r.l</strong></span></span></div>
<div>&nbsp;</div>
<div class=""><span class="" style="font-size: 10pt;">Tel.&nbsp;<span id="OBJ_PREFIX_DWT183_com_zimbra_phone" class="Object" style="color: #005a95;"><a style="color: #005a95;">+39 045 2081019</a></span>&nbsp;| Mobile:&nbsp;<span id="OBJ_PREFIX_DWT184_com_zimbra_phone" class="Object" style="color: #005a95;"><a style="color: #005a95;">+39 392 4206436</a></span></span></div>
<div class=""><span class="" style="font-size: 10pt;"><span id="OBJ_PREFIX_DWT185_ZmEmailObjectHandler" class="Object" style="color: #005a95;"><span id="OBJ_PREFIX_DWT193_ZmEmailObjectHandler" class="Object"><a style="color: #005a95;" href="mailto:cappellari@connectlife.it" target="_blank" rel="nofollow noopener noreferrer nofollow noopener noreferrer nofollow noopener noreferrer nofollow noopener noreferrer nofollow noopener noreferrer nofollow noopener noreferrer nofollow noopener noreferrer nofollow noopener noreferrer nofollow noopener noreferrer nofollow noopener noreferrer nofollow noopener noreferrer nofollow noopener noreferrer">cappellari@connectlife.it</a></span></span></span></div>
<div style="font-family: 'helvetica'; font-size: 12px;">&nbsp;</div>
<div style="font-family: 'helvetica'; font-size: 12px;"><img src="https://webmail.connectlife.it/services/files/public/link/download/5HZBuwrtqzqqdPRaiJ54otRkbgM0tSn0" width="562" height="132"></div>
<div class="" style="font-family: 'segoe ui' , 'lucida sans' , sans-serif; font-size: 14.16px;"><br>
<div style="font-family: 'helvetica'; text-align: justify;"><span class="" style="color: #383838; font-family: 'helvetica' , sans-serif;"><span class="" style="font-size: xx-small;">Questo documento č formato esclusivamente per il destinatario. Tutte le informazioni ivi contenute, compresi&nbsp;</span></span><span class="" style="font-size: x-small; color: #383838; font-family: 'helvetica' , sans-serif;">eventuali allegati, </span><span class="" style="font-size: x-small; color: #383838; font-family: 'helvetica' , sans-serif;">sono da ritenere esclusivamente confidenziali e riservate secondo i termini del vigente D.Lgs.&nbsp;</span><span class="" style="font-size: x-small; color: #383838; font-family: 'helvetica' , sans-serif;">196/2003 in materia di privacy e </span><span class="" style="font-size: x-small; color: #383838; font-family: 'helvetica' , sans-serif;">del Regolamento europeo 679/2016 \u2013 GDPR- &nbsp;e quindi ne č proibita l\u2019utilizzazione&nbsp;</span><span class="" style="font-size: x-small; color: #383838; font-family: 'helvetica' , sans-serif;">ulteriore non autorizzata. Se avete ricevuto </span><span class="" style="font-size: x-small; color: #383838; font-family: 'helvetica' , sans-serif;">per errore questo messaggio, Vi preghiamo cortesemente di contattare&nbsp;</span><span class="" style="font-size: x-small; color: #383838; font-family: 'helvetica' , sans-serif;">immediatamente il mittente e cancellare la e-mail.<br></span></div>
</div>
</div>
<p><br><br></p>
<hr id="zwchr">
<div style="color: black; font-size: 12pt; font-family: tahoma, arial, helvetica, sans-serif;"><strong>Da:</strong> "Matthias Hohl" &lt;matthias.hohl@telematica.at&gt; <br><strong>A:</strong> "'Vincent Dubois'" &lt;vdubois@b2b2c.com&gt;, "'Danny Cappellari'" &lt;cappellari@connectlife.it&gt;, "undefined" &lt;spce-user@lists.sipwise.com&gt; <br><strong>Inviato:</strong> lunedě 28 aprile 2025 17:31 <br><strong>Oggetto:</strong> AW: [Spce-user] Incoming call CDR <br><br>
<div class="WordSection1">
<p class="MsoNormal"><span style="font-size: 11pt;">Hey Vincent,</span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size: 11pt;">yes you are sure, I have forgotten about on-net calls.</span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size: 11pt;">There you need to look bit deeper and take &lt;source_customer_cost&gt; and &lt;dest_customer_cost&gt; from the same CDR line to bill a call from subscriber A to subscriber B.</span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size: 11pt;">But basically the identification of inbound and outbound is true. Just the on-net calls need to be fished out with another logic of source/dest customer costs.</span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size: 11pt;">&nbsp;</span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size: 11pt;">&nbsp;</span></p>
<div>
<div style="border: none; border-top: solid #e1e1e1 1pt; padding: 3pt 0cm 0cm 0cm;">
<p class="MsoNormal"><strong><span lang="DE" style="font-size: 11pt; font-family: 'calibri' , sans-serif;">Von:</span></strong><span lang="DE" style="font-size: 11pt; font-family: 'calibri' , sans-serif;"> Vincent Dubois &lt;vdubois@b2b2c.com&gt; <br><strong>Gesendet:</strong> Montag, 28. April 2025 14:38<br><strong>An:</strong> 'Danny Cappellari' &lt;cappellari@connectlife.it&gt;; spce-user@lists.sipwise.com<br><strong>Betreff:</strong> Re: [Spce-user] Incoming call CDR</span></p>
</div>
</div>
<p class="MsoNormal">&nbsp;</p>
<p class="MsoNormal"><span lang="EN-CA" style="font-size: 11pt; font-family: 'calibri' , sans-serif;">Not exactly true, what he suggested would make you miss some inbound calls. You can not separate in and out CDR for the simple reason that a CDR could be both.</span></p>
<p class="MsoNormal"><span lang="EN-CA" style="font-size: 11pt; font-family: 'calibri' , sans-serif;">&nbsp;</span></p>
<p class="MsoNormal"><span lang="EN-CA" style="font-size: 11pt; font-family: 'calibri' , sans-serif;">If one of your customers could call another one of your customers, then the same CDR will be outgoing for one customer and incoming for the other customer.</span></p>
<p class="MsoNormal"><span lang="EN-CA" style="font-size: 11pt; font-family: 'calibri' , sans-serif;">&nbsp;</span></p>
<p class="MsoNormal"><span lang="EN-CA" style="font-size: 11pt; font-family: 'calibri' , sans-serif;">You should have a system that checks every CDR, and bill the source_user and/or destination_user(_in) depending on your rules.</span></p>
<p class="MsoNormal"><span lang="EN-CA" style="font-size: 11pt; font-family: 'calibri' , sans-serif;">If you need to separate them, you will have to make duplicates sometimes.</span></p>
<p class="MsoNormal"><span lang="EN-CA" style="font-size: 11pt; font-family: 'calibri' , sans-serif;">&nbsp;</span></p>
<div>
<p class="MsoNormal" style="margin-left: 5.15pt; line-height: 10.3pt;"><strong><span lang="FR-CA" style="font-size: 9pt; font-family: 'arial' , sans-serif;">Vincent Dubois<span style="color: #005a8a; letter-spacing: -0.1pt;"> </span></span></strong><span lang="FR-CA" style="font-size: 9pt; font-family: 'arial' , sans-serif;">|<span style="letter-spacing: -0.25pt;"> </span><span style="color: black; background: white;">Analyste programmeur</span></span></p>
<p class="MsoNormal" style="margin-right: 0cm; margin-bottom: 0.0001pt; margin-left: 5.15pt;"><strong><span lang="FR-CA" style="font-size: 9pt; font-family: 'arial' , sans-serif; letter-spacing: -0.1pt;">B2B2C</span></strong></p>
<p class="MsoNormal" style="margin-right: 60.2pt; margin-bottom: 0.0001pt; margin-left: 5.15pt; line-height: 115%;"><span lang="FR-CA" style="font-size: 9pt; line-height: 115%; font-family: 'arial' , sans-serif;">514-908-5420</span></p>
</div>
<p class="MsoNormal"><span lang="FR-CA" style="font-size: 11pt; font-family: 'calibri' , sans-serif;">&nbsp;</span></p>
<div>
<div style="border: none; border-top: solid #e1e1e1 1pt; padding: 3pt 0cm 0cm 0cm;">
<p class="MsoNormal"><strong><span lang="EN-US" style="font-size: 11pt; font-family: 'calibri' , sans-serif;">From:</span></strong><span lang="EN-US" style="font-size: 11pt; font-family: 'calibri' , sans-serif;"> Matthias Hohl &lt;<a href="mailto:matthias.hohl@telematica.at" target="_blank" rel="nofollow noopener noreferrer">matthias.hohl@telematica.at</a>&gt; <br><strong>Sent:</strong> April 28, 2025 6:14 AM<br><strong>To:</strong> 'Danny Cappellari' &lt;<a href="mailto:cappellari@connectlife.it" target="_blank" rel="nofollow noopener noreferrer">cappellari@connectlife.it</a>&gt;; <a href="mailto:spce-user@lists.sipwise.com" target="_blank" rel="nofollow noopener noreferrer">spce-user@lists.sipwise.com</a><br><strong>Subject:</strong> Re: [Spce-user] Incoming call CDR</span></p>
</div>
</div>
<p class="MsoNormal"><span lang="EN-CA">&nbsp;</span></p>
<table class="MsoNormalTable" style="width: 100%;" border="0" width="100%" cellspacing="0" cellpadding="0" align="left">
<tbody>
<tr>
<td style="width: 0.3pt; background: #a6a6a6; padding: 5.25pt 1.5pt 5.25pt 1.5pt;" width="0">&nbsp;</td>
<td style="width: !important; background: !important; padding: !important; aspect-ratio: !important; block-size: !important; border: !important; bottom: !important; color: !important; color-scheme: !important; content-visibility: !important; cursor: !important; direction: !important; display: !important; font-size: !important; height: !important; hyphens: !important; letter-spacing: !important; line-height: !important; margin: !important; opacity: !important; order: !important; outline: !important; overflow: !important; position: !important; resize: !important; rotate: !important; scale: !important; tab-size: !important; table-layout: !important; text-align: !important; text-indent: !important; text-orientation: !important; text-overflow: !important; text-shadow: !important; text-transform: !important; text-wrap: !important; top: !important; transition: !important; user-select: !important; vertical-align: !important; visibility: !important; white-space: !important; word-break: !important; word-spacing: !important; writing-mode: !important; zoom: !important;" width="100%">
<div>
<p class="MsoNormal"><span style="font-size: 9pt; font-family: 'segoe ui' , sans-serif; color: #212121;">You don't often get email from <a href="mailto:matthias.hohl@telematica.at" target="_blank" rel="nofollow noopener noreferrer">matthias.hohl@telematica.at</a>. <a href="https://aka.ms/LearnAboutSenderIdentification" target="_blank" rel="nofollow noopener noreferrer">Learn why this is important</a> </span></p>
</div>
</td>
<td style="width: !important; background: !important; padding: !important; aspect-ratio: !important; block-size: !important; border: !important; bottom: !important; color: !important; color-scheme: !important; content-visibility: !important; cursor: !important; direction: !important; display: !important; font-size: !important; height: !important; hyphens: !important; letter-spacing: !important; line-height: !important; margin: !important; opacity: !important; order: !important; outline: !important; overflow: !important; position: !important; resize: !important; rotate: !important; scale: !important; tab-size: !important; table-layout: !important; text-align: !important; text-indent: !important; text-orientation: !important; text-overflow: !important; text-shadow: !important; text-transform: !important; text-wrap: !important; top: !important; transition: !important; user-select: !important; vertical-align: !important; visibility: !important; white-space: !important; word-break: !important; word-spacing: !important; writing-mode: !important; zoom: !important; align: !important;" width="75">&nbsp;</td>
</tr>
</tbody>
</table>
<div>
<div style="border: solid #9c6500 1pt; padding: 2pt 2pt 2pt 2pt;">
<p class="MsoNormal" style="line-height: 12pt; background: #ffeb9c;"><span style="font-size: 10pt; font-family: 'calibri' , sans-serif; color: #9c6500;">CAUTION :</span><span style="font-size: 10pt; font-family: 'calibri' , sans-serif; color: black;"> External Mail. Do not click on links or open attachments you do not trust.<br></span><span style="font-size: 10pt; font-family: 'calibri' , sans-serif; color: #9c6500;">ATTENTION : </span><span style="font-size: 10pt; font-family: 'calibri' , sans-serif; color: black;">Courriel externe. Ne cliquez pas sur des liens et n'ouvrez pas de pičces jointes auxquels vous ne faites pas confiance.</span></p>
</div>
<p class="MsoNormal">&nbsp;</p>
<div>
<p class="MsoNormal"><span lang="EN-US" style="font-size: 11pt;">You can easily idenfity a incoming and outcoming call by the tables in the CDR file.<br>so there is basically no separation needed.</span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size: 11pt;">&nbsp;</span></p>
<p class="MsoNormal"><span style="font-size: 11pt;">&nbsp;</span></p>
<p class="MsoNormal"><span style="font-size: 11pt;">OUTBOUND:</span></p>
<p class="MsoNormal"><span style="font-size: 11pt;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; IF </span></p>
<p class="MsoNormal"><span style="font-size: 11pt;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span><span lang="EN-US" style="font-size: 11pt;">"&lt;source_account_id&gt;" IS NOT "0" </span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size: 11pt;">&nbsp;</span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size: 11pt;">&nbsp;</span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size: 11pt;">INBOUND:</span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size: 11pt;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; IF</span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size: 11pt;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; "&lt;source_account_id&gt;" IS "0" </span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size: 11pt;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; AND</span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size: 11pt;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; "&lt;destination_customer_cost&gt;" IS NOT "0"</span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size: 11pt;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; OR</span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size: 11pt;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; "&lt;destination_customer_cost&gt;" IS "0"</span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size: 11pt;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; AND</span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size: 11pt;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; "destination_customer_free_time&gt;" IS NOT "0"</span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size: 11pt;">&nbsp;</span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size: 11pt;">&nbsp;</span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size: 11pt;">&nbsp;</span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size: 11pt;">&nbsp;</span></p>
<div>
<div style="border: none; border-top: solid #e1e1e1 1pt; padding: 3pt 0cm 0cm 0cm;">
<p class="MsoNormal"><strong><span lang="DE" style="font-size: 11pt; font-family: 'calibri' , sans-serif;">Von:</span></strong><span lang="DE" style="font-size: 11pt; font-family: 'calibri' , sans-serif;"> Danny Cappellari via Spce-user &lt;<a href="mailto:spce-user@lists.sipwise.com" target="_blank" rel="nofollow noopener noreferrer">spce-user@lists.sipwise.com</a>&gt; <br><strong>Gesendet:</strong> Montag, 28. April 2025 10:57<br><strong>An:</strong> <a href="mailto:spce-user@lists.sipwise.com" target="_blank" rel="nofollow noopener noreferrer">spce-user@lists.sipwise.com</a><br><strong>Betreff:</strong> [Spce-user] Incoming call CDR</span></p>
</div>
</div>
<p class="MsoNormal">&nbsp;</p>
<div>
<p><span style="font-size: 10pt; font-family: 'arial' , sans-serif; color: black;">Hello, we have to bill some of our customers for incoming calls. At the moment outgoing and incoming calls are recorded on the same CDR files. Is it possible to separate incoming calls into specific CDR files?</span></p>
</div>
</div>
</div>
</div>
</div></div></body></html>