Hi Howard,
Thanks for your help.
I modified context aditional_a2billing_sip.conf. I changed context from a2billing to from-internal and worst, I couldnt make any type of calls. So I return to a2billing context and I can make regular calls again but internals still not works. Come back to zero point.
There is any other file to set up context?
How is the right way to modify context ?
Thanks in advanced.
Regards,
Aldo
Added after 2 hours 25 minutes:
-- Executing Answer("SIP/71467-0843dbe8", "") in new stack
-- Executing Wait("SIP/71467-0843dbe8", "1") in new stack
-- Executing DeadAGI("SIP/71467-0843dbe8", "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_destination] => prepaid-enter-dest
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: [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/71467-0843dbe8
a2billing.php|1: [agi_language] => en
a2billing.php|1: [agi_type] => SIP
a2billing.php|1: [agi_uniqueid] => 1187815523.2
a2billing.php|1: [agi_callerid] => 71467
a2billing.php|1: [agi_calleridname] => xlite
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] => 71468
a2billing.php|1: [agi_rdnis] => unknown
a2billing.php|1: [agi_context] => a2billing
a2billing.php|1: [agi_extension] => 71468
a2billing.php|1: [agi_priority] => 3
a2billing.php|1: [agi_enhanced] => 0.0
a2billing.php|1: [agi_accountcode] => 9162875993
a2billing.php|1: )
a2billing.php|1:
a2billing.php|1: file:Class.A2Billing.php - line:602 - get_agi_request_parameter = 71467 ; SIP/71467-0843dbe8 ; 1187815523.2 ; 9162875993 ; 71468
a2billing.php|1: file:a2billing.php - line:138 - [ANSWER CALL]
a2billing.php|1: file:Class.A2Billing.php - line:1669 - 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='9162875993'
a2billing.php|1: file:Class.A2Billing.php - line:1743 - [SET LANGUAGE() es]
a2billing.php|1: file:Class.A2Billing.php - line:635 - [CARD STATUS UPDATE : UPDATE cc_card SET inuse=inuse+1 WHERE username='9162875993']
a2billing.php|1: file:Class.A2Billing.php - line:1428 - [AUTO SetCallerID]
a2billing.php|1: file:Class.A2Billing.php - line:1434 - [REQUESTED SetCallerID : 71467]
a2billing.php|1: file:Class.A2Billing.php - line:1445 - [EXEC SetCallerID : 71467]
a2billing.php|1: file:a2billing.php - line:169 - [CHANNEL STATUS : 6 = Line is up]
a2billing.php|1: file:a2billing.php - line:170 - [CREDIT : 10.23660][CREDIT MIN_CREDIT_2CALL : 0]
a2billing.php|1: file:Class.A2Billing.php - line:657 - 1 && && 5&& 0
a2billing.php|1: file:Class.A2Billing.php - line:682 - DESTINATION ::> 71468
a2billing.php|1: file:Class.A2Billing.php - line:684 - RULES APPLY ON DESTINATION ::> 71468
a2billing.php|1: file:Class.A2Billing.php - line:722 - OK - RESFINDRATE::> 1
a2billing.php|1: file:Class.A2Billing.php - line:744 - RES_ALL_CALCULTIMEOUT ::> 1
a2billing.php|1: file:Class.A2Billing.php - line:761 - TIMEOUT::> 6900 : minutes=115 - seconds=0
a2billing.php|1: file:Class.RateEngine.php - line:961 - app_callingcard: Dialing 'SIP/sipdiscount/71468|60|HRrL(6900000:61000:30000)' with timeout of '6900'.
a2billing.php|1:
a2billing.php|1: file:Class.RateEngine.php - line:986 - app_callingcard: CIDGROUPID='-1' OUTBOUND CID SELECTED IS '0'.
-- AGI Script Executing Application: (Dial) Options: (SIP/sipdiscount/71468|60|HRrL(6900000:61000:30000))
-- Limit Data for this call:
-- - timelimit = 6900000
-- - play_warning = 61000
-- - play_to_caller= yes
-- - play_to_callee= no
-- - warning_freq = 30000
-- - start_sound = UNDEF
-- - warning_sound = timeleft
-- - end_sound = UNDEF
-- Called sipdiscount/71468
-- SIP/sipdiscount-084556a0 is making progress passing it to SIP/71467-0843dbe8
-- Got SIP response 480 "Temporarily not available" back from 194.120.0.198
-- SIP/sipdiscount-084556a0 is circuit-busy
== Everyone is busy/congested at this time (1:0/1/0)
a2billing.php|1: file:Class.RateEngine.php - line:1096 - [USEDRATECARD - FAIL =0]
a2billing.php|1: file:Class.RateEngine.php - line:849 - [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 ('1187815523.2', 'SIP/71467-0843dbe8', '9162875993', '', CURRENT_TIMESTAMP - INTERVAL 0 SECOND , '0', '71468', 'CONGESTION', now(), '0.0889', '-0', '', '', 'Russian Federation', '1', '1', '1120', '2', '71467', '0', '0.01', '0', '0')]
a2billing.php|1: file:Class.RateEngine.php - line:852 - [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 : 10.23660][CREDIT MIN_CREDIT_2CALL : 0]
a2billing.php|1: file:Class.A2Billing.php - line:657 - 0 && && 5&& 1
-- Playing 'prepaid-enter-dest' (language 'es')
a2billing.php|1: file:Class.A2Billing.php - line:664 - RES DTMF : -1
a2billing.php|1: file:Class.A2Billing.php - line:682 - DESTINATION ::> -1
a2billing.php|1: file:Class.A2Billing.php - line:684 - RULES APPLY ON DESTINATION ::> -1
== Spawn extension (a2billing, 71468, 3) exited non-zero on 'SIP/71467-0843dbe8'
asterisk1*CLI>
|