[AsteriskBrasil] RES: RES: A2billing

pruonckk em pruonckk.org pruonckk em pruonckk.org
Quarta Maio 27 11:35:07 BRT 2009


Olá Rodrigo,

Você tentou desabilitar esta opção ?

; Play the amount of time that the user can call (values : yes - no)
say_timetocall = NO

Ela é referente ao seguinte trecho no Class.A2billing.php
------------------------------

   if ($this->agiconfig['say_timetocall']==1){
                        $agi-> stream_file('prepaid-you-have', '#');
                        if ($minutes>0){
                                $agi->say_number($minutes);
                                if ($minutes==1){
                                        $agi->
stream_file('prepaid-minute',
'#');
                                }else{
                                        $agi->
stream_file('prepaid-minutes',
'#');
                                }
                        }
                        if ($seconds>0){
                                if ($minutes>0) $agi->
stream_file('vm-and', '#');

                                $agi->say_number($seconds);
                                if ($seconds==1){
                                        $agi->
stream_file('prepaid-second',
'#');
                                }else{
                                        $agi->
stream_file('prepaid-seconds',
'#');
                                }
                        }
                }
                return 1;


> Andre
>
> Num funcionou não, o que eu queria fazer é o seguinte:
>
> Ele tem que falar o saldo na hora que a pessoa digita o numero de destino,
> isto ele faz, o que ele não pode fazer é falar o tempo de ligação no meio
> da
> chamada, com ela em andamento. Por ex: estou numa chamada, ele fala pra
> mim
> que ainda falta 60 segundos. é isso que preciso tirar.
>
> at
>
> Rodrigo Filardo
>
>
>
>
>
>
>
> De: asteriskbrasil-bounces em listas.asteriskbrasil.org
> [mailto:asteriskbrasil-bounces em listas.asteriskbrasil.org] Em nome de andre
> Enviada em: terça-feira, 26 de maio de 2009 14:28
> Para: asteriskbrasil em listas.asteriskbrasil.org
> Assunto: [AsteriskBrasil] RES: A2billing
>
>
>
> Rodrigo segue meu a2billing nessa seção você seta igual esta aqui que vai
> resolver seu problema ok.
>
>
>
> [agi-conf1]
>
>
>
> ; the debug level
>
> ; 0=none, 1=low, 2=normal, 3=all
>
> debug = 1
>
> ; Asterisk Version Information
>
> ; 1_1,1_2,1_4 By Default it will take 1_2 or higher
>
> asterisk_version = 1_2
>
>
>
> ; Manage the answer on the call
>
> answer_call = no
>
>
>
> ; Play audio - this will disable all stream file but not the Get Data
>
> ; for wholesale ensure that the authentication works and than number_try =
> 1
>
> play_audio = no
>
>
>
> ; play the goodbye message when the user has finished.
>
> say_goodbye = no
>
>
>
> ; enable the menu to choose the language
>
> ; press 1 for English, pulsa 2 para el español, Pressez 3 pour Français
>
> play_menulanguage = no
>
>
>
>
>
> ; force the use of a language, if you dont want to use it leave the option
> empty
>
> ; Values : ES, EN, FR, etc... (according to the audio you have installed)
>
> force_language = BR
>
>
>
> ; Introduction prompt : to specify an additional prompt to play at the
> beginning of the application
>
> intro_prompt =
>
>
>
> ; Minimum amount of credit to use the application
>
> min_credit_2call = 1
>
>
>
> ; this is the minimum duration in seconds of a call in order to be billed
>
> ; any call with a length less than min_duration_2bill will have a 0 cost
>
> ; useful not to charge callers for system errors when a call was answered
> but it actually didn't connect
>
> min_duration_2bill = 6
>
>
>
> ; if user doesn't have enough credit to call a destination, prompt him to
> enter another cardnumber
>
> notenoughcredit_cardnumber = YES
>
>
>
> ; if notenoughcredit_cardnumber = YES  then    assign the CallerID to the
> new cardnumber
>
> notenoughcredit_assign_newcardnumber_cid = YES
>
>
>
>
>
> Atenciosamente,
>
> André Luiz
> Sertel-Info
> 8-   <http://www.sertelinfo.com.br/> http://www.sertelinfo.com.br
> * -  <mailto:andre em sertelinfo.com.br> andre em sertelinfo.com.br
> (-  21-4063-4241 / 3514-7388 / 8566-4952
>
>
>
> De: asteriskbrasil-bounces em listas.asteriskbrasil.org
> [mailto:asteriskbrasil-bounces em listas.asteriskbrasil.org] Em nome de
> Rodrigo
> Filardo Reinig
> Enviada em: terça-feira, 26 de maio de 2009 14:17
> Para: asteriskbrasil em listas.asteriskbrasil.org
> Assunto: [AsteriskBrasil] A2billing
>
>
>
> Alguem que possa me ajudar! :(
>
>
>
>
>
>
>
>
>
> Pessoal mais uma vez preciso da ajuda de vocês!
>
> Tenho aki um sistema pre pago de cartoes com a2billing que está
> funcionando
> perfeito, a única coisa que incomoda os usuarios é que durante a chamada,
> de
> tempos em tempos o a2b fala o valor dos creditos que o cartão ainda
> possui.
> Eu queria retirar isto, pois os usuarios estão ficando incomodados.
>
> Alguem tem alguma ideia de onde desabilito este audio, pois olhei no
> a2billing.conf e não encontrei.
>
> Grato pela ajuda.
>
> At Rodrigo Filardo
>
>
>
>
>
> __________ Information from ESET NOD32 Antivirus, version of virus
> signature
> database 4104 (20090526) __________
>
> The message was checked by ESET NOD32 Antivirus.
>
> http://www.eset.com
>
>
> __________ Information from ESET NOD32 Antivirus, version of virus
> signature
> database 4104 (20090526) __________
>
> The message was checked by ESET NOD32 Antivirus.
>
> http://www.eset.com
>
>
>
> __________ Information from ESET NOD32 Antivirus, version of virus
> signature
> database 4106 (20090526) __________
>
> The message was checked by ESET NOD32 Antivirus.
>
> http://www.eset.com
>
>
>
> __________ Information from ESET NOD32 Antivirus, version of virus
> signature
> database 4106 (20090526) __________
>
> The message was checked by ESET NOD32 Antivirus.
>
> http://www.eset.com
>
> _______________________________________________
> Openmoko Freerunner, primeiro telefone open source, disponível no Brasil
> rodando o Android da Google.
> http://www.neodroid.com
>
> Compre uma camiseta da AsteriskBrasil.org!
> http://www.voipmania.com.br
>
> Acesse o canal IRC de discussão sobre Asterisk em Português Brasileiro na
> rede Freenode.net: #asterisk-br
> _______________________________________________
> Lista de discussões AsteriskBrasil.org
> AsteriskBrasil em listas.asteriskbrasil.org
> http://listas.asteriskbrasil.org/mailman/listinfo/asteriskbrasil




Mais detalhes sobre a lista de discussão AsteriskBrasil