asterisk2billing.org
http://forum.asterisk2billing.org/

No prompts in calling card (use_dnid = NO) config
http://forum.asterisk2billing.org/viewtopic.php?f=16&t=6098
Page 1 of 1

Author:  andyml [ Thu Aug 27, 2009 5:11 pm ]
Post subject:  No prompts in calling card (use_dnid = NO) config

(Sorry - I had originally posted this in the wrong area. Thanks for looking!)

I've configured agi-conf2 for calling card use (use_dnid = NO). When I call into the system executes "DeadAGI("SIP/ipkall-0a0d1d08", "a2billing.php|2")"

If I set "cid_enable = NO" the call simply disconnects as soon as it comes in - no audio is played. The CLI says the following

Code:
    -- Executing [[email protected]:1] Goto("SIP/ipkall-0a0d1d08", "from-trunk|360812XXXX|1") in new stack
    -- Goto (from-trunk,360812XXXX,1)
    -- Executing [[email protected]:1] Set("SIP/ipkall-0a0d1d08", "__FROM_DID=360812XXXX") in new stack
    -- Executing [[email protected]:2] Gosub("SIP/ipkall-0a0d1d08", "app-blacklist-check|s|1") in new stack
    -- Executing [[email protected]:1] LookupBlacklist("SIP/ipkall-0a0d1d08", "") in new stack
    -- Executing [[email protected]:2] GotoIf("SIP/ipkall-0a0d1d08", "0?blacklisted") in new stack
    -- Executing [[email protected]:3] Return("SIP/ipkall-0a0d1d08", "") in new stack
    -- Executing [[email protected]:3] ExecIf("SIP/ipkall-0a0d1d08", "0 |Set|CALLERID(name)=XXXXXXXXXX") in new stack
    -- Executing [[email protected]:4] Set("SIP/ipkall-0a0d1d08", "__CALLINGPRES_SV=allowed_not_screened") in new stack
    -- Executing [[email protected]:5] SetCallerPres("SIP/ipkall-0a0d1d08", "allowed_not_screened") in new stack
    -- Executing [[email protected]:6] Goto("SIP/ipkall-0a0d1d08", "custom-a2billing-2|360812XXXX|1") in new stack
    -- Goto (custom-a2billing-2,360812XXXX,1)
    -- Executing [[email protected]:1] Answer("SIP/ipkall-0a0d1d08", "") in new stack
    -- Executing [[email protected]:2] Wait("SIP/ipkall-0a0d1d08", "1") in new stack
    -- Executing [[email protected]:3] DeadAGI("SIP/ipkall-0a0d1d08", "a2billing.php|2") in new stack
    -- Launched AGI Script /var/lib/asterisk/agi-bin/a2billing.php
  a2billing.php|2: A2Billing AGI internal configuration:
  a2billing.php|2: Array
  a2billing.php|2: (
  a2billing.php|2:     [debug] => 1
  a2billing.php|2:     [asterisk_version] => 1_4
  a2billing.php|2:     [answer_call] => 1
  a2billing.php|2:     [play_audio] => 1
  a2billing.php|2:     [say_goodbye] =>
  a2billing.php|2:     [play_menulanguage] =>
  a2billing.php|2:     [force_language] =>
  a2billing.php|2:     [intro_prompt] =>
  a2billing.php|2:     [min_credit_2call] => 0
  a2billing.php|2:     [min_duration_2bill] => 0
  a2billing.php|2:     [notenoughcredit_cardnumber] => 1
  a2billing.php|2:     [notenoughcredit_assign_newcardnumber_cid] => 1
  a2billing.php|2:     [use_dnid] =>
  a2billing.php|2:     [no_auth_dnid] => Array
  a2billing.php|2:         (
  a2billing.php|2:             [0] => 2400
  a2billing.php|2:             [1] => 2300
  a2billing.php|2:         )
  a2billing.php|2:
  a2billing.php|2:     [number_try] => 1
  a2billing.php|2:     [force_callplan_id] =>
  a2billing.php|2:     [say_balance_after_auth] => 1
  a2billing.php|2:     [say_balance_after_call] => 1
  a2billing.php|2:     [say_rateinitial] =>
  a2billing.php|2:     [say_timetocall] => 1
  a2billing.php|2:     [auto_setcallerid] => 1
  a2billing.php|2:     [force_callerid] =>
  a2billing.php|2:     [cid_sanitize] =>
  a2billing.php|2:     [cid_enable] =>
  a2billing.php|2:     [cid_askpincode_ifnot_callerid] => 1
  a2billing.php|2:     [cid_auto_assign_card_to_cid] => 1
  a2billing.php|2:     [cid_auto_create_card] =>
  a2billing.php|2:     [cid_auto_create_card_len] => 10
  a2billing.php|2:     [cid_auto_create_card_typepaid] => PREPAY
  a2billing.php|2:     [cid_auto_create_card_credit] => 0
  a2billing.php|2:     [cid_auto_create_card_credit_limit] => 1000
  a2billing.php|2:     [cid_auto_create_card_tariffgroup] => 6
  a2billing.php|2:     [callerid_authentication_over_cardnumber] =>
  a2billing.php|2:     [sip_iax_friends] =>
  a2billing.php|2:     [sip_iax_pstn_direct_call_prefix] => 555
  a2billing.php|2:     [sip_iax_pstn_direct_call] =>
  a2billing.php|2:     [ivr_voucher] =>
  a2billing.php|2:     [ivr_voucher_prefix] => 8
  a2billing.php|2:     [jump_voucher_if_min_credit] =>
  a2billing.php|2:     [extracharge_did] => Array
  a2billing.php|2:         (
  a2billing.php|2:             [0] =>
  a2billing.php|2:         )
  a2billing.php|2:
  a2billing.php|2:     [extracharge_fee] => Array
  a2billing.php|2:         (
  a2billing.php|2:             [0] =>
  a2billing.php|2:         )
  a2billing.php|2:
  a2billing.php|2:     [extracharge_buyfee] =>
  a2billing.php|2:     [international_prefixes] => Array
  a2billing.php|2:         (
  a2billing.php|2:             [0] => 011
  a2billing.php|2:             [1] => 00
  a2billing.php|2:             [2] => 09
  a2billing.php|2:         )
  a2billing.php|2:
  a2billing.php|2:     [dialcommand_param] => |60|HRgrL(%timeout%:61000:30000)
  a2billing.php|2:     [dialcommand_param_sipiax_friend] => |60|HRgirL(3600000:61000:30000)
  a2billing.php|2:     [switchdialcommand] =>
  a2billing.php|2:     [failover_recursive_limit] => 2
  a2billing.php|2:     [maxtime_tocall_negatif_free_route] => 5400
  a2billing.php|2:     [send_reminder] =>
  a2billing.php|2:     [record_call] =>
  a2billing.php|2:     [monitor_formatfile] => gsm
  a2billing.php|2:     [agi_force_currency] =>
  a2billing.php|2:     [currency_association] => Array
  a2billing.php|2:         (
  a2billing.php|2:             [0] => usd:dollars
  a2billing.php|2:             [1] => mxn:pesos
  a2billing.php|2:             [2] => eur:euros
  a2billing.php|2:             [3] => all:credit
  a2billing.php|2:         )
  a2billing.php|2:
  a2billing.php|2:     [file_conf_enter_destination] => prepaid-enter-dest
  a2billing.php|2:     [file_conf_enter_menulang] => prepaid-menulang2
  a2billing.php|2:     [callback_bill_1stleg_ifcall_notconnected] => 1
  a2billing.php|2:     [logger_enable] => 1
  a2billing.php|2:     [log_file] => /tmp/a2billing.log
  a2billing.php|2:     [currency_association_internal] => Array
  a2billing.php|2:         (
  a2billing.php|2:             [usd] => dollars
  a2billing.php|2:             [mxn] => pesos
  a2billing.php|2:             [eur] => euros
  a2billing.php|2:             [all] => credit
  a2billing.php|2:         )
  a2billing.php|2:
  a2billing.php|2:     [ivr_voucher_prefixe] => 8
  a2billing.php|2: )
  a2billing.php|2:
  a2billing.php|2: file:a2billing.php - line:78 - IDCONFIG : 2
  a2billing.php|2: file:a2billing.php - line:79 - MODE : standard
  a2billing.php|2: file:a2billing.php - line:91 - AGI Request:
  a2billing.php|2: file:a2billing.php - line:92 - Array
  a2billing.php|2: (
  a2billing.php|2:     [agi_request] => a2billing.php
  a2billing.php|2:     [agi_channel] => SIP/ipkall-0a0d1d08
  a2billing.php|2:     [agi_language] => en
  a2billing.php|2:     [agi_type] => SIP
  a2billing.php|2:     [agi_uniqueid] => 1251339525.479
  a2billing.php|2:     [agi_callerid] => XXXXXXXXXX
  a2billing.php|2:     [agi_calleridname] => XXXXXXXX PA
  a2billing.php|2:     [agi_callingpres] => 0
  a2billing.php|2:     [agi_callingani2] => 0
  a2billing.php|2:     [agi_callington] => 0
  a2billing.php|2:     [agi_callingtns] => 0
  a2billing.php|2:     [agi_dnid] => ipkall-360
  a2billing.php|2:     [agi_rdnis] => unknown
  a2billing.php|2:     [agi_context] => custom-a2billing-2
  a2billing.php|2:     [agi_extension] => 360812XXXX
  a2billing.php|2:     [agi_priority] => 3
  a2billing.php|2:     [agi_enhanced] => 0.0
  a2billing.php|2:     [agi_accountcode] =>
  a2billing.php|2: )
  a2billing.php|2:
  a2billing.php|2: file:Class.A2Billing.php - line:616 -  get_agi_request_parameter = XXXXXXXXXX ; SIP/ipkall-0a0d1d08 ; 1251339525.479 ;  ; 360812XXXX
  a2billing.php|2: file:a2billing.php - line:141 - [ANSWER CALL]
  a2billing.php|2: file:Class.A2Billing.php - line:1769 - Requesting DTMF, CARDNUMBER_LENGTH_MAX 6
  a2billing.php|2: file:Class.A2Billing.php - line:1771 - RES DTMF : -1
  a2billing.php|2: file:Class.A2Billing.php - line:1775 - CARDNUMBER ::> -1
  a2billing.php|2: file:Class.A2Billing.php - line:1785 - PREPAID-INVALID-DIGITS
  a2billing.php|2: file:Class.A2Billing.php - line:1761 - PREPAID-INVALID-DIGITS
  a2billing.php|2: file:Class.A2Billing.php - line:1769 - Requesting DTMF, CARDNUMBER_LENGTH_MAX 6
  a2billing.php|2: file:Class.A2Billing.php - line:1771 - RES DTMF : -1
  a2billing.php|2: file:Class.A2Billing.php - line:1775 - CARDNUMBER ::> -1
  a2billing.php|2: file:Class.A2Billing.php - line:1785 - PREPAID-INVALID-DIGITS
  a2billing.php|2: file:Class.A2Billing.php - line:1761 - PREPAID-INVALID-DIGITS
  a2billing.php|2: file:Class.A2Billing.php - line:1769 - Requesting DTMF, CARDNUMBER_LENGTH_MAX 6
  a2billing.php|2: file:Class.A2Billing.php - line:1771 - RES DTMF : -1
  a2billing.php|2: file:Class.A2Billing.php - line:1775 - CARDNUMBER ::> -1
  a2billing.php|2: file:Class.A2Billing.php - line:1785 - PREPAID-INVALID-DIGITS
  a2billing.php|2: file:a2billing.php - line:319 - [AUTHENTICATION FAILED (cia_res:-1)]
    -- AGI Script a2billing.php completed, returning 0



If, however, I set "cid_enable = YES" and call in from a registered CID, I get this.

Code:
    -- Executing [[email protected]:1] Goto("SIP/ipkall-0a155f80", "from-trunk|360812XXXX|1") in new stack
    -- Goto (from-trunk,360812XXXX,1)
    -- Executing [[email protected]:1] Set("SIP/ipkall-0a155f80", "__FROM_DID=360812XXXX") in new stack
    -- Executing [[email protected]:2] Gosub("SIP/ipkall-0a155f80", "app-blacklist-check|s|1") in new stack
    -- Executing [[email protected]:1] LookupBlacklist("SIP/ipkall-0a155f80", "") in new stack
    -- Executing [[email protected]:2] GotoIf("SIP/ipkall-0a155f80", "0?blacklisted") in new stack
    -- Executing [[email protected]:3] Return("SIP/ipkall-0a155f80", "") in new stack
    -- Executing [[email protected]:3] ExecIf("SIP/ipkall-0a155f80", "0 |Set|CALLERID(name)=XXXXXXXXXX") in new stack
    -- Executing [[email protected]:4] Set("SIP/ipkall-0a155f80", "__CALLINGPRES_SV=allowed_not_screened") in new stack
    -- Executing [[email protected]:5] SetCallerPres("SIP/ipkall-0a155f80", "allowed_not_screened") in new stack
    -- Executing [[email protected]:6] Goto("SIP/ipkall-0a155f80", "custom-a2billing-2|360812XXXX|1") in new stack
    -- Goto (custom-a2billing-2,360812XXXX,1)
    -- Executing [[email protected]:1] Answer("SIP/ipkall-0a155f80", "") in new stack
    -- Executing [[email protected]:2] Wait("SIP/ipkall-0a155f80", "1") in new stack
    -- Executing [[email protected]:3] DeadAGI("SIP/ipkall-0a155f80", "a2billing.php|2") in new stack
    -- Launched AGI Script /var/lib/asterisk/agi-bin/a2billing.php
  a2billing.php|2: A2Billing AGI internal configuration:
  a2billing.php|2: Array
  a2billing.php|2: (
  a2billing.php|2:     [debug] => 1
  a2billing.php|2:     [asterisk_version] => 1_4
  a2billing.php|2:     [answer_call] => 1
  a2billing.php|2:     [play_audio] => 1
  a2billing.php|2:     [say_goodbye] =>
  a2billing.php|2:     [play_menulanguage] =>
  a2billing.php|2:     [force_language] =>
  a2billing.php|2:     [intro_prompt] =>
  a2billing.php|2:     [min_credit_2call] => 0
  a2billing.php|2:     [min_duration_2bill] => 0
  a2billing.php|2:     [notenoughcredit_cardnumber] => 1
  a2billing.php|2:     [notenoughcredit_assign_newcardnumber_cid] => 1
  a2billing.php|2:     [use_dnid] =>
  a2billing.php|2:     [no_auth_dnid] => Array
  a2billing.php|2:         (
  a2billing.php|2:             [0] => 2400
  a2billing.php|2:             [1] => 2300
  a2billing.php|2:         )
  a2billing.php|2:
  a2billing.php|2:     [number_try] => 1
  a2billing.php|2:     [force_callplan_id] =>
  a2billing.php|2:     [say_balance_after_auth] => 1
  a2billing.php|2:     [say_balance_after_call] => 1
  a2billing.php|2:     [say_rateinitial] =>
  a2billing.php|2:     [say_timetocall] => 1
  a2billing.php|2:     [auto_setcallerid] => 1
  a2billing.php|2:     [force_callerid] =>
  a2billing.php|2:     [cid_sanitize] =>
  a2billing.php|2:     [cid_enable] => 1
  a2billing.php|2:     [cid_askpincode_ifnot_callerid] => 1
  a2billing.php|2:     [cid_auto_assign_card_to_cid] => 1
  a2billing.php|2:     [cid_auto_create_card] =>
  a2billing.php|2:     [cid_auto_create_card_len] => 10
  a2billing.php|2:     [cid_auto_create_card_typepaid] => PREPAY
  a2billing.php|2:     [cid_auto_create_card_credit] => 0
  a2billing.php|2:     [cid_auto_create_card_credit_limit] => 1000
  a2billing.php|2:     [cid_auto_create_card_tariffgroup] => 6
  a2billing.php|2:     [callerid_authentication_over_cardnumber] =>
  a2billing.php|2:     [sip_iax_friends] =>
  a2billing.php|2:     [sip_iax_pstn_direct_call_prefix] => 555
  a2billing.php|2:     [sip_iax_pstn_direct_call] =>
  a2billing.php|2:     [ivr_voucher] =>
  a2billing.php|2:     [ivr_voucher_prefix] => 8
  a2billing.php|2:     [jump_voucher_if_min_credit] =>
  a2billing.php|2:     [extracharge_did] => Array
  a2billing.php|2:         (
  a2billing.php|2:             [0] =>
  a2billing.php|2:         )
  a2billing.php|2:
  a2billing.php|2:     [extracharge_fee] => Array
  a2billing.php|2:         (
  a2billing.php|2:             [0] =>
  a2billing.php|2:         )
  a2billing.php|2:
  a2billing.php|2:     [extracharge_buyfee] =>
  a2billing.php|2:     [international_prefixes] => Array
  a2billing.php|2:         (
  a2billing.php|2:             [0] => 011
  a2billing.php|2:             [1] => 00
  a2billing.php|2:             [2] => 09
  a2billing.php|2:         )
  a2billing.php|2:
  a2billing.php|2:     [dialcommand_param] => |60|HRgrL(%timeout%:61000:30000)
  a2billing.php|2:     [dialcommand_param_sipiax_friend] => |60|HRgirL(3600000:61000:30000)
  a2billing.php|2:     [switchdialcommand] =>
  a2billing.php|2:     [failover_recursive_limit] => 2
  a2billing.php|2:     [maxtime_tocall_negatif_free_route] => 5400
  a2billing.php|2:     [send_reminder] =>
  a2billing.php|2:     [record_call] =>
  a2billing.php|2:     [monitor_formatfile] => gsm
  a2billing.php|2:     [agi_force_currency] =>
  a2billing.php|2:     [currency_association] => Array
  a2billing.php|2:         (
  a2billing.php|2:             [0] => usd:dollars
  a2billing.php|2:             [1] => mxn:pesos
  a2billing.php|2:             [2] => eur:euros
  a2billing.php|2:             [3] => all:credit
  a2billing.php|2:         )
  a2billing.php|2:
  a2billing.php|2:     [file_conf_enter_destination] => prepaid-enter-dest
  a2billing.php|2:     [file_conf_enter_menulang] => prepaid-menulang2
  a2billing.php|2:     [callback_bill_1stleg_ifcall_notconnected] => 1
  a2billing.php|2:     [logger_enable] => 1
  a2billing.php|2:     [log_file] => /tmp/a2billing.log
  a2billing.php|2:     [currency_association_internal] => Array
  a2billing.php|2:         (
  a2billing.php|2:             [usd] => dollars
  a2billing.php|2:             [mxn] => pesos
  a2billing.php|2:             [eur] => euros
  a2billing.php|2:             [all] => credit
  a2billing.php|2:         )
  a2billing.php|2:
  a2billing.php|2:     [ivr_voucher_prefixe] => 8
  a2billing.php|2: )
  a2billing.php|2:
  a2billing.php|2: file:a2billing.php - line:78 - IDCONFIG : 2
  a2billing.php|2: file:a2billing.php - line:79 - MODE : standard
  a2billing.php|2: file:a2billing.php - line:91 - AGI Request:
  a2billing.php|2: file:a2billing.php - line:92 - Array
  a2billing.php|2: (
  a2billing.php|2:     [agi_request] => a2billing.php
  a2billing.php|2:     [agi_channel] => SIP/ipkall-0a155f80
  a2billing.php|2:     [agi_language] => en
  a2billing.php|2:     [agi_type] => SIP
  a2billing.php|2:     [agi_uniqueid] => 1251339699.480
  a2billing.php|2:     [agi_callerid] => XXXXXXXXXX
  a2billing.php|2:     [agi_calleridname] => TROOPER PA
  a2billing.php|2:     [agi_callingpres] => 0
  a2billing.php|2:     [agi_callingani2] => 0
  a2billing.php|2:     [agi_callington] => 0
  a2billing.php|2:     [agi_callingtns] => 0
  a2billing.php|2:     [agi_dnid] => ipkall-360
  a2billing.php|2:     [agi_rdnis] => unknown
  a2billing.php|2:     [agi_context] => custom-a2billing-2
  a2billing.php|2:     [agi_extension] => 360812XXXX
  a2billing.php|2:     [agi_priority] => 3
  a2billing.php|2:     [agi_enhanced] => 0.0
  a2billing.php|2:     [agi_accountcode] =>
  a2billing.php|2: )
  a2billing.php|2:
  a2billing.php|2: file:Class.A2Billing.php - line:616 -  get_agi_request_parameter = XXXXXXXXXX ; SIP/ipkall-0a155f80 ; 1251339699.480 ;  ; 360812XXXX
  == Parsing '/etc/asterisk/manager.conf': Found
  == Parsing '/etc/asterisk/manager_additional.conf': Found
  == Parsing '/etc/asterisk/manager_custom.conf': Found
  == Manager 'phpagi' logged on from 127.0.0.1
  a2billing.php|2: file:a2billing.php - line:141 - [ANSWER CALL]
  a2billing.php|2: file:Class.A2Billing.php - line:1438 - [CID_ENABLE - CID_CONTROL - CID:XXXXXXXXXX]
  a2billing.php|2: file:Class.A2Billing.php - line:1455 - QUERY = SELECT cc_callerid.cid, cc_callerid.id_cc_card, cc_callerid.activated, cc_card.credit,  cc_card.tariff, cc_card.activated, cc_card.inuse, cc_card.simultaccess,   cc_card.typepaid, cc_card.creditlimit, cc_card.language, cc_card.username, removeinterprefix, cc_card.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_callerid  LEFT JOIN cc_card ON cc_callerid.id_cc_card=cc_card.id  LEFT JOIN cc_tariffgroup ON cc_card.tariff=cc_tariffgroup.id  WHERE cc_callerid.cid='XXXXXXXXXX'
  a2billing.php|2:  RESULT : Array
  a2billing.php|2: (
  a2billing.php|2:     [0] => Array
  a2billing.php|2:         (
  a2billing.php|2:             [0] => XXXXXXXXXX
  a2billing.php|2:             [cid] => XXXXXXXXXX
  a2billing.php|2:             [1] => 1
  a2billing.php|2:             [id_cc_card] => 1
  a2billing.php|2:             [2] => t
  a2billing.php|2:             [activated] => t
  a2billing.php|2:             [3] => 99.57370
  a2billing.php|2:             [credit] => 99.57370
  a2billing.php|2:             [4] => 2
  a2billing.php|2:             [tariff] => 2
  a2billing.php|2:             [5] => t
  a2billing.php|2:             [6] => 0
  a2billing.php|2:             [inuse] => 0
  a2billing.php|2:             [7] => 1
  a2billing.php|2:             [simultaccess] => 1
  a2billing.php|2:             [8] => 1
  a2billing.php|2:             [typepaid] => 1
  a2billing.php|2:             [9] =>
  a2billing.php|2:             [creditlimit] =>
  a2billing.php|2:             [10] => en
  a2billing.php|2:             [language] => en
  a2billing.php|2:             [11] => 2155
  a2billing.php|2:             [username] => 2155
  a2billing.php|2:             [12] => 1
  a2billing.php|2:             [removeinterprefix] => 1
  a2billing.php|2:             [13] => 254721963490
  a2billing.php|2:             [redial] => 254721963490
  a2billing.php|2:             [14] => 0
  a2billing.php|2:             [enableexpire] => 0
  a2billing.php|2:             [15] => 1554781927
  a2billing.php|2:             [UNIX_TIMESTAMP(expirationdate)] => 1554781927
  a2billing.php|2:             [16] => 0
  a2billing.php|2:             [expiredays] => 0
  a2billing.php|2:             [17] => 2
  a2billing.php|2:             [nbused] => 2
  a2billing.php|2:             [18] => 1251209618
  a2billing.php|2:             [UNIX_TIMESTAMP(firstusedate)] => 1251209618
  a2billing.php|2:             [19] => 1239249458
  a2billing.php|2:             [UNIX_TIMESTAMP(cc_card.creationdate)] => 1239249458
  a2billing.php|2:             [20] => USD
  a2billing.php|2:             [currency] => USD
  a2billing.php|2:             [21] => Lauppe
  a2billing.php|2:             [lastname] => Lauppe
  a2billing.php|2:             [22] => home
  a2billing.php|2:             [firstname] => home
  a2billing.php|2:             [23] => [email protected]
  a2billing.php|2:             [email] => [email protected]
  a2billing.php|2:             [24] => databank
  a2billing.php|2:             [uipass] => databank
  a2billing.php|2:             [25] => -1
  a2billing.php|2:             [id_campaign] => -1
  a2billing.php|2:             [26] => 1
  a2billing.php|2:             [id] => 1
  a2billing.php|2:             [27] => XXXXXXXXXX
  a2billing.php|2:             [useralias] => XXXXXXXXXX
  a2billing.php|2:         )
  a2billing.php|2:
  a2billing.php|2: )
  a2billing.php|2:
  a2billing.php|2: file:Class.A2Billing.php - line:1714 - [SET CHANNEL(language) en]
  a2billing.php|2: file:Class.A2Billing.php - line:649 - [CARD STATUS UPDATE : UPDATE cc_card SET inuse=inuse+1 WHERE username='2155']
  a2billing.php|2: file:Class.A2Billing.php - line:1950 - [A2Billing] SAY BALANCE : 99.5737
  a2billing.php|2:
  a2billing.php|2: file:Class.A2Billing.php - line:1143 - [CURRENCY : USD]
  == Manager 'phpagi' logged off from 127.0.0.1
    -- <SIP/ipkall-0a155f80> Playing 'digits/90' (language 'en')
    -- <SIP/ipkall-0a155f80> Playing 'digits/9' (language 'en')
    -- Playing 'vm-and' (escape_digits=#) (sample_offset 0)
    -- <SIP/ipkall-0a155f80> Playing 'digits/50' (language 'en')
    -- <SIP/ipkall-0a155f80> Playing 'digits/7' (language 'en')
  a2billing.php|2: file:Class.A2Billing.php - line:1399 - [AUTO SetCallerID]
  a2billing.php|2: file:Class.A2Billing.php - line:1405 - [REQUESTED SetCallerID : XXXXXXXXXX]
  a2billing.php|2: file:Class.A2Billing.php - line:1416 - [EXEC SetCallerID : XXXXXXXXXX]
  a2billing.php|2: file:a2billing.php - line:172 - [CHANNEL STATUS : 6 = Line is up]
  a2billing.php|2: file:a2billing.php - line:173 - [CREDIT : 99.5737][CREDIT MIN_CREDIT_2CALL : 0]
  a2billing.php|2: file:Class.A2Billing.php - line:671 -  &&  && 10&& 0
  a2billing.php|2: file:Class.A2Billing.php - line:678 - RES DTMF : -1
  a2billing.php|2: file:Class.A2Billing.php - line:696 - DESTINATION ::> -1
  a2billing.php|2: file:Class.A2Billing.php - line:698 - RULES APPLY ON DESTINATION ::> -1
  a2billing.php|2: file:Class.A2Billing.php - line:649 - [CARD STATUS UPDATE : UPDATE cc_card SET inuse=inuse-1 WHERE username='2155']
    -- AGI Script a2billing.php completed, returning 0


In here, it plays my balance to me (99.57) before hanging up on me. There are no prompts and I am promptly hung up on.

I'd love to make this work. Any ideas on what I'm missing?

Thanks!!

Author:  andyml [ Sat Oct 24, 2009 1:11 am ]
Post subject:  Re: No prompts in calling card (use_dnid = NO) config

Turns out I was missing recordings. Common enough problem in retrospect.

Page 1 of 1 All times are UTC
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/