<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=iso-8859-1"><meta name=Generator content="Microsoft Word 12 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
span.EstiloDeEmail17
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:70.85pt 3.0cm 70.85pt 3.0cm;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=PT-BR link=blue vlink=purple><div class=WordSection1><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Raphael tive um problema similar entre dois Elastix, mudei o tronco de IAX2 para SIP e resolveu...faz o teste. <o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p>&nbsp;</o:p></span></p><div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm'><p class=MsoNormal><b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>De:</span></b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'> asteriskbrasil-bounces@listas.asteriskbrasil.org [mailto:asteriskbrasil-bounces@listas.asteriskbrasil.org] <b>Em nome de </b>Raphael Rodrigues<br><b>Enviada em:</b> terça-feira, 21 de janeiro de 2014 11:17<br><b>Para:</b> elastixbrasil@googlegroups.com; asteriskbrasil@listas.asteriskbrasil.org; asterisklibre@googlegroups.com<br><b>Assunto:</b> [AsteriskBrasil] A2billing IAX2<o:p></o:p></span></p></div><p class=MsoNormal><o:p>&nbsp;</o:p></p><div><div><div><div><div><p class=MsoNormal style='margin-bottom:12.0pt'>Pessoal bom dia,<br><br><o:p></o:p></p></div><p class=MsoNormal style='margin-bottom:12.0pt'>Primeiramente saudações pingüinianas a todos.<o:p></o:p></p></div><p class=MsoNormal style='margin-bottom:12.0pt'>Sei que a lista não é referente ao A2billing, porém estou com um problema meio tenso e caso alguém tenha passado por esse abacaxi e puder contribuir....:0..<o:p></o:p></p></div><p class=MsoNormal style='margin-bottom:12.0pt'>Realizei uma interconexão ( dois servers separados) entre um Elastix/ast* e um A2billing/ast* via IAX2, até ai tudo bem, a interconexão foi 100%, do A2billing/ast* para o Elastix/ast* as ligações funcionam sem problemas, tanto para ramais quanto para ligações externas ( Tem um E1 R2 no Elastix/ast*), o problema esta na volta do Elastix/ast* para o A2billing/ast*, quando realizo uma ligação do Elastix/ast* A2billing/ast* o A2billing/ast* pede um código pin, tento entre ramais quanto ligações externas, pelo que entendi o A2billing/ast* não esta encontrando o CALLERID do IAX2 ( ????), estou enviando o log de entrada&nbsp; no A2billing/ast* e contexto.<o:p></o:p></p></div><div><p class=MsoNormal>Segue abaixo log do A2b e contexto.<o:p></o:p></p></div><div><p class=MsoNormal><o:p>&nbsp;</o:p></p></div><p class=MsoNormal>Obrigado pela atenção pessoal, abraço.<br><br><br>-- Accepting AUTHENTICATED call from xxx.xxx.xxx.xxx:<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &gt; requested format = alaw,<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &gt; requested prefs = (alaw|ulaw|gsm),<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &gt; actual format = ulaw,<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &gt; host prefs = (ulaw|alaw|gsm),<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &gt; priority = mine<br>&nbsp;&nbsp;&nbsp; -- Executing [7789@a2billing:1] NoOp(&quot;IAX2/202020-433&quot;, &quot;A2Billing Start&quot;) in new stack<br>&nbsp;&nbsp;&nbsp; -- Executing [7789@a2billing:2] DeadAGI(&quot;IAX2/202020-433&quot;, &quot;a2billing.php,1&quot;) in new stack<br>[Jan 21 10:48:24] WARNING[23633]: res_agi.c:3329 deadagi_exec: DeadAGI has been deprecated, please use AGI in all cases!<br>&nbsp;&nbsp;&nbsp; -- Launched AGI Script /var/lib/asterisk/agi-bin/a2billing.php<br>&nbsp;a2billing.php,1: file:Class.A2Billing.php - line:598 - uniqueid: - A2Billing AGI internal configuration:<br>&nbsp;a2billing.php,1: file:Class.A2Billing.php - line:599 - uniqueid: - Array<br>&nbsp;a2billing.php,1: (<br>&nbsp;a2billing.php,1:&nbsp;&nbsp;&nbsp;&nbsp; [dialcommand_param_call_2did] =&gt; |60|HiL(%timeout%:61000:30000)<br>&nbsp;a2billing.php,1:&nbsp;&nbsp;&nbsp;&nbsp; [description] =&gt; agi-config<br>&nbsp;a2billing.php,1:&nbsp;&nbsp;&nbsp;&nbsp; [asterisk_version] =&gt; 1_6<br>&nbsp;a2billing.php,1:&nbsp;&nbsp;&nbsp;&nbsp; [answer_call] =&gt; 0<br>&nbsp;a2billing.php,1:&nbsp;&nbsp;&nbsp;&nbsp; [play_audio] =&gt; 0<br>&nbsp;a2billing.php,1:&nbsp;&nbsp;&nbsp;&nbsp; [say_goodbye] =&gt; 0<br>&nbsp;a2billing.php,1:&nbsp;&nbsp;&nbsp;&nbsp; [play_menulanguage] =&gt; 0<br>&nbsp;a2billing.php,1:&nbsp;&nbsp;&nbsp;&nbsp; [force_language] =&gt; BR<br>&nbsp;a2billing.php,1:&nbsp;&nbsp;&nbsp;&nbsp; [intro_prompt] =&gt;<br>&nbsp;a2billing.php,1:&nbsp;&nbsp;&nbsp;&nbsp; [min_credit_2call] =&gt; 0<br>&nbsp;a2billing.php,1:&nbsp;&nbsp;&nbsp;&nbsp; [min_duration_2bill] =&gt; 3<br>&nbsp;a2billing.php,1:&nbsp;&nbsp;&nbsp;&nbsp; [notenoughcredit_cardnumber] =&gt; 0<br>&nbsp;a2billing.php,1:&nbsp;&nbsp;&nbsp;&nbsp; [notenoughcredit_assign_newcardnumber_cid] =&gt; 0<br>&nbsp;a2billing.php,1:&nbsp;&nbsp;&nbsp;&nbsp; [use_dnid] =&gt; 1<br>&nbsp;a2billing.php,1:&nbsp;&nbsp;&nbsp;&nbsp; [no_auth_dnid] =&gt; Array<br>&nbsp;a2billing.php,1:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; (<br>&nbsp;a2billing.php,1:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; [0] =&gt; 2400<br>&nbsp;a2billing.php,1:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; [1] =&gt; 2300<br>&nbsp;a2billing.php,1:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; )<br>&nbsp;a2billing.php,1:<br>&nbsp;a2billing.php,1:&nbsp;&nbsp;&nbsp;&nbsp; [number_try] =&gt; 1<br>&nbsp;a2billing.php,1:&nbsp;&nbsp;&nbsp;&nbsp; [force_callplan_id] =&gt;<br>&nbsp;a2billing.php,1:&nbsp;&nbsp;&nbsp;&nbsp; [say_balance_after_auth] =&gt; 0<br>&nbsp;a2billing.php,1:&nbsp;&nbsp;&nbsp;&nbsp; [say_balance_after_call] =&gt; 0<br>&nbsp;a2billing.php,1:&nbsp;&nbsp;&nbsp;&nbsp; [say_rateinitial] =&gt; 0<br>&nbsp;a2billing.php,1:&nbsp;&nbsp;&nbsp;&nbsp; [say_timetocall] =&gt; 0<br>&nbsp;a2billing.php,1:&nbsp;&nbsp;&nbsp;&nbsp; [auto_setcallerid] =&gt; 1<br>&nbsp;a2billing.php,1:&nbsp;&nbsp;&nbsp;&nbsp; [force_callerid] =&gt;<br>&nbsp;a2billing.php,1:&nbsp;&nbsp;&nbsp;&nbsp; [cid_sanitize] =&gt; 0<br>&nbsp;a2billing.php,1:&nbsp;&nbsp;&nbsp;&nbsp; [cid_enable] =&gt; 1<br>&nbsp;a2billing.php,1:&nbsp;&nbsp;&nbsp;&nbsp; [cid_askpincode_ifnot_callerid] =&gt; 1<br>&nbsp;a2billing.php,1:&nbsp;&nbsp;&nbsp;&nbsp; [failover_lc_prefix] =&gt; 0<br>&nbsp;a2billing.php,1:&nbsp;&nbsp;&nbsp;&nbsp; [cid_auto_assign_card_to_cid] =&gt; 1<br>&nbsp;a2billing.php,1:&nbsp;&nbsp;&nbsp;&nbsp; [callerid_authentication_over_cardnumber] =&gt; 0<br>&nbsp;a2billing.php,1:&nbsp;&nbsp;&nbsp;&nbsp; [sip_iax_friends] =&gt; 1<br>&nbsp;a2billing.php,1:&nbsp;&nbsp;&nbsp;&nbsp; [sip_iax_pstn_direct_call_prefix] =&gt; 555<br>&nbsp;a2billing.php,1:&nbsp;&nbsp;&nbsp;&nbsp; [sip_iax_pstn_direct_call] =&gt; 0<br>&nbsp;a2billing.php,1:&nbsp;&nbsp;&nbsp;&nbsp; [ivr_voucher] =&gt; 0<br>&nbsp;a2billing.php,1:&nbsp;&nbsp;&nbsp;&nbsp; [ivr_voucher_prefix] =&gt; 8<br>&nbsp;a2billing.php,1:&nbsp;&nbsp;&nbsp;&nbsp; [jump_voucher_if_min_credit] =&gt; 0<br>&nbsp;a2billing.php,1:&nbsp;&nbsp;&nbsp;&nbsp; [dialcommand_param] =&gt; |60|<br>&nbsp;a2billing.php,1:&nbsp;&nbsp;&nbsp;&nbsp; [dialcommand_param_sipiax_friend] =&gt; |60|L(%timeout%:61000:30000)<br>&nbsp;a2billing.php,1:&nbsp;&nbsp;&nbsp;&nbsp; [switchdialcommand] =&gt; 0<br>&nbsp;a2billing.php,1:&nbsp;&nbsp;&nbsp;&nbsp; [failover_recursive_limit] =&gt; 2<br>&nbsp;a2billing.php,1:&nbsp;&nbsp;&nbsp;&nbsp; [maxtime_tocall_negatif_free_route] =&gt; 5400<br>&nbsp;a2billing.php,1:&nbsp;&nbsp;&nbsp;&nbsp; [send_reminder] =&gt; 0<br>&nbsp;a2billing.php,1:&nbsp;&nbsp;&nbsp;&nbsp; [record_call] =&gt; 0<br>&nbsp;a2billing.php,1:&nbsp;&nbsp;&nbsp;&nbsp; [monitor_formatfile] =&gt; gsm<br>&nbsp;a2billing.php,1:&nbsp;&nbsp;&nbsp;&nbsp; [agi_force_currency] =&gt;<br>&nbsp;a2billing.php,1:&nbsp;&nbsp;&nbsp;&nbsp; [currency_association] =&gt; Array<br>&nbsp;a2billing.php,1:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; (<br>&nbsp;a2billing.php,1:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; [0] =&gt; usd:dollars<br>&nbsp;a2billing.php,1:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; [1] =&gt; mxn:pesos<br>&nbsp;a2billing.php,1:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; [2] =&gt; eur:euros<br>&nbsp;a2billing.php,1:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; [3] =&gt; all:credit<br>&nbsp;a2billing.php,1:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; )<br>&nbsp;a2billing.php,1:<br>&nbsp;a2billing.php,1:&nbsp;&nbsp;&nbsp;&nbsp; [local_dialing_addcountryprefix] =&gt; 0<br>&nbsp;a2billing.php,1:&nbsp;&nbsp;&nbsp;&nbsp; [max_call_call_2_did] =&gt; 3600<br>&nbsp;a2billing.php,1:&nbsp;&nbsp;&nbsp;&nbsp; [file_conf_enter_destination] =&gt; prepaid-enter-dest<br>&nbsp;a2billing.php,1:&nbsp;&nbsp;&nbsp;&nbsp; [conf_order_menulang] =&gt; br:br:br<br>&nbsp;a2billing.php,1:&nbsp;&nbsp;&nbsp;&nbsp; [callback_bill_1stleg_ifcall_notconnected] =&gt; 1<br>&nbsp;a2billing.php,1:&nbsp;&nbsp;&nbsp;&nbsp; [international_prefixes] =&gt; Array<br>&nbsp;a2billing.php,1:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; (<br>&nbsp;a2billing.php,1:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; [0] =&gt; 011<br>&nbsp;a2billing.php,1:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; [1] =&gt; 00<br>&nbsp;a2billing.php,1:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; [2] =&gt; 09<br>&nbsp;a2billing.php,1:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; [3] =&gt; 1<br>&nbsp;a2billing.php,1:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; )<br>&nbsp;a2billing.php,1:<br>&nbsp;a2billing.php,1:&nbsp;&nbsp;&nbsp;&nbsp; [extracharge_did] =&gt; Array<br>&nbsp;a2billing.php,1:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; (<br>&nbsp;a2billing.php,1:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; [0] =&gt; 1800<br>&nbsp;a2billing.php,1:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; [1] =&gt; 1900<br>&nbsp;a2billing.php,1:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; )<br>&nbsp;a2billing.php,1:<br>&nbsp;a2billing.php,1:&nbsp;&nbsp;&nbsp;&nbsp; [extracharge_fee] =&gt; Array<br>&nbsp;a2billing.php,1:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; (<br>&nbsp;a2billing.php,1:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; [0] =&gt; 0<br>&nbsp;a2billing.php,1:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; [1] =&gt; 0<br>&nbsp;a2billing.php,1:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; )<br>&nbsp;a2billing.php,1:<br>&nbsp;a2billing.php,1:&nbsp;&nbsp;&nbsp;&nbsp; [extracharge_buyfee] =&gt; Array<br>&nbsp;a2billing.php,1:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; (<br>&nbsp;a2billing.php,1:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; [0] =&gt; 0<br>&nbsp;a2billing.php,1:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; [1] =&gt; 0<br>&nbsp;a2billing.php,1:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; )<br>&nbsp;a2billing.php,1:<br>&nbsp;a2billing.php,1:&nbsp;&nbsp;&nbsp;&nbsp; [maxtime_tounlimited_calls] =&gt; 5400<br>&nbsp;a2billing.php,1:&nbsp;&nbsp;&nbsp;&nbsp; [maxtime_tofree_calls] =&gt; 5400<br>&nbsp;a2billing.php,1:&nbsp;&nbsp;&nbsp;&nbsp; [callplan_deck_minute_threshold] =&gt;<br>&nbsp;a2billing.php,1:&nbsp;&nbsp;&nbsp;&nbsp; [disable_announcement_seconds] =&gt; 0<br>&nbsp;a2billing.php,1:&nbsp;&nbsp;&nbsp;&nbsp; [currency_cents_association] =&gt; Array<br>&nbsp;a2billing.php,1:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; (<br>&nbsp;a2billing.php,1:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; [0] =&gt; usd:prepaid-cents<br>&nbsp;a2billing.php,1:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; [1] =&gt; eur:prepaid-cents<br>&nbsp;a2billing.php,1:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; [2] =&gt; gbp:prepaid-pence<br>&nbsp;a2billing.php,1:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; [3] =&gt; all:credit<br>&nbsp;a2billing.php,1:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; )<br>&nbsp;a2billing.php,1:<br>&nbsp;a2billing.php,1:&nbsp;&nbsp;&nbsp;&nbsp; [verbosity_level] =&gt; 4<br>&nbsp;a2billing.php,1:&nbsp;&nbsp;&nbsp;&nbsp; [logging_level] =&gt; 4<br>&nbsp;a2billing.php,1:&nbsp;&nbsp;&nbsp;&nbsp; [dial_balance_reservation] =&gt; 0.25<br>&nbsp;a2billing.php,1:&nbsp;&nbsp;&nbsp;&nbsp; [callerid_update] =&gt; 0<br>&nbsp;a2billing.php,1:&nbsp;&nbsp;&nbsp;&nbsp; [cid_auto_create_card] =&gt; 0<br>&nbsp;a2billing.php,1:&nbsp;&nbsp;&nbsp;&nbsp; [cid_auto_create_card_len] =&gt; 10<br>&nbsp;a2billing.php,1:&nbsp;&nbsp;&nbsp;&nbsp; [cid_auto_create_card_typepaid] =&gt; PREPAID<br>&nbsp;a2billing.php,1:&nbsp;&nbsp;&nbsp;&nbsp; [cid_auto_create_card_credit] =&gt; 0<br>&nbsp;a2billing.php,1:&nbsp;&nbsp;&nbsp;&nbsp; [cid_auto_create_card_credit_limit] =&gt; 0<br>&nbsp;a2billing.php,1:&nbsp;&nbsp;&nbsp;&nbsp; [cid_auto_create_card_tariffgroup] =&gt; 1<br>&nbsp;a2billing.php,1:&nbsp;&nbsp;&nbsp;&nbsp; [busy_timeout] =&gt; 1<br>&nbsp;a2billing.php,1:&nbsp;&nbsp;&nbsp;&nbsp; [callback_reduce_balance] =&gt; 1<br>&nbsp;a2billing.php,1:&nbsp;&nbsp;&nbsp;&nbsp; [ivr_enable_locking_option] =&gt; 0<br>&nbsp;a2billing.php,1:&nbsp;&nbsp;&nbsp;&nbsp; [ivr_enable_account_information] =&gt; 0<br>&nbsp;a2billing.php,1:&nbsp;&nbsp;&nbsp;&nbsp; [ivr_enable_ivr_speeddial] =&gt; 0<br>&nbsp;a2billing.php,1:&nbsp;&nbsp;&nbsp;&nbsp; [play_rate_cents_if_lower_one] =&gt; 0<br>&nbsp;a2billing.php,1:&nbsp;&nbsp;&nbsp;&nbsp; [callback_beep_to_enter_destination] =&gt; 0<br>&nbsp;a2billing.php,1:&nbsp;&nbsp;&nbsp;&nbsp; [cid_prompt_callback_confirm_phonenumber] =&gt; 0<br>&nbsp;a2billing.php,1:&nbsp;&nbsp;&nbsp;&nbsp; [lcr_mode] =&gt; 0<br>&nbsp;a2billing.php,1:&nbsp;&nbsp;&nbsp;&nbsp; [logger_enable] =&gt; 1<br>&nbsp;a2billing.php,1:&nbsp;&nbsp;&nbsp;&nbsp; [log_file] =&gt; /var/log/a2billing/a2billing.log<br>&nbsp;a2billing.php,1:&nbsp;&nbsp;&nbsp;&nbsp; [dialcommand_param_call_2did ] =&gt; |30|HL(3600000:61000:30000)<br>&nbsp;a2billing.php,1:&nbsp;&nbsp;&nbsp;&nbsp; [currency_association_internal] =&gt; Array<br>&nbsp;a2billing.php,1:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; (<br>&nbsp;a2billing.php,1:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; [usd] =&gt; dollars<br>&nbsp;a2billing.php,1:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; [mxn] =&gt; pesos<br>&nbsp;a2billing.php,1:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; [eur] =&gt; euros<br>&nbsp;a2billing.php,1:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; [all] =&gt; credit<br>&nbsp;a2billing.php,1:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; )<br>&nbsp;a2billing.php,1:<br>&nbsp;a2billing.php,1:&nbsp;&nbsp;&nbsp;&nbsp; [currency_cents_association_internal] =&gt; Array<br>&nbsp;a2billing.php,1:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; (<br>&nbsp;a2billing.php,1:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; [usd] =&gt; prepaid-cents<br>&nbsp;a2billing.php,1:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; [eur] =&gt; prepaid-cents<br>&nbsp;a2billing.php,1:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; [gbp] =&gt; prepaid-pence<br>&nbsp;a2billing.php,1:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; [all] =&gt; credit<br>&nbsp;a2billing.php,1:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; )<br>&nbsp;a2billing.php,1:<br>&nbsp;a2billing.php,1:&nbsp;&nbsp;&nbsp;&nbsp; [file_conf_enter_menulang] =&gt; prepaid-menulang<br>&nbsp;a2billing.php,1:&nbsp;&nbsp;&nbsp;&nbsp; [ivr_voucher_prefixe] =&gt; 8<br>&nbsp;a2billing.php,1:&nbsp;&nbsp;&nbsp;&nbsp; [cheat_on_announcement_time] =&gt; 0<br>&nbsp;a2billing.php,1: )<br>&nbsp;a2billing.php,1:<br>&nbsp;a2billing.php,1: file:a2billing.php - line:117 - uniqueid: - IDCONFIG : 1<br>&nbsp;a2billing.php,1: file:a2billing.php - line:118 - uniqueid: - MODE : standard<br>&nbsp;a2billing.php,1: file:a2billing.php - line:130 - uniqueid: - AGI Request:<br>&nbsp;a2billing.php,1: Array<br>&nbsp;a2billing.php,1: (<br>&nbsp;a2billing.php,1:&nbsp;&nbsp;&nbsp;&nbsp; [agi_request] =&gt; a2billing.php<br>&nbsp;a2billing.php,1:&nbsp;&nbsp;&nbsp;&nbsp; [agi_channel] =&gt; IAX2/202020-433<br>&nbsp;a2billing.php,1:&nbsp;&nbsp;&nbsp;&nbsp; [agi_language] =&gt; br<br>&nbsp;a2billing.php,1:&nbsp;&nbsp;&nbsp;&nbsp; [agi_type] =&gt; IAX2<br>&nbsp;a2billing.php,1:&nbsp;&nbsp;&nbsp;&nbsp; [agi_uniqueid] =&gt; 1390308504.49<br>&nbsp;a2billing.php,1:&nbsp;&nbsp;&nbsp;&nbsp; [agi_version] =&gt; 1.6.2.22<br>&nbsp;a2billing.php,1:&nbsp;&nbsp;&nbsp;&nbsp; [agi_callerid] =&gt; 7760<br>&nbsp;a2billing.php,1:&nbsp;&nbsp;&nbsp;&nbsp; [agi_calleridname] =&gt; CELSO TI-7760<br>&nbsp;a2billing.php,1:&nbsp;&nbsp;&nbsp;&nbsp; [agi_callingpres] =&gt; 0<br>&nbsp;a2billing.php,1:&nbsp;&nbsp;&nbsp;&nbsp; [agi_callingani2] =&gt; 0<br>&nbsp;a2billing.php,1:&nbsp;&nbsp;&nbsp;&nbsp; [agi_callington] =&gt; 0<br>&nbsp;a2billing.php,1:&nbsp;&nbsp;&nbsp;&nbsp; [agi_callingtns] =&gt; 0<br>&nbsp;a2billing.php,1:&nbsp;&nbsp;&nbsp;&nbsp; [agi_dnid] =&gt; unknown<br>&nbsp;a2billing.php,1:&nbsp;&nbsp;&nbsp;&nbsp; [agi_rdnis] =&gt; unknown<br>&nbsp;a2billing.php,1:&nbsp;&nbsp;&nbsp;&nbsp; [agi_context] =&gt; a2billing<br>&nbsp;a2billing.php,1:&nbsp;&nbsp;&nbsp;&nbsp; [agi_extension] =&gt; 7789<br>&nbsp;a2billing.php,1:&nbsp;&nbsp;&nbsp;&nbsp; [agi_priority] =&gt; 2<br>&nbsp;a2billing.php,1:&nbsp;&nbsp;&nbsp;&nbsp; [agi_enhanced] =&gt; 0.0<br>&nbsp;a2billing.php,1:&nbsp;&nbsp;&nbsp;&nbsp; [agi_accountcode] =&gt;<br>&nbsp;a2billing.php,1:&nbsp;&nbsp;&nbsp;&nbsp; [agi_threadid] =&gt; 139725746394880<br>&nbsp;a2billing.php,1:&nbsp;&nbsp;&nbsp;&nbsp; [agi_arg_1] =&gt; 1<br>&nbsp;a2billing.php,1: )<br>&nbsp;a2billing.php,1:<br>&nbsp;a2billing.php,1: file:a2billing.php - line:131 - uniqueid: - [INFO : A2Billing - v2.0.7]<br>&nbsp;a2billing.php,1: file:Class.A2Billing.php - line:712 - uniqueid:1390308504.49 -&nbsp; get_agi_request_parameter = 7760 ; IAX2/202020-433 ; 1390308504.49 ;&nbsp; ; 7789<br>&nbsp;a2billing.php,1: file:a2billing.php - line:169 - uniqueid:1390308504.49 - [NO ANSWER CALL]<br>&nbsp;a2billing.php,1: file:Class.A2Billing.php - line:677 - uniqueid:1390308504.49 - FORCE LANGUAGE : BR<br>&nbsp;a2billing.php,1: file:Class.A2Billing.php - line:687 - uniqueid:1390308504.49 - [SET CHANNEL(language) br]<br>&nbsp;a2billing.php,1: file:Class.A2Billing.php - line:2635 - uniqueid:1390308504.49 - [CID_ENABLE - CID_CONTROL - <a href="CID:7760">CID:7760</a>]<br>&nbsp;a2billing.php,1: file:Class.A2Billing.php - line:2650 - uniqueid:1390308504.49 -<br>&nbsp;a2billing.php,1: file:Class.A2Billing.php - line:2654 - uniqueid:1390308504.49 - [CID_CONTROL - NO CALLERID]<br>&nbsp;a2billing.php,1: file:Class.A2Billing.php - line:2721 - uniqueid:1390308504.49 - [CID_CONTROL - NO CALLERID - ASK PIN CODE]<br>&nbsp;a2billing.php,1: file:Class.A2Billing.php - line:2862 - uniqueid:1390308504.49 -&nbsp; - Account code ::&gt;<br>&nbsp;a2billing.php,1: file:Class.A2Billing.php - line:3044 - uniqueid:1390308504.49 - Requesting DTMF, CARDNUMBER_LENGTH_MAX 20<br>&nbsp;&nbsp;&nbsp; -- &lt;IAX2/202020-433&gt; Playing 'prepaid-enter-pin-number.gsm' (language 'br')<br>&nbsp;a2billing.php,1: file:Class.A2Billing.php - line:3046 - uniqueid:1390308504.49 - RES DTMF :<br>&nbsp;a2billing.php,1: file:Class.A2Billing.php - line:3050 - uniqueid:1390308504.49 - CARDNUMBER ::&gt;<br>&nbsp;a2billing.php,1: file:Class.A2Billing.php - line:3054 - uniqueid:1390308504.49 - PREPAID-NO-CARD-ENTERED<br>&nbsp;a2billing.php,1: file:Class.A2Billing.php - line:3036 - uniqueid:1390308504.49 - Streamfile : PREPAID-NO-CARD-ENTERED<br>&nbsp;a2billing.php,1: file:Class.A2Billing.php - line:3044 - uniqueid:1390308504.49 - Requesting DTMF, CARDNUMBER_LENGTH_MAX 20<br>&nbsp;&nbsp;&nbsp; -- &lt;IAX2/202020-433&gt; Playing 'prepaid-enter-pin-number.gsm' (language 'br')<br>&nbsp;a2billing.php,1: file:Class.A2Billing.php - line:3046 - uniqueid:1390308504.49 - RES DTMF : -1<br>&nbsp;a2billing.php,1: file:Class.A2Billing.php - line:3050 - uniqueid:1390308504.49 - CARDNUMBER ::&gt; -1<br>&nbsp;a2billing.php,1: file:Class.A2Billing.php - line:3060 - uniqueid:1390308504.49 - PREPAID-INVALID-DIGITS<br>&nbsp;a2billing.php,1: file:Class.A2Billing.php - line:3036 - uniqueid:1390308504.49 - Streamfile : PREPAID-INVALID-DIGITS<br>&nbsp;a2billing.php,1: file:Class.A2Billing.php - line:3044 - uniqueid:1390308504.49 - Requesting DTMF, CARDNUMBER_LENGTH_MAX 20<br>&nbsp;a2billing.php,1: file:Class.A2Billing.php - line:3046 - uniqueid:1390308504.49 - RES DTMF :<br>&nbsp;a2billing.php,1: file:Class.A2Billing.php - line:3050 - uniqueid:1390308504.49 - CARDNUMBER ::&gt;<br>&nbsp;a2billing.php,1: file:Class.A2Billing.php - line:3054 - uniqueid:1390308504.49 - PREPAID-NO-CARD-ENTERED<br>&nbsp;a2billing.php,1: file:a2billing.php - line:181 - uniqueid:1390308504.49 - [TRY : callingcard_ivr_authenticate]<br>&nbsp;a2billing.php,1: file:a2billing.php - line:613 - uniqueid:1390308504.49 - [NO AUTH (CN:, cia_res:-1, CREDIT:)]<br>&nbsp;&nbsp;&nbsp; -- &lt;IAX2/202020-433&gt;AGI Script a2billing.php completed, returning 4<br>&nbsp; == Spawn extension (a2billing, 7789, 2) exited non-zero on 'IAX2/202020-433'<br>&nbsp;&nbsp;&nbsp; -- Hungup 'IAX2/202020-433'<o:p></o:p></p><div><div><div><div><div><div><div><p class=MsoNormal style='margin-bottom:12.0pt'><o:p>&nbsp;</o:p></p></div><div><p class=MsoNormal style='margin-bottom:12.0pt'>Extencions.conf<br><br><br>[root@c3po rrl]# cat /etc/asterisk/extensions.conf<br>[general]<br>static=yes<br>writeprotect=no<br>autofallthrough=yes<br>clearglobalvars=yes<br><br>[a2billing]<br><br><br><br>exten =&gt; s-NOANSWER,1,Hangup<br>exten =&gt; s-CONGESTION,1,Goto(s-CHANUNAVAIL,1)<br>exten =&gt; s-CANCEL,1,Hangup<br>exten =&gt; s-BUSY,1,Busy<br>exten =&gt; s-CHANUNAVAIL,1,Playtones(busy)<br>exten =&gt; s-CHANUNAVAIL,n,Busy(10)<br>exten =&gt; s-CHANUNAVAIL,n,Hangup()<br><br><br>exten =&gt; _X.,1,NoOp(A2Billing Start)<br>exten =&gt; _X.,n,DeadAgi(a2billing.php,1)<br>exten =&gt; _X.,1,Hangup()<br><br>;exten =&gt; _X.,1,AGI(a2billing.php,1)<br>;exten =&gt; _X.,n,Hangup<br><br>exten =&gt; h,n,Hangup<o:p></o:p></p></div><div><p class=MsoNormal><br>-- <o:p></o:p></p><div><p class=MsoNormal>-- <br>Raphael Rodrigues <br>Analista de Redes - Pd's Informática ltda<br>Linux user number 510457<br>LPI000275344<br>CISCO ID: CSCO12223327<br><a href="http://www.softwarelivre-campos.org/" target="_blank">http://www.softwarelivre-campos.org/</a> <br><a href="http://www.pdsnet.com.br/" target="_blank">http://www.pdsnet.com.br/</a><br><br>&quot;Felizes aqueles cujo conhecimento é livre de ilusões e superstições&quot;, Sidarta Gautama.<o:p></o:p></p></div></div></div></div></div></div></div></div></div></div></body></html>