<html>
  <head>

    <meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    Pessoal, conseguir aplicar as funcionalidades do A2billing, por&eacute;m um
    fato inusitado aconteceu.&nbsp; Criei as seguintes rates para exemplo:<br>
    <br>
    <table border="0" cellpadding="2" cellspacing="2" width="100%">
      <tbody>
        <tr class="form_head">
          <td class="tableBody" style="padding: 2px;" align="center"
            width="17%"><strong>DESTINO </strong></td>
          <td class="tableBody" style="padding: 2px;" align="center"
            width="10%"> <strong> <a
href="http://198.50.96.130/a2billing/admin/Public/A2B_entity_def_ratecard.php?stitle=&amp;atmenu=ratecard&amp;current_page=&amp;letter=&amp;popup_select=&amp;order=dialprefix&amp;sens=DESC">
                <font color="#FFFFFF"> <acronym title="DIALING PREFIX">PREFIXO</acronym>
                </font></a> </strong></td>
          <td class="tableBody" style="padding: 2px;" align="center"
            width="4%"> <strong> <a
href="http://198.50.96.130/a2billing/admin/Public/A2B_entity_def_ratecard.php?stitle=&amp;atmenu=ratecard&amp;current_page=&amp;letter=&amp;popup_select=&amp;order=buyrate&amp;sens=DESC">
                <font color="#FFFFFF"> <acronym title="BUYING RATE">BR</acronym>
                </font></a> </strong></td>
          <td class="tableBody" style="padding: 2px;" align="center"
            width="4%"> <strong> <a
href="http://198.50.96.130/a2billing/admin/Public/A2B_entity_def_ratecard.php?stitle=&amp;atmenu=ratecard&amp;current_page=&amp;letter=&amp;popup_select=&amp;order=rateinitial&amp;sens=DESC">
                <font color="#FFFFFF"> <acronym title="SELLING RATE">SR</acronym>
                </font></a> </strong></td>
          <td class="tableBody" style="padding: 2px;" align="center"
            width="13%"> <strong> <a
href="http://198.50.96.130/a2billing/admin/Public/A2B_entity_def_ratecard.php?stitle=&amp;atmenu=ratecard&amp;current_page=&amp;letter=&amp;popup_select=&amp;order=startdate&amp;sens=DESC">
                <font color="#FFFFFF"> DATA DE IN&Iacute;CIO </font></a> </strong></td>
          <td class="tableBody" style="padding: 2px;" align="center"
            width="13%"> <strong> <a
href="http://198.50.96.130/a2billing/admin/Public/A2B_entity_def_ratecard.php?stitle=&amp;atmenu=ratecard&amp;current_page=&amp;letter=&amp;popup_select=&amp;order=stopdate&amp;sens=DESC">
                <font color="#FFFFFF"> DATA DE T&Eacute;RMINO </font></a> </strong></td>
          <td class="tableBody" style="padding: 2px;" align="center"
            width="4%"> <strong> <a
href="http://198.50.96.130/a2billing/admin/Public/A2B_entity_def_ratecard.php?stitle=&amp;atmenu=ratecard&amp;current_page=&amp;letter=&amp;popup_select=&amp;order=initblock&amp;sens=DESC">
                <font color="#FFFFFF"> <acronym title="INITBLOCK">INITB</acronym>
                </font></a> </strong></td>
          <td class="tableBody" style="padding: 2px;" align="center"
            width="4%"> <strong> <a
href="http://198.50.96.130/a2billing/admin/Public/A2B_entity_def_ratecard.php?stitle=&amp;atmenu=ratecard&amp;current_page=&amp;letter=&amp;popup_select=&amp;order=connectcharge&amp;sens=DESC">
                <font color="#FFFFFF"> <acronym title="CONNECT CHARGE">CC</acronym>
                </font></a> </strong></td>
          <td class="tableBody" style="padding: 2px;" align="center"
            width="10%"> <strong> <a
href="http://198.50.96.130/a2billing/admin/Public/A2B_entity_def_ratecard.php?stitle=&amp;atmenu=ratecard&amp;current_page=&amp;letter=&amp;popup_select=&amp;order=id_trunk&amp;sens=DESC">
                <font color="#FFFFFF"> TRONCO </font></a> </strong></td>
          <td class="tableBody" style="padding: 2px;" align="center"
            width="12%"> <strong> <a
href="http://198.50.96.130/a2billing/admin/Public/A2B_entity_def_ratecard.php?stitle=&amp;atmenu=ratecard&amp;current_page=&amp;letter=&amp;popup_select=&amp;order=idtariffplan&amp;sens=DESC">
                <font color="#FFFFFF"> TARIF&Aacute;RIO </font></a> </strong></td>
          <td class="tableBody" align="center" width="25%"><strong> A&Ccedil;&Atilde;O</strong>
          </td>
        </tr>
        <tr onmouseover="bgColor='#FFDEA6'"
          onmouseout="bgColor='#F2F2EE'" bgcolor="#F2F2EE">
          <td class="tableBody" align="center" valign="top"> <br>
          </td>
          <td class="tableBody" align="center" valign="top">_0XX[2-5]X.
          </td>
          <td class="tableBody" align="center" valign="top">0.04000 </td>
          <td class="tableBody" align="center" valign="top">0.06000 </td>
          <td class="tableBody" align="center" valign="top">2013-09-09
            20:13:02 </td>
          <td class="tableBody" align="center" valign="top">2023-09-09
            20:13:02 </td>
          <td class="tableBody" align="center" valign="top">60 </td>
          <td class="tableBody" align="center" valign="top">0.00000 </td>
          <td class="tableBody" align="center" valign="top"> <br>
          </td>
          <td class="tableBody" align="center" valign="top">VC1 - Fixo </td>
          <td class="tableBodyRight" align="center" valign="top"> &nbsp; <a
href="http://198.50.96.130/a2billing/admin/Public/A2B_entity_def_ratecard.php?form_action=ask-edit&amp;id=1"><img
                src="cid:part10.03050702.04000408@guilherme.eti.br"
                title="Editar este Rates" alt="Editar este Rates"
                border="0"></a> &nbsp; <a
href="http://198.50.96.130/a2billing/admin/Public/A2B_entity_def_ratecard.php?form_action=ask-delete&amp;id=1"><img
                src="cid:part12.09080407.04000804@guilherme.eti.br"
                title="Deletar este Rates" alt="Deletar este Rates"
                border="0"></a> </td>
        </tr>
        <tr onmouseover="bgColor='#FFDEA6'"
          onmouseout="bgColor='#FCFBFB'" bgcolor="#FCFBFB">
          <td class="tableBody" align="center" valign="top"> <br>
          </td>
          <td class="tableBody" align="center" valign="top">_0XX[6-9]X.
          </td>
          <td class="tableBody" align="center" valign="top">0.14000 </td>
          <td class="tableBody" align="center" valign="top">0.29000 </td>
          <td class="tableBody" align="center" valign="top">2013-09-09
            20:14:55 </td>
          <td class="tableBody" align="center" valign="top">2023-09-09
            20:14:55 </td>
          <td class="tableBody" align="center" valign="top">60 </td>
          <td class="tableBody" align="center" valign="top">0.00000 </td>
          <td class="tableBody" align="center" valign="top"> <br>
          </td>
          <td class="tableBody" align="center" valign="top">VC2 - Movel
          </td>
          <td class="tableBodyRight" align="center" valign="top"> &nbsp; <a
href="http://198.50.96.130/a2billing/admin/Public/A2B_entity_def_ratecard.php?form_action=ask-edit&amp;id=2"><img
                src="cid:part10.03050702.04000408@guilherme.eti.br"
                title="Editar este Rates" alt="Editar este Rates"
                border="0"></a> &nbsp; <a
href="http://198.50.96.130/a2billing/admin/Public/A2B_entity_def_ratecard.php?form_action=ask-delete&amp;id=2"><img
                src="cid:part12.09080407.04000804@guilherme.eti.br"
                title="Deletar este Rates" alt="Deletar este Rates"
                border="0"></a></td>
        </tr>
      </tbody>
    </table>
    <br>
    Est&aacute; funcionando perfeitamente, exceto quando o destino for o DDD
    11.&nbsp; Ou seja, se discar 01133339999 o A2billing me manda uma
    mensagem pedindo "digite o numero e precione quadrado"&nbsp; Ou seja,
    parece que ele n&atilde;o possui prefixo de destino p/ 011.&nbsp; Qualquer outro
    DDD funciona s/ problema.&nbsp; Ja removi todos os campos da tabela de
    Prefixos de Destino que vem por padr&atilde;o nele, ja tentei entender e
    ainda n&atilde;o conseguir encontrar um porque disso.<br>
    Algu&eacute;m ja passou por isso ?&nbsp; Abaixo, primeira liga&ccedil;&atilde;o p/ 011 e
    depois p/ 021 e ver&aacute;s que em 011 ele solicita e mensagem.<br>
    <br>
    [Sep 18 17:12:17]&nbsp;&nbsp;&nbsp;&nbsp; -- Executing [01133221420@a2billing:1]
    NoOp("SIP/7383848570-0000038d", "A2Billing Start") in new stack<br>
    [Sep 18 17:12:17]&nbsp;&nbsp;&nbsp;&nbsp; -- Executing [01133221420@a2billing:2]
    NoOp("SIP/7383848570-0000038d", "7383848570") in new stack<br>
    [Sep 18 17:12:17]&nbsp;&nbsp;&nbsp;&nbsp; -- Executing [01133221420@a2billing:3]
    AGI("SIP/7383848570-0000038d",
    "/var/lib/asterisk/agi-bin/a2billing.php,1") in new stack<br>
    [Sep 18 17:12:17]&nbsp;&nbsp;&nbsp;&nbsp; -- Launched AGI Script
    /var/lib/asterisk/agi-bin/a2billing.php<br>
    <b>[Sep 18 17:12:17]&nbsp;&nbsp;&nbsp;&nbsp; -- &lt;SIP/7383848570-0000038d&gt; Playing
      'prepaid-enter-dest.gsm' (language 'br')</b><br>
    [Sep 18 17:12:20]&nbsp;&nbsp;&nbsp;&nbsp; -- SIP/troncocordia-0000038c answered
    IAX2/rota_botafogo-7112<br>
    [Sep 18 17:12:24]&nbsp;&nbsp;&nbsp;&nbsp; -- &lt;SIP/7383848570-0000038d&gt;AGI Script
    /var/lib/asterisk/agi-bin/a2billing.php completed, returning 4<br>
    [Sep 18 17:12:24]&nbsp;&nbsp; == Spawn extension (a2billing, 01133221420, 3)
    exited non-zero on 'SIP/7383848570-0000038d'<br>
    <br>
    <br>
    [Sep 18 17:12:30]&nbsp;&nbsp;&nbsp;&nbsp; -- Executing [02136932367@a2billing:1]
    NoOp("SIP/7383848570-0000038e", "A2Billing Start") in new stack<br>
    [Sep 18 17:12:30]&nbsp;&nbsp;&nbsp;&nbsp; -- Executing [02136932367@a2billing:2]
    NoOp("SIP/7383848570-0000038e", "7383848570") in new stack<br>
    [Sep 18 17:12:30]&nbsp;&nbsp;&nbsp;&nbsp; -- Executing [02136932367@a2billing:3]
    AGI("SIP/7383848570-0000038e",
    "/var/lib/asterisk/agi-bin/a2billing.php,1") in new stack<br>
    [Sep 18 17:12:30]&nbsp;&nbsp;&nbsp;&nbsp; -- Launched AGI Script
    /var/lib/asterisk/agi-bin/a2billing.php<br>
    <b>[Sep 18 17:12:31]&nbsp;&nbsp;&nbsp;&nbsp; -- AGI Script Executing Application: (DIAL)
      Options:
      (SIP/02136932367@troncocordia,60,HRrL(5490000:61000:30000))</b><br>
    [Sep 18 17:12:31]&nbsp;&nbsp; == Using SIP RTP CoS mark 5<br>
    [Sep 18 17:12:31]&nbsp;&nbsp;&nbsp;&nbsp; -- Called SIP/02136932367@troncocordia<br>
    [Sep 18 17:12:34]&nbsp;&nbsp;&nbsp;&nbsp; -- &lt;SIP/7383848570-0000038e&gt;AGI Script
    /var/lib/asterisk/agi-bin/a2billing.php completed, returning 4<br>
    [Sep 18 17:12:34]&nbsp;&nbsp; == Spawn extension (a2billing, 02136932367, 3)
    exited non-zero on 'SIP/7383848570-0000038e'<br>
    <br>
    <br>
    <br>
    <br>
  </body>
</html>