<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2900.2873" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>Trabalho com rotas gsm, e estou com intuito de
fazer um calling card utilizando canais gsm disponiveis em minha
plataforma.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>No entanto estou fazendo teste com vono para
receber a chamada e direcionar para o contexto do a2billing, só que o mesmo
atende a chamada solicita o pin mas quando é para dar a opção para o cliente
digitar o destino desejado ele manda o numero do vono sem dar opção para o
cliente</FONT></DIV>
<DIV><FONT face=Arial size=2>alguem pode me ajudar</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>extensions</FONT></DIV>
<DIV><FONT face=Arial size=2>[from-entrada]<BR>exten =>
vono,1,SIPGetHeader(NUMENTRADA=X-Vono-DDR)<BR>exten =>
vono,n,Goto(call,s,1)<BR></FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>
<DIV><FONT face=Arial size=2>[call]</FONT></DIV></FONT></DIV>
<DIV><FONT face=Arial size=2> ;CallingCard application<BR>;include
a2billing<BR>exten => s,1,Answer()<BR>exten => s,n,Wait,1<BR>exten =>
s,n,DeadAGI(a2billing.php,${exten}|2)<BR>exten => s,n,Wait,1<BR>exten =>
s,n,Hangup()</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>no sip .conf o meu tronco da vono esta no contexto
from-entrada</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>debug</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV><FONT face=Arial size=2>
<DIV><BR>ACK sip:vono@201.48.2xxxxxx SIP/2.0<BR>Via: SIP/2.0/UDP
201.86.87.5:5060;branch=z9hG4bKsb4ml420a0hgeess91c1.1<BR>From: "6230911858"
<sip:6230911858@vono.net.br>;tag=SDooct701-as5b939bda<BR>To:
<sip:xxxxxxxxxx-n3da6ltdp3sm9@10.141.1.145>;tag=as16ac1d9a<BR>Contact:
<sip:6230911858@201.86.87.5:5060;transport=udp><BR>Call-ID:
SDooct701-246bbce2c5456ec1d103d8e85dc817e5-v300g00<BR>CSeq: 102
ACK<BR>User-Agent: Plataforma Vono<BR>Max-Forwards: 69<BR>Content-Length:
0</DIV>
<DIV> </DIV>
<DIV><BR>--- (10 headers 0 lines)---<BR> -- Executing
DeadAGI("SIP/purovoip-091a29e0", "a2billing.php||2") in new
stack<BR> -- Launched AGI Script
/var/lib/asterisk/agi-bin/a2billing.php<BR> a2billing.php||2: A2Billing
AGI internal configuration:<BR> a2billing.php||2: Array<BR>
a2billing.php||2: (<BR> a2billing.php||2: [debug]
=> 2<BR> a2billing.php||2: [asterisk_version]
=> 1_2<BR> a2billing.php||2: [answer_call]
=><BR> a2billing.php||2: [play_audio]
=><BR> a2billing.php||2: [say_goodbye]
=><BR> a2billing.php||2: [play_menulanguage]
=><BR> a2billing.php||2: [force_language] =>
pt_BR<BR> a2billing.php||2: [intro_prompt]
=><BR> a2billing.php||2: [min_credit_2call]
=> 0<BR> a2billing.php||2: [min_duration_2bill]
=><BR> a2billing.php||2:
[notenoughcredit_cardnumber] => 1<BR>
a2billing.php||2:
[notenoughcredit_assign_newcardnumber_cid] => 1<BR>
a2billing.php||2: [use_dnid] => 1<BR>
a2billing.php||2: [no_auth_dnid] => Array<BR>
a2billing.php||2: (<BR>
a2billing.php||2:
[0] => 2400<BR>
a2billing.php||2:
[1] => 2300<BR>
a2billing.php||2: )<BR>
a2billing.php||2:<BR> a2billing.php||2:
[number_try] => 1<BR> a2billing.php||2:
[force_callplan_id] =><BR> a2billing.php||2:
[say_balance_after_auth] =><BR>
a2billing.php||2: [say_balance_after_call]
=><BR> a2billing.php||2: [say_rateinitial]
=><BR> a2billing.php||2: [say_timetocall]
=><BR> a2billing.php||2: [auto_setcallerid]
=> 1<BR> a2billing.php||2: [force_callerid]
=><BR> a2billing.php||2: [cid_sanitize]
=><BR> a2billing.php||2: [cid_enable]
=><BR> a2billing.php||2:
[cid_askpincode_ifnot_callerid] => 1<BR>
a2billing.php||2: [cid_auto_assign_card_to_cid] =>
1<BR> a2billing.php||2: [cid_auto_create_card]
=><BR> a2billing.php||2:
[cid_auto_create_card_len] => 10<BR>
a2billing.php||2: [cid_auto_create_card_typepaid] =>
POSTPAY<BR> a2billing.php||2:
[cid_auto_create_card_credit] => 0<BR>
a2billing.php||2: [cid_auto_create_card_credit_limit]
=> 1000<BR> a2billing.php||2:
[cid_auto_create_card_tariffgroup] => 6<BR>
a2billing.php||2:
[callerid_authentication_over_cardnumber] =><BR>
a2billing.php||2: [sip_iax_friends] =><BR>
a2billing.php||2: [sip_iax_pstn_direct_call_prefix]
=> 555<BR> a2billing.php||2:
[sip_iax_pstn_direct_call] =><BR>
a2billing.php||2: [ivr_voucher] =><BR>
a2billing.php||2: [ivr_voucher_prefix] => 8<BR>
a2billing.php||2: [jump_voucher_if_min_credit]
=><BR> a2billing.php||2: [extracharge_did]
=> Array<BR>
a2billing.php||2: (<BR>
a2billing.php||2:
[0] =><BR>
a2billing.php||2: )<BR>
a2billing.php||2:<BR> a2billing.php||2:
[extracharge_fee] => Array<BR>
a2billing.php||2: (<BR>
a2billing.php||2:
[0] =><BR>
a2billing.php||2: )<BR>
a2billing.php||2:<BR> a2billing.php||2:
[international_prefixes] => Array<BR>
a2billing.php||2: (<BR>
a2billing.php||2:
[0] => 011<BR>
a2billing.php||2:
[1] => 00<BR>
a2billing.php||2:
[2] => 09<BR>
a2billing.php||2: )<BR>
a2billing.php||2:<BR> a2billing.php||2:
[dialcommand_param] => |60|HgL(%timeout%:61000:30000)<BR>
a2billing.php||2: [dialcommand_param_sipiax_friend]
=> |60|HgL(3600000:61000:30000)<BR>
a2billing.php||2: [switchdialcommand] =><BR>
a2billing.php||2: [failover_recursive_limit] =>
4<BR> a2billing.php||2:
[maxtime_tocall_negatif_free_route] => 5400<BR>
a2billing.php||2: [send_reminder] =><BR>
a2billing.php||2: [record_call] =><BR>
a2billing.php||2: [monitor_formatfile] =>
gsm<BR> a2billing.php||2: [agi_force_currency]
=><BR> a2billing.php||2: [currency_association]
=> Array<BR>
a2billing.php||2: (<BR>
a2billing.php||2:
[0] => usd:dollars<BR>
a2billing.php||2:
[1] => mxn:pesos<BR>
a2billing.php||2:
[2] => eur:euros<BR>
a2billing.php||2:
[3] => all:credit<BR>
a2billing.php||2: )<BR>
a2billing.php||2:<BR> a2billing.php||2:
[file_conf_enter_destination] => pm-invalid-option<BR>
a2billing.php||2: [file_conf_enter_menulang] =>
pm-invalid-option<BR> a2billing.php||2:
[logger_enable] => 1<BR> a2billing.php||2:
[log_file] => /tmp/a2billing.log<BR>
a2billing.php||2: [currency_association_internal] =>
Array<BR>
a2billing.php||2: (<BR>
a2billing.php||2:
[usd] => dollars<BR>
a2billing.php||2:
[mxn] => pesos<BR>
a2billing.php||2:
[eur] => euros<BR>
a2billing.php||2:
[all] => credit<BR>
a2billing.php||2: )<BR>
a2billing.php||2:<BR> a2billing.php||2:
[ivr_voucher_prefixe] => 8<BR> a2billing.php||2: )<BR>
a2billing.php||2:<BR> a2billing.php||2: file:a2billing.php - line:76 -
IDCONFIG : 1<BR> a2billing.php||2: file:a2billing.php - line:77 - MODE :
standard<BR> a2billing.php||2: file:a2billing.php - line:89 - AGI
Request:<BR> a2billing.php||2: file:a2billing.php - line:90 -
Array<BR> a2billing.php||2: (<BR>
a2billing.php||2: [agi_request] =>
a2billing.php<BR> a2billing.php||2: [agi_channel]
=> SIP/purovoip-091a29e0<BR> a2billing.php||2:
[agi_language] => pt_BR<BR> a2billing.php||2:
[agi_type] => SIP<BR> a2billing.php||2:
[agi_uniqueid] => 1219093914.17592<BR>
a2billing.php||2: [agi_callerid] =>
6230911858<BR> a2billing.php||2:
[agi_calleridname] => 6230911858<BR>
a2billing.php||2: [agi_callingpres] => 0<BR>
a2billing.php||2: [agi_callingani2] => 0<BR>
a2billing.php||2: [agi_callington] => 0<BR>
a2billing.php||2: [agi_callingtns] => 0<BR>
a2billing.php||2: [agi_dnid] => vono<BR>
a2billing.php||2: [agi_rdnis] => unknown<BR>
a2billing.php||2: [agi_context] => call<BR>
a2billing.php||2: [agi_extension] => s<BR>
a2billing.php||2: [agi_priority] => 3<BR>
a2billing.php||2: [agi_enhanced] => 0.0<BR>
a2billing.php||2: [agi_accountcode] =><BR>
a2billing.php||2: )<BR> a2billing.php||2:<BR> a2billing.php||2:
file:Class.A2Billing.php - line:617 - get_agi_request_parameter =
6230911858 ; SIP/purovoip-091a29e0 ; 1219093914.17592 ; ; s<BR>
a2billing.php||2: file:a2billing.php - line:143 - [NO ANSWER CALL]<BR>
a2billing.php||2: file:Class.A2Billing.php - line:1770 - Requesting DTMF,
CARDNUMBER_LENGTH_MAX 15<BR> -- Playing
'prepaid-enter-pin-number' (language 'pt_BR')</DIV>
<DIV> a2billing.php||2: file:Class.A2Billing.php - line:1772 - RES DTMF :
2454<BR> a2billing.php||2: file:Class.A2Billing.php - line:1776 -
CARDNUMBER ::> 2454<BR> a2billing.php||2: file:Class.A2Billing.php -
line:1799 - QUERY = SELECT credit, tariff, activated, inuse, simultaccess,
typepaid, creditlimit, language, removeinterprefix, redial, enableexpire,
UNIX_TIMESTAMP(expirationdate), expiredays, nbused,
UNIX_TIMESTAMP(firstusedate), UNIX_TIMESTAMP(cc_card.creationdate),
cc_card.currency, cc_card.lastname, cc_card.firstname, cc_card.email,
cc_card.uipass, cc_card.id, cc_card.id_campaign, cc_card.id, useralias FROM
cc_card LEFT JOIN cc_tariffgroup ON tariff=cc_tariffgroup.id WHERE
username='2454'<BR> a2billing.php||2: Array<BR> a2billing.php||2:
(<BR> a2billing.php||2: [0] => Array<BR>
a2billing.php||2: (<BR>
a2billing.php||2:
[0] => 49.19250<BR>
a2billing.php||2:
[credit] => 49.19250<BR>
a2billing.php||2:
[1] => 8<BR>
a2billing.php||2:
[tariff] => 8<BR>
a2billing.php||2:
[2] => t<BR>
a2billing.php||2:
[activated] => t<BR>
a2billing.php||2:
[3] => 0<BR>
a2billing.php||2:
[inuse] => 0<BR>
a2billing.php||2:
[4] => 1<BR>
a2billing.php||2:
[simultaccess] => 1<BR>
a2billing.php||2:
[5] => 0<BR>
a2billing.php||2:
[typepaid] => 0<BR>
a2billing.php||2:
[6] =><BR>
a2billing.php||2:
[creditlimit] =><BR>
a2billing.php||2:
[7] => en<BR>
a2billing.php||2:
[language] => en<BR>
a2billing.php||2:
[8] => 0<BR>
a2billing.php||2:
[removeinterprefix] => 0<BR>
a2billing.php||2:
[9] => 06133128192<BR>
a2billing.php||2:
[redial] => 06133128192<BR>
a2billing.php||2:
[10] => 0<BR>
a2billing.php||2:
[enableexpire] => 0<BR>
a2billing.php||2:
[11] => 1525810928<BR>
a2billing.php||2:
[UNIX_TIMESTAMP(expirationdate)] => 1525810928<BR>
a2billing.php||2:
[12] => 0<BR>
a2billing.php||2:
[expiredays] => 0<BR>
a2billing.php||2:
[13] => 42<BR>
a2billing.php||2:
[nbused] => 42<BR>
a2billing.php||2:
[14] => 1210281885<BR>
a2billing.php||2:
[UNIX_TIMESTAMP(firstusedate)] => 1210281885<BR>
a2billing.php||2:
[15] => 1210278374<BR>
a2billing.php||2:
[UNIX_TIMESTAMP(cc_card.creationdate)] => 1210278374<BR>
a2billing.php||2:
[16] => BRL<BR>
a2billing.php||2:
[currency] => BRL<BR>
a2billing.php||2:
[17] => teste<BR>
a2billing.php||2:
[lastname] => teste<BR>
a2billing.php||2:
[18] => teste<BR>
a2billing.php||2:
[firstname] => teste<BR>
a2billing.php||2:
[19] => <A href="mailto:teste@teste.com">teste@teste.com</A><BR>
a2billing.php||2:
[email] => <A href="mailto:teste@teste.com">teste@teste.com</A><BR>
a2billing.php||2:
[20] => 202020<BR>
a2billing.php||2:
[uipass] => 202020<BR>
a2billing.php||2:
[21] => 5<BR>
a2billing.php||2:
[id] => 5<BR>
a2billing.php||2:
[22] => -1<BR>
a2billing.php||2:
[id_campaign] => -1<BR>
a2billing.php||2:
[23] => 5<BR>
a2billing.php||2:
[24] => 2454<BR>
a2billing.php||2:
[useralias] => 2454<BR>
a2billing.php||2: )<BR>
a2billing.php||2:<BR> a2billing.php||2: )<BR>
a2billing.php||2:<BR> a2billing.php||2: file:Class.A2Billing.php -
line:1871 - [SET LANGUAGE() en]<BR> a2billing.php||2:
file:Class.A2Billing.php - line:650 - [CARD STATUS UPDATE : UPDATE cc_card SET
inuse=inuse+1 WHERE username='2454']<BR> a2billing.php||2:
file:Class.A2Billing.php - line:1400 - [AUTO SetCallerID]<BR>
a2billing.php||2: file:Class.A2Billing.php - line:1406 - [REQUESTED SetCallerID
: 6230911858]<BR> a2billing.php||2: file:Class.A2Billing.php - line:1417 -
[EXEC SetCallerID : 6230911858]<BR> a2billing.php||2: file:a2billing.php -
line:170 - [CHANNEL STATUS : 6 = Line is up]<BR> a2billing.php||2:
file:a2billing.php - line:171 - [CREDIT : 49.19250][CREDIT MIN_CREDIT_2CALL :
0]<BR> a2billing.php||2: file:Class.A2Billing.php - line:672 - 1
&& && 4&& 0<BR> a2billing.php||2:
file:Class.A2Billing.php - line:697 -<STRONG> DESTINATION ::>
vono</STRONG><BR> a2billing.php||2: file:Class.A2Billing.php - line:699 -
RULES APPLY ON DESTINATION ::> vono<BR> a2billing.php||2:
file:Class.A2Billing.php - line:650 - [CARD STATUS UPDATE : UPDATE cc_card SET
inuse=inuse-1 WHERE username='2454']<BR> -- AGI Script
a2billing.php completed, returning 0<BR>Scheduling destruction of call
'SD1agld01-df49a6a746ba55f4d72e2877435ddd41-v300g00' in 32000
ms<BR>set_destination: Parsing
<sip:6230911858@201.86.87.5:5060;transport=udp> for address/port to send
to<BR>set_destination: set destination to 201.86.87.5, port 5060<BR>Reliably
Transmitting (NAT) to 201.86.87.5:5060:<BR>BYE sip:6230911858@201.86.87.5:5060
SIP/2.0<BR>Via: SIP/2.0/UDP
201.48.251.15:5060;branch=z9hG4bK16ee4c8b;rport<BR>From:
<sip:xxxxxxxx-n3da6ltdp3sm9@10.141.1.145>;tag=as7cf19c44<BR>To:
"6230911858"
<sip:6230911858@vono.net.br>;tag=SD1agld01-as167529dc<BR>Contact:
<sip:vono@201.48.251.15><BR>Call-ID:
SD1agld01-df49a6a746ba55f4d72e2877435ddd41-v300g00<BR>CSeq: 102
BYE<BR>User-Agent: Impacto Voip Pbx<BR>Max-Forwards: 70<BR>Content-Length:
0<BR><BR></DIV></FONT>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Eduardo de Sousa <BR>Departamento
Comercial</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>MSN:atendimento@impactovoip.com.br<BR>Impacto Voip
Tecnologia e Teleinformática <BR><A
href="http://www.impactovoip.com.br">www.impactovoip.com.br</A><BR>Fone: (62)
4053-8840 - 9651-4660<BR> <BR></FONT></DIV></BODY></HTML>