I am trying to make calls through elastix (a2billing) but no success. The girl just say "Enter the number u wish to call ......."
And nothing else happens
elastix*CLI>
-- Executing [04899580257@a2billing:1] Answer("SIP/1645386653-09274fc0", "") in new stack
-- Executing [04899580257@a2billing:2] Wait("SIP/1645386653-09274fc0", "1") in new stack
-- Executing [04899580257@a2billing:3] DeadAGI("SIP/1645386653-09274fc0", "a2billing.php|1") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/a2billing.php
a2billing.php|1: A2Billing AGI internal configuration:
a2billing.php|1: Array
a2billing.php|1: (
a2billing.php|1: [debug] => 1
a2billing.php|1: [asterisk_version] => 1_2
a2billing.php|1: [answer_call] => 1
a2billing.php|1: [play_audio] => 1
a2billing.php|1: [say_goodbye] =>
a2billing.php|1: [play_menulanguage] =>
a2billing.php|1: [force_language] =>
a2billing.php|1: [intro_prompt] =>
a2billing.php|1: [min_credit_2call] => 0
a2billing.php|1: [min_duration_2bill] => 0
a2billing.php|1: [notenoughcredit_cardnumber] => 1
a2billing.php|1: [notenoughcredit_assign_newcardnumber_cid] => 1
a2billing.php|1: [use_dnid] => 1
a2billing.php|1: [no_auth_dnid] => Array
a2billing.php|1: (
a2billing.php|1: [0] => 2400
a2billing.php|1: [1] => 2300
a2billing.php|1: )
a2billing.php|1:
a2billing.php|1: [number_try] => 3
a2billing.php|1: [force_callplan_id] =>
a2billing.php|1: [say_balance_after_auth] =>
a2billing.php|1: [say_balance_after_call] =>
a2billing.php|1: [say_rateinitial] =>
a2billing.php|1: [say_timetocall] =>
a2billing.php|1: [auto_setcallerid] => 1
a2billing.php|1: [force_callerid] =>
a2billing.php|1: [cid_sanitize] =>
a2billing.php|1: [cid_enable] =>
a2billing.php|1: [cid_askpincode_ifnot_callerid] => 1
a2billing.php|1: [cid_auto_assign_card_to_cid] => 1
a2billing.php|1: [cid_auto_create_card] =>
a2billing.php|1: [cid_auto_create_card_len] => 10
a2billing.php|1: [cid_auto_create_card_typepaid] => POSTPAY
a2billing.php|1: [cid_auto_create_card_credit] => 0
a2billing.php|1: [cid_auto_create_card_credit_limit] => 1000
a2billing.php|1: [cid_auto_create_card_tariffgroup] => 6
a2billing.php|1: [callerid_authentication_over_cardnumber] =>
a2billing.php|1: [sip_iax_friends] =>
a2billing.php|1: [sip_iax_pstn_direct_call_prefix] => 555
a2billing.php|1: [sip_iax_pstn_direct_call] =>
a2billing.php|1: [ivr_voucher] =>
a2billing.php|1: [ivr_voucher_prefix] => 8
a2billing.php|1: [jump_voucher_if_min_credit] =>
a2billing.php|1: [extracharge_did] => Array
a2billing.php|1: (
a2billing.php|1: [0] =>
a2billing.php|1: )
a2billing.php|1:
a2billing.php|1: [extracharge_fee] => Array
a2billing.php|1: (
a2billing.php|1: [0] =>
a2billing.php|1: )
a2billing.php|1:
a2billing.php|1: [dialcommand_param] => |60|HRrL(%timeout%:61000:30000)
a2billing.php|1: [dialcommand_param_sipiax_friend] => |60|HL(3600000:61000:30000)
a2billing.php|1: [switchdialcommand] =>
a2billing.php|1: [failover_recursive_limit] => 2
a2billing.php|1: [maxtime_tocall_negatif_free_route] => 5400
a2billing.php|1: [send_reminder] =>
a2billing.php|1: [record_call] =>
a2billing.php|1: [monitor_formatfile] => gsm
a2billing.php|1: [agi_force_currency] =>
a2billing.php|1: [currency_association] => Array
a2billing.php|1: (
a2billing.php|1: [0] => usd:dollars
a2billing.php|1: [1] => mxn:pesos
a2billing.php|1: [2] => eur:euros
a2billing.php|1: [3] => all:credit
a2billing.php|1: )
a2billing.php|1:
a2billing.php|1: [file_conf_enter_menulang] => prepaid-menulang2
a2billing.php|1: [callback_bill_1stleg_ifcall_notconnected] => 1
a2billing.php|1: [logger_enable] => 1
a2billing.php|1: [log_file] => /tmp/a2billing.log
a2billing.php|1: [currency_association_internal] => Array
a2billing.php|1: (
a2billing.php|1: [usd] => dollars
a2billing.php|1: [mxn] => pesos
a2billing.php|1: [eur] => euros
a2billing.php|1: [all] => credit
a2billing.php|1: )
a2billing.php|1:
a2billing.php|1: [file_conf_enter_destination] => prepaid-enter-number-u-calling-1-or-011
a2billing.php|1: [ivr_voucher_prefixe] => 8
a2billing.php|1: )
a2billing.php|1:
a2billing.php|1: file:a2billing.php - line:75 - IDCONFIG : 1
a2billing.php|1: file:a2billing.php - line:76 - MODE : standard
a2billing.php|1: file:a2billing.php - line:88 - AGI Request:
a2billing.php|1: file:a2billing.php - line:89 - Array
a2billing.php|1: (
a2billing.php|1: [agi_request] => a2billing.php
a2billing.php|1: [agi_channel] => SIP/1645386653-09274fc0
a2billing.php|1: [agi_language] => en
a2billing.php|1: [agi_type] => SIP
a2billing.php|1: [agi_uniqueid] => 1207247929.28
a2billing.php|1: [agi_callerid] => 171704957942356
a2billing.php|1: [agi_calleridname] => billing
a2billing.php|1: [agi_callingpres] => 0
a2billing.php|1: [agi_callingani2] => 0
a2billing.php|1: [agi_callington] => 0
a2billing.php|1: [agi_callingtns] => 0
a2billing.php|1: [agi_dnid] => 04899580257
a2billing.php|1: [agi_rdnis] => unknown
a2billing.php|1: [agi_context] => a2billing
a2billing.php|1: [agi_extension] => 04899580257
a2billing.php|1: [agi_priority] => 3
a2billing.php|1: [agi_enhanced] => 0.0
a2billing.php|1: [agi_accountcode] => 1645386653
a2billing.php|1: )
a2billing.php|1:
a2billing.php|1: file:Class.A2Billing.php - line:601 - get_agi_request_parameter = 171704957942356 ; SIP/1645386653-09274fc0 ; 1207247929.28 ; 1645386653 ; 04899580257
a2billing.php|1: file:a2billing.php - line:138 - [ANSWER CALL]
a2billing.php|1: 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='1645386653'
a2billing.php|1: file:Class.A2Billing.php - line:1742 - [SET LANGUAGE() en]
a2billing.php|1: file:Class.A2Billing.php - line:634 - [CARD STATUS UPDATE : UPDATE cc_card SET inuse=inuse+1 WHERE username='1645386653']
a2billing.php|1: file:Class.A2Billing.php - line:1427 - [AUTO SetCallerID]
a2billing.php|1: file:Class.A2Billing.php - line:1433 - [REQUESTED SetCallerID : 171704957942356]
a2billing.php|1: file:Class.A2Billing.php - line:1444 - [EXEC SetCallerID : 171704957942356]
a2billing.php|1: file:a2billing.php - line:169 - [CHANNEL STATUS : 6 = Line is up]
a2billing.php|1: file:a2billing.php - line:170 - [CREDIT : 5.00000][CREDIT MIN_CREDIT_2CALL : 0]
a2billing.php|1: file:Class.A2Billing.php - line:656 - 1 && && 11&& 0
a2billing.php|1: file:Class.A2Billing.php - line:681 - DESTINATION ::> 04899580257
a2billing.php|1: file:Class.A2Billing.php - line:683 - RULES APPLY ON DESTINATION ::> 04899580257
a2billing.php|1: file:Class.A2Billing.php - line:721 - OK - RESFINDRATE::> 1
a2billing.php|1: file:Class.A2Billing.php - line:743 - RES_ALL_CALCULTIMEOUT ::> 1
a2billing.php|1: file:Class.A2Billing.php - line:760 - TIMEOUT::> 833 : minutes=13 - seconds=53
a2billing.php|1: file:Class.RateEngine.php - line:960 - app_callingcard: Dialing 'SIP/e-converse/04899580257|60|HRrL(833000:61000:30000)' with timeout of '833'.
a2billing.php|1:
a2billing.php|1: file:Class.RateEngine.php - line:985 - app_callingcard: CIDGROUPID='-1' OUTBOUND CID SELECTED IS '0'.
-- AGI Script Executing Application: (Dial) Options: (SIP/e-converse/04899580257|60|HRrL(833000:61000:30000))
-- Limit Data for this call:
> timelimit = 833000
> play_warning = 61000
> play_to_caller = yes
> play_to_callee = no
> warning_freq = 30000
> start_sound = (null)
> warning_sound = timeleft
> end_sound = (null)
-- Couldn't call e-converse/04899580257
== Everyone is busy/congested at this time (0:0/0/0)
a2billing.php|1: file:Class.RateEngine.php - line:1095 - [USEDRATECARD - FAIL =0]
-- Playing 'prepaid-dest-unreachable' (escape_digits=#) (sample_offset 0)
a2billing.php|1: file:Class.RateEngine.php - line:848 - [CC_asterisk_stop QUERY = INSERT INTO cc_call (uniqueid,sessionid,username,nasipaddress,starttime,sessiontime, calledstation, terminatecause, stoptime, calledrate, sessionbill, calledcountry, calledsub, destination, id_tariffgroup, id_tariffplan, id_ratecard, id_trunk, src, sipiax, buyrate, buycost, id_card_package_offer) VALUES ('1207247929.28', 'SIP/1645386653-09274fc0', '1645386653', '', CURRENT_TIMESTAMP - INTERVAL 0 SECOND , '0', '04899580257', 'CHANUNAVAIL', now(), '0.36', '-0', '', '', 'brasil - celular', '1', '2', '12706', '1', '171704957942356', '0', '0', '0', '0')]
a2billing.php|1: file:Class.RateEngine.php - line:851 - [CC_asterisk_stop 1.1: SQL: DONE : result=1]
a2billing.php|1: file:a2billing.php - line:309 - [a2billing account stop]
a2billing.php|1: file:a2billing.php - line:169 - [CHANNEL STATUS : 6 = Line is up]
a2billing.php|1: file:a2billing.php - line:170 - [CREDIT : 5.00000][CREDIT MIN_CREDIT_2CALL : 0]
a2billing.php|1: file:Class.A2Billing.php - line:656 - 0 && && 11&& 1
-- <SIP/1645386653-09274fc0> Playing 'prepaid-enter-number-u-calling-1-or-011' (language 'en')
a2billing.php|1: file:Class.A2Billing.php - line:663 - RES DTMF :
a2billing.php|1: file:Class.A2Billing.php - line:681 - DESTINATION ::>
a2billing.php|1: file:Class.A2Billing.php - line:683 - RULES APPLY ON DESTINATION ::>
a2billing.php|1: file:a2billing.php - line:169 - [CHANNEL STATUS : 6 = Line is up]
a2billing.php|1: file:a2billing.php - line:170 - [CREDIT : 5.00000][CREDIT MIN_CREDIT_2CALL : 0]
a2billing.php|1: file:Class.A2Billing.php - line:656 - 0 && && 11&& 2
-- <SIP/1645386653-09274fc0> Playing 'prepaid-enter-number-u-calling-1-or-011' (language 'en')
a2billing.php|1: file:Class.A2Billing.php - line:663 - RES DTMF : -1
a2billing.php|1: file:Class.A2Billing.php - line:681 - DESTINATION ::> -1
a2billing.php|1: file:Class.A2Billing.php - line:683 - RULES APPLY ON DESTINATION ::> -1
-- Playing 'prepaid-invalid-digits' (escape_digits=#) (sample_offset 0)
a2billing.php|1: file:Class.A2Billing.php - line:634 - [CARD STATUS UPDATE : UPDATE cc_card SET inuse=inuse-1 WHERE username='1645386653']
-- AGI Script a2billing.php completed, returning -1
elastix*CLI>
|