Problemas con A2billing en elastix

codigit

Joined
Jun 15, 2009
Messages
26
Likes
0
Points
0
#1
Tengo problema con a2billing, pero no entiendo porque tengo elastix 1.6 y a2billing 1.3 es decir lo que se instala por defecto.

hago las llamadas y me sale esto, y luego tono de ocupado pero no pasa de ahi, alguien me ayuda por favor..


-- Executing [18098413085@a2billing:1] Answer("SIP/6852101825-00000005", "") in new stack
-- Executing [18098413085@a2billing:2] Wait("SIP/6852101825-00000005", "2") in new stack
-- Executing [18098413085@a2billing:3] DeadAGI("SIP/6852101825-00000005", "a2billing.php") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/a2billing.php
a2billing.php: A2Billing AGI internal configuration:
a2billing.php: Array
a2billing.php: (
a2billing.php: [debug] => 1
a2billing.php: [asterisk_version] => 1_4
a2billing.php: [answer_call] => 1
a2billing.php: [play_audio] => 1
a2billing.php: [say_goodbye] =>
a2billing.php: [play_menulanguage] =>
a2billing.php: [force_language] =>
a2billing.php: [intro_prompt] =>
a2billing.php: [min_credit_2call] => 0
a2billing.php: [min_duration_2bill] => 0
a2billing.php: [notenoughcredit_cardnumber] => 1
a2billing.php: [notenoughcredit_assign_newcardnumber_cid] => 1
a2billing.php: [use_dnid] =>
a2billing.php: [no_auth_dnid] => Array
a2billing.php: (
a2billing.php: [0] => 2400
a2billing.php: [1] => 2300
a2billing.php: )
a2billing.php: >
a2billing.php: [number_try] => 3
a2billing.php: [force_callplan_id] =>
a2billing.php: [say_balance_after_auth] => 1
a2billing.php: [say_balance_after_call] =>
a2billing.php: [say_rateinitial] =>
a2billing.php: [say_timetocall] => 1
a2billing.php: [auto_setcallerid] => 1
a2billing.php: [force_callerid] =>
a2billing.php: [cid_sanitize] =>
a2billing.php: [cid_enable] =>
a2billing.php: [cid_askpincode_ifnot_callerid] => 1
a2billing.php: [cid_auto_assign_card_to_cid] => 1
a2billing.php: [cid_auto_create_card] =>
a2billing.php: [cid_auto_create_card_len] => 10
a2billing.php: [cid_auto_create_card_typepaid] => POSTPAY
a2billing.php: [cid_auto_create_card_credit] => 0
a2billing.php: [cid_auto_create_card_credit_limit] => 1000
a2billing.php: [cid_auto_create_card_tariffgroup] => 6
a2billing.php: [callerid_authentication_over_cardnumber] =>
a2billing.php: [sip_iax_friends] =>
a2billing.php: [sip_iax_pstn_direct_call_prefix] => 555
a2billing.php: [sip_iax_pstn_direct_call] =>
a2billing.php: [ivr_voucher] =>
a2billing.php: [ivr_voucher_prefix] => 8
a2billing.php: [jump_voucher_if_min_credit] =>
a2billing.php: [extracharge_did] => Array
a2billing.php: (
a2billing.php: [0] =>
a2billing.php: )
a2billing.php: >
a2billing.php: [extracharge_fee] => Array
a2billing.php: (
a2billing.php: [0] =>
a2billing.php: )
a2billing.php: >
a2billing.php: [dialcommand_param] => |60|HRrL(%timeout%:61000:30000)
a2billing.php: [dialcommand_param_sipiax_friend] => |60|HL(3600000:61000:30000)
a2billing.php: [switchdialcommand] =>
a2billing.php: [failover_recursive_limit] => 2
a2billing.php: [maxtime_tocall_negatif_free_route] => 5400
a2billing.php: [send_reminder] =>
a2billing.php: [record_call] =>
a2billing.php: [monitor_formatfile] => gsm
a2billing.php: [agi_force_currency] =>
a2billing.php: [currency_association] => Array
a2billing.php: (
a2billing.php: [0] => usd:dollars
a2billing.php: [1] => mxn:pesos
a2billing.php: [2] => eur:euros
a2billing.php: [3] => all:credit
a2billing.php: )
a2billing.php: >
a2billing.php: [file_conf_enter_destination] => prepaid-enter-dest
a2billing.php: [file_conf_enter_menulang] => prepaid-menulang2
a2billing.php: [callback_bill_1stleg_ifcall_notconnected] => 1
a2billing.php: [logger_enable] => 1
a2billing.php: [log_file] => /tmp/a2billing.log
a2billing.php: [currency_association_internal] => Array
a2billing.php: (
a2billing.php: [usd] => dollars
a2billing.php: [mxn] => pesos
a2billing.php: [eur] => euros
a2billing.php: [all] => credit
a2billing.php: )
a2billing.php: >
a2billing.php: [ivr_voucher_prefixe] => 8
a2billing.php: )
a2billing.php: >
a2billing.php: file:a2billing.php - line:75 - IDCONFIG : 1
a2billing.php: file:a2billing.php - line:76 - MODE : standard
a2billing.php: file:a2billing.php - line:88 - AGI Request:
a2billing.php: file:a2billing.php - line:89 - Array
a2billing.php: (
a2billing.php: [agi_request] => a2billing.php
a2billing.php: [agi_channel] => SIP/6852101825-00000005
a2billing.php: [agi_language] => en
a2billing.php: [agi_type] => SIP
a2billing.php: [agi_uniqueid] => 1298853957.5
a2billing.php: [agi_callerid] => 8097242591
a2billing.php: [agi_calleridname] => 6852101825
a2billing.php: [agi_callingpres] => 0
a2billing.php: [agi_callingani2] => 0
a2billing.php: [agi_callington] => 0
a2billing.php: [agi_callingtns] => 0
a2billing.php: [agi_dnid] => 18098413085
a2billing.php: [agi_rdnis] => unknown
a2billing.php: [agi_context] => a2billing
a2billing.php: [agi_extension] => 18098413085
a2billing.php: [agi_priority] => 3
a2billing.php: [agi_enhanced] => 0.0
a2billing.php: [agi_accountcode] => 6852101825
a2billing.php: )
a2billing.php: >
a2billing.php: file:Class.A2Billing.php - line:601 - get_agi_request_parameter = 8097242591 ; SIP/6852101825-00000005 ; 1298853957.5 ; 6852101825 ; 18098413085
a2billing.php: file:a2billing.php - line:138 - [ANSWER CALL]
a2billing.php: file:Class.A2Billing.php - line:1668 - 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_campaign, cc_card.id, useralias FROM cc_card LEFT JOIN cc_tariffgroup ON tariff=cc_tariffgroup.id WHERE username='6852101825'
a2billing.php: file:Class.A2Billing.php - line:1742 - [SET CHANNEL(language) es]
a2billing.php: file:Class.A2Billing.php - line:634 - [CARD STATUS UPDATE : UPDATE cc_card SET inuse=inuse+1 WHERE username='6852101825']
a2billing.php: file:Class.A2Billing.php - line:1969 - [A2Billing] SAY BALANCE : 5.00000
a2billing.php: >
a2billing.php: file:Class.A2Billing.php - line:1122 - [CURRENCY : DOP]
a2billing.php: file:Class.A2Billing.php - line:1427 - [AUTO SetCallerID]
a2billing.php: file:Class.A2Billing.php - line:1433 - [REQUESTED SetCallerID : 8097242591]
a2billing.php: file:Class.A2Billing.php - line:1444 - [EXEC SetCallerID : 8097242591]
a2billing.php: file:a2billing.php - line:169 - [CHANNEL STATUS : 6 = Line is up]
a2billing.php: file:a2billing.php - line:170 - [CREDIT : 5.00000][CREDIT MIN_CREDIT_2CALL : 0]
a2billing.php: file:Class.A2Billing.php - line:656 - && && 11&& 0
a2billing.php: file:Class.A2Billing.php - line:663 - RES DTMF : -1
a2billing.php: file:Class.A2Billing.php - line:681 - DESTINATION ::> -1
a2billing.php: file:Class.A2Billing.php - line:683 - RULES APPLY ON DESTINATION ::> -1
a2billing.php: file:a2billing.php - line:169 - [CHANNEL STATUS : 6 = Line is up]
a2billing.php: file:a2billing.php - line:170 - [CREDIT : 5.00000][CREDIT MIN_CREDIT_2CALL : 0]
a2billing.php: file:Class.A2Billing.php - line:656 - 0 && && 11&& 1
a2billing.php: file:Class.A2Billing.php - line:663 - RES DTMF : -1
a2billing.php: file:Class.A2Billing.php - line:681 - DESTINATION ::> -1
a2billing.php: file:Class.A2Billing.php - line:683 - RULES APPLY ON DESTINATION ::> -1
a2billing.php: file:a2billing.php - line:169 - [CHANNEL STATUS : 6 = Line is up]
a2billing.php: file:a2billing.php - line:170 - [CREDIT : 5.00000][CREDIT MIN_CREDIT_2CALL : 0]
a2billing.php: file:Class.A2Billing.php - line:656 - 0 && && 11&& 2
a2billing.php: file:Class.A2Billing.php - line:663 - RES DTMF : -1
a2billing.php: file:Class.A2Billing.php - line:681 - DESTINATION ::> -1
a2billing.php: file:Class.A2Billing.php - line:683 - RULES APPLY ON DESTINATION ::> -1
a2billing.php: file:Class.A2Billing.php - line:634 - [CARD STATUS UPDATE : UPDATE cc_card SET inuse=inuse-1 WHERE username='6852101825']
-- AGI Script a2billing.php completed, returning 0


POR FAVOR ALGUNA SOLUCION A ESTE PROIBLEMA, ya le agregue a extension.conf lo que dice el manual, igual el contexto a2billing, lo probe Con la (Coma ,) y nada tampoco..

alguna idea...
 

codigit

Joined
Jun 15, 2009
Messages
26
Likes
0
Points
0
#2
Lo interesante del caso es que se me ocurrio probar con una extension poniendo elAccountcode como el cardnumber creado en a2billing, ycambiando el contexto de la extension para el contexto a2billing...

Y la llamada salio perfectamente, es decir parece ser que mi problema estaen a2billing, alguna ayuda?? porque entre con ese cardnumber a ver el detalle, y la llamada a2billing la facturo le puso su precio y todo..

Porque no puedo hacerlo directo por a2billing? alguna ayuda...
 

Members online

No members online now.

Latest posts

Forum statistics

Threads
30,902
Messages
130,887
Members
17,566
Latest member
Fpino
Top