<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Valeu Magnus!<br>
<br>
Zerei o conteudo da varialvel abaixo e resolveu o problema.<br>
<br>
<table border="0" cellpadding="2" cellspacing="2" width="100%">
<tbody>
<tr onmouseover="bgColor='#FFDEA6'"
onmouseout="bgColor='#FCFBFB'" bgcolor="#FCFBFB">
<td class="tableBody" align="center" valign="top">International
prefixes </td>
<td class="tableBody" align="center" valign="top">international_prefixes
</td>
<td class="tableBody" align="center" valign="top"> <br>
</td>
<td class="tableBody" align="left" valign="top">List the
prefixes you want stripped off if the call plan requires it
</td>
<td class="tableBody" align="center" valign="top">agi-conf1 </td>
<td class="tableBodyRight" align="center" valign="top"> <a
href="http://198.50.96.130/a2billing/admin/Public/A2B_entity_config.php?form_action=ask-edit&current_page=0&id=201"><img
src="cid:part1.01060208.05010509@guilherme.eti.br"
title="Editar este Configuração" alt="Editar este
Configuração" border="0"></a></td>
</tr>
</tbody>
</table>
<br>
<br>
<br>
<br>
Em 18/09/2013 17:34, <a class="moz-txt-link-abbreviated" href="mailto:info@magnussolution.com">info@magnussolution.com</a> escreveu:
<blockquote
cite="mid:587D98C8-FFD5-40C0-8EFF-9CF8CFCA9546@magnussolution.com"
type="cite">
<meta http-equiv="Content-Type" content="text/html;
charset=ISO-8859-1">
o a2billing tem uma opção que se chamar "retirar prefixos
internacionais", entre estes prefixos esta 00, 011. Por isso ele
retira o 011 e tenta buscar somente 33221420
<div><br>
</div>
<div>Vc tem duas opçoes:</div>
<div><br>
</div>
<div>1º - No plano alterar para nao retirar o prefixo
internacional</div>
<div>2º - Nas configurações retirar o 011 de prefixos
internacional</div>
<div><br>
</div>
<div><br>
</div>
<div>Att. Magnus</div>
<div><a moz-do-not-send="true" href="http://www.magnusbilling.com">www.magnusbilling.com</a></div>
<div><br>
</div>
<div><br>
</div>
<div><br>
</div>
<div><br>
</div>
<div><br>
<div>
<div>On sep 18, 2013, at 5:21 p.m., Guilherme Rezende <<a
moz-do-not-send="true"
href="mailto:asterisk@guilherme.eti.br">asterisk@guilherme.eti.br</a>>
wrote:</div>
<br class="Apple-interchange-newline">
<blockquote type="cite">
<meta http-equiv="content-type" content="text/html;
charset=ISO-8859-1">
<div 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
moz-do-not-send="true"
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
moz-do-not-send="true"
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
moz-do-not-send="true"
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
moz-do-not-send="true"
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
moz-do-not-send="true"
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
moz-do-not-send="true"
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
moz-do-not-send="true"
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
moz-do-not-send="true"
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
moz-do-not-send="true"
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 moz-do-not-send="true"
href="http://198.50.96.130/a2billing/admin/Public/A2B_entity_def_ratecard.php?form_action=ask-edit&id=1"><span><edit.png></span></a>
<a moz-do-not-send="true"
href="http://198.50.96.130/a2billing/admin/Public/A2B_entity_def_ratecard.php?form_action=ask-delete&id=1"><span><delete.png></span></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 moz-do-not-send="true"
href="http://198.50.96.130/a2billing/admin/Public/A2B_entity_def_ratecard.php?form_action=ask-edit&id=2"><span><edit.png></span></a>
<a moz-do-not-send="true"
href="http://198.50.96.130/a2billing/admin/Public/A2B_entity_def_ratecard.php?form_action=ask-delete&id=2"><span><delete.png></span></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>
</div>
_______________________________________________<br>
KHOMP: completa linha de placas externas FXO, FXS, GSM e E1;<br>
Media Gateways de 1 a 64 E1s para SIP com R2, ISDN e SS7;<br>
Intercomunicadores para acesso remoto via rede IP. Conheça
em <a moz-do-not-send="true" href="http://www.Khomp.com">www.Khomp.com</a>.<br>
_______________________________________________<br>
ALIGERA – Fabricante nacional de Gateways SIP-E1 para R2,
ISDN e SS7.<br>
Placas de 1E1, 2E1, 4E1 e 8E1 para PCI ou PCI Express.<br>
Channel Bank – Appliance Asterisk - Acesse <a
moz-do-not-send="true" href="http://www.aligera.com.br">www.aligera.com.br</a>.<br>
_______________________________________________<br>
Para remover seu email desta lista, basta enviar um email em
branco para <a moz-do-not-send="true"
href="mailto:asteriskbrasil-unsubscribe@listas.asteriskbrasil.org">asteriskbrasil-unsubscribe@listas.asteriskbrasil.org</a></blockquote>
</div>
<br>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
KHOMP: completa linha de placas externas FXO, FXS, GSM e E1;
Media Gateways de 1 a 64 E1s para SIP com R2, ISDN e SS7;
Intercomunicadores para acesso remoto via rede IP. Conheça em <a class="moz-txt-link-abbreviated" href="http://www.Khomp.com">www.Khomp.com</a>.
_______________________________________________
ALIGERA – Fabricante nacional de Gateways SIP-E1 para R2, ISDN e SS7.
Placas de 1E1, 2E1, 4E1 e 8E1 para PCI ou PCI Express.
Channel Bank – Appliance Asterisk - Acesse <a class="moz-txt-link-abbreviated" href="http://www.aligera.com.br">www.aligera.com.br</a>.
_______________________________________________
Para remover seu email desta lista, basta enviar um email em branco para <a class="moz-txt-link-abbreviated" href="mailto:asteriskbrasil-unsubscribe@listas.asteriskbrasil.org">asteriskbrasil-unsubscribe@listas.asteriskbrasil.org</a></pre>
</blockquote>
<br>
</body>
</html>