<html>
  <head>

    <meta http-equiv="content-type" content="text/html; charset=UTF-8">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <br>
    <br>
    -------- Mensaje original --------
    <table class="moz-email-headers-table" border="0" cellpadding="0"
      cellspacing="0">
      <tbody>
        <tr>
          <th align="RIGHT" nowrap="nowrap" valign="BASELINE">Message-ID:
          </th>
          <td><a class="moz-txt-link-rfc2396E" href="mailto:4F282745.3090705@innovasur.es"><4F282745.3090705@innovasur.es></a></td>
        </tr>
        <tr>
          <th align="RIGHT" nowrap="nowrap" valign="BASELINE">Date: </th>
          <td>Tue, 31 Jan 2012 18:39:17 +0100</td>
        </tr>
        <tr>
          <th align="RIGHT" nowrap="nowrap" valign="BASELINE">From: </th>
          <td>Mario Contreras <a class="moz-txt-link-rfc2396E" href="mailto:mario.contreras@innovasur.es"><mario.contreras@innovasur.es></a></td>
        </tr>
        <tr>
          <th align="RIGHT" nowrap="nowrap" valign="BASELINE">User-Agent:
          </th>
          <td>Mozilla/5.0 (Windows NT 5.1; rv:9.0) Gecko/20111222
            Thunderbird/9.0.1</td>
        </tr>
        <tr>
          <th align="RIGHT" nowrap="nowrap" valign="BASELINE">MIME-Version:
          </th>
          <td>1.0</td>
        </tr>
        <tr>
          <th align="RIGHT" nowrap="nowrap" valign="BASELINE">To: </th>
          <td>Andrew Pogrebennyk <a class="moz-txt-link-rfc2396E" href="mailto:apogrebennyk@sipwise.com"><apogrebennyk@sipwise.com></a></td>
        </tr>
        <tr>
          <th align="RIGHT" nowrap="nowrap" valign="BASELINE">Subject: </th>
          <td>Re: [Spce-user] No charges in calls history</td>
        </tr>
        <tr>
          <th align="RIGHT" nowrap="nowrap" valign="BASELINE">References:
          </th>
          <td><a class="moz-txt-link-rfc2396E" href="mailto:4F281A10.7090801@innovasur.es"><4F281A10.7090801@innovasur.es></a>
            <a class="moz-txt-link-rfc2396E" href="mailto:4F281CF3.2030702@sipwise.com"><4F281CF3.2030702@sipwise.com></a>
            <a class="moz-txt-link-rfc2396E" href="mailto:4F28210F.7060101@innovasur.es"><4F28210F.7060101@innovasur.es></a>
            <a class="moz-txt-link-rfc2396E" href="mailto:4F282278.7060401@sipwise.com"><4F282278.7060401@sipwise.com></a></td>
        </tr>
        <tr>
          <th align="RIGHT" nowrap="nowrap" valign="BASELINE">In-Reply-To:
          </th>
          <td><a class="moz-txt-link-rfc2396E" href="mailto:4F282278.7060401@sipwise.com"><4F282278.7060401@sipwise.com></a></td>
        </tr>
        <tr>
          <th align="RIGHT" nowrap="nowrap" valign="BASELINE">Content-Type:
          </th>
          <td>text/plain; charset=UTF-8; format=flowed</td>
        </tr>
        <tr>
          <th align="RIGHT" nowrap="nowrap" valign="BASELINE">Content-Transfer-Encoding:
          </th>
          <td>8bit</td>
        </tr>
      </tbody>
    </table>
    <br>
    <br>
    <pre>>
> Initially I thought from your description that the CDR does not appear
> on the web. So it does appear but always with zero cost, right? 

No, it's not always zero. It's only zero when the customer has cash. 
Now, a customer has consumed the cash, and I'm trying to add 1€, but it 
doesn't seems to do anything. Look at this:

mysql> select * from contract_balances;
+--------+-------------+--------------+-----------------------+-------------------+----------------------------+---------------------+---------------------+------------+
| id     | contract_id | cash_balance | cash_balance_interval | 
free_time_balance | free_time_balance_interval | start | end| invoice_id |
+--------+-------------+--------------+-----------------------+-------------------+----------------------------+---------------------+---------------------+------------+
| 1      | 2           | 0| 0 | 0| 0| 2012-01-01 00:00:00 | 2012-01-31 
23:59:59 |NULL |
| 2      | 3           | 0 | 0| 0 | 0| 2012-01-01 00:00:00 | 2012-01-31 
23:59:59 | NULL|
| 3      | 4           | 0 | 200| 0 | 0 | 2012-01-01 00:00:00 | 
2012-01-31 23:59:59 | NULL |
| 4      | 4           | 100 | 100 | 0 | 0 | 2011-12-31 18:00:00 | 
2012-01-31 17:59:59 | NULL |
+--------+-------------+--------------+-----------------------+-------------------+----------------------------+---------------------+---------------------+------------+

The contract_id reffers to my customer account, right? I have made this 
select after I've tried to add 1€. Is this ok? (Be care with the time. 
In my country, it's 18:38 now, and I have tried to add cash after 18:00)
> Have you
> added the billing fees for the destination you are calling in billing
> profile (click the shopping card icon next to profile name)? In what
> format are the dialed number and added fees?

I have only added a destination to probe the result. It's '.*' (whithout 
the commas). What do you mean whith the format of the dialed number and 
fees?
</pre>
  </body>
</html>