<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ém um
fato inusitado aconteceu. 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=&atmenu=ratecard&current_page=&letter=&popup_select=&order=dialprefix&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=&atmenu=ratecard&current_page=&letter=&popup_select=&order=buyrate&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=&atmenu=ratecard&current_page=&letter=&popup_select=&order=rateinitial&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=&atmenu=ratecard&current_page=&letter=&popup_select=&order=startdate&sens=DESC">
<font color="#FFFFFF"> DATA DE INÍ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=&atmenu=ratecard&current_page=&letter=&popup_select=&order=stopdate&sens=DESC">
<font color="#FFFFFF"> DATA DE TÉ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=&atmenu=ratecard&current_page=&letter=&popup_select=&order=initblock&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=&atmenu=ratecard&current_page=&letter=&popup_select=&order=connectcharge&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=&atmenu=ratecard&current_page=&letter=&popup_select=&order=id_trunk&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=&atmenu=ratecard&current_page=&letter=&popup_select=&order=idtariffplan&sens=DESC">
<font color="#FFFFFF"> TARIFÁRIO </font></a> </strong></td>
<td class="tableBody" align="center" width="25%"><strong> AÇÃ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"> <a
href="http://198.50.96.130/a2billing/admin/Public/A2B_entity_def_ratecard.php?form_action=ask-edit&id=1"><img
src="cid:part10.03050702.04000408@guilherme.eti.br"
title="Editar este Rates" alt="Editar este Rates"
border="0"></a> <a
href="http://198.50.96.130/a2billing/admin/Public/A2B_entity_def_ratecard.php?form_action=ask-delete&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"> <a
href="http://198.50.96.130/a2billing/admin/Public/A2B_entity_def_ratecard.php?form_action=ask-edit&id=2"><img
src="cid:part10.03050702.04000408@guilherme.eti.br"
title="Editar este Rates" alt="Editar este Rates"
border="0"></a> <a
href="http://198.50.96.130/a2billing/admin/Public/A2B_entity_def_ratecard.php?form_action=ask-delete&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á funcionando perfeitamente, exceto quando o destino for o DDD
11. Ou seja, se discar 01133339999 o A2billing me manda uma
mensagem pedindo "digite o numero e precione quadrado" Ou seja,
parece que ele não possui prefixo de destino p/ 011. Qualquer outro
DDD funciona s/ problema. Ja removi todos os campos da tabela de
Prefixos de Destino que vem por padrão nele, ja tentei entender e
ainda não conseguir encontrar um porque disso.<br>
Alguém ja passou por isso ? Abaixo, primeira ligação p/ 011 e
depois p/ 021 e verás que em 011 ele solicita e mensagem.<br>
<br>
[Sep 18 17:12:17] -- Executing [01133221420@a2billing:1]
NoOp("SIP/7383848570-0000038d", "A2Billing Start") in new stack<br>
[Sep 18 17:12:17] -- Executing [01133221420@a2billing:2]
NoOp("SIP/7383848570-0000038d", "7383848570") in new stack<br>
[Sep 18 17:12:17] -- 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] -- Launched AGI Script
/var/lib/asterisk/agi-bin/a2billing.php<br>
<b>[Sep 18 17:12:17] -- <SIP/7383848570-0000038d> Playing
'prepaid-enter-dest.gsm' (language 'br')</b><br>
[Sep 18 17:12:20] -- SIP/troncocordia-0000038c answered
IAX2/rota_botafogo-7112<br>
[Sep 18 17:12:24] -- <SIP/7383848570-0000038d>AGI Script
/var/lib/asterisk/agi-bin/a2billing.php completed, returning 4<br>
[Sep 18 17:12:24] == Spawn extension (a2billing, 01133221420, 3)
exited non-zero on 'SIP/7383848570-0000038d'<br>
<br>
<br>
[Sep 18 17:12:30] -- Executing [02136932367@a2billing:1]
NoOp("SIP/7383848570-0000038e", "A2Billing Start") in new stack<br>
[Sep 18 17:12:30] -- Executing [02136932367@a2billing:2]
NoOp("SIP/7383848570-0000038e", "7383848570") in new stack<br>
[Sep 18 17:12:30] -- 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] -- Launched AGI Script
/var/lib/asterisk/agi-bin/a2billing.php<br>
<b>[Sep 18 17:12:31] -- AGI Script Executing Application: (DIAL)
Options:
(SIP/02136932367@troncocordia,60,HRrL(5490000:61000:30000))</b><br>
[Sep 18 17:12:31] == Using SIP RTP CoS mark 5<br>
[Sep 18 17:12:31] -- Called SIP/02136932367@troncocordia<br>
[Sep 18 17:12:34] -- <SIP/7383848570-0000038e>AGI Script
/var/lib/asterisk/agi-bin/a2billing.php completed, returning 4<br>
[Sep 18 17:12:34] == Spawn extension (a2billing, 02136932367, 3)
exited non-zero on 'SIP/7383848570-0000038e'<br>
<br>
<br>
<br>
<br>
</body>
</html>