I have been trying to get calls from SIP friend to SIP friends working with no success. I have enabled the options in the a2billing.conf file as suggested. The SIP phones are able to register. No matter what number I dial I get the default IVR - "Enter PIN".. Does anyone have any suggestions?
Nov 20 23:10:31 DEBUG[3371] chan_sip.c: Stopping retransmission on 'YWYyOGE2ZTVhMmMwMzMyMGRhYjliMTAxYTk4MWY4MWU.' of Response 1: Match Found
Nov 20 23:10:31 DEBUG[3371] chan_sip.c: Setting NAT on RTP to 524288
Nov 20 23:10:31 DEBUG[3371] chan_sip.c: Checking SIP call limits for device 8711503777
Nov 20 23:10:31 DEBUG[3371] chan_sip.c: build_route: Contact hop:
Nov 20 23:10:31 VERBOSE[10853] logger.c: -- Executing Answer("SIP/8711503777-09e37db8", "") in new stack
Nov 20 23:10:31 VERBOSE[10853] logger.c: -- Executing Wait("SIP/8711503777-09e37db8", "1") in new stack
Nov 20 23:10:31 DEBUG[3371] chan_sip.c: Stopping retransmission on '
[email protected]' of Request 102: Match Found
Nov 20 23:10:31 DEBUG[3371] chan_sip.c: Stopping retransmission on '
[email protected]' of Request 102: Match Found
Nov 20 23:10:31 DEBUG[3371] chan_sip.c: Stopping retransmission on 'YWYyOGE2ZTVhMmMwMzMyMGRhYjliMTAxYTk4MWY4MWU.' of Response 2: Match Found
Nov 20 23:10:31 DEBUG[3371] chan_sip.c: Stopping retransmission on '
[email protected]' of Request 102: Match Found
Nov 20 23:10:31 DEBUG[3371] chan_sip.c: Stopping retransmission on '
[email protected]' of Request 102: Match Found
Nov 20 23:10:31 DEBUG[3371] chan_sip.c: Stopping retransmission on '
[email protected]' of Request 102: Match Found
Nov 20 23:10:31 DEBUG[3371] chan_sip.c: Stopping retransmission on '
[email protected]' of Request 102: Match Found
Nov 20 23:10:32 VERBOSE[10853] logger.c: -- Executing DeadAGI("SIP/8711503777-09e37db8", "a2billing.php|1") in new stack
Nov 20 23:10:32 VERBOSE[10853] logger.c: -- Launched AGI Script /var/lib/asterisk/agi-bin/a2billing.php
Nov 20 23:10:32 DEBUG[3371] chan_sip.c: Stopping retransmission on '
[email protected]' of Request 102: Match Found
Nov 20 23:10:32 VERBOSE[10853] logger.c: a2billing.php|1: A2Billing AGI internal configuration:
Nov 20 23:10:32 VERBOSE[10853] logger.c: a2billing.php|1: Array
Nov 20 23:10:32 VERBOSE[10853] logger.c: a2billing.php|1: (
Nov 20 23:10:32 VERBOSE[10853] logger.c: a2billing.php|1: [debug] => 1
Nov 20 23:10:32 VERBOSE[10853] logger.c: a2billing.php|1: [asterisk_version] => 1_2
Nov 20 23:10:32 VERBOSE[10853] logger.c: a2billing.php|1: [answer_call] => 1
Nov 20 23:10:32 VERBOSE[10853] logger.c: a2billing.php|1: [play_audio] => 1
Nov 20 23:10:32 VERBOSE[10853] logger.c: a2billing.php|1: [say_goodbye] =>
Nov 20 23:10:32 VERBOSE[10853] logger.c: a2billing.php|1: [play_menulanguage] =>
Nov 20 23:10:32 VERBOSE[10853] logger.c: a2billing.php|1: [force_language] =>
Nov 20 23:10:32 VERBOSE[10853] logger.c: a2billing.php|1: [intro_prompt] =>
Nov 20 23:10:32 VERBOSE[10853] logger.c: a2billing.php|1: [min_credit_2call] => .05
Nov 20 23:10:32 VERBOSE[10853] logger.c: a2billing.php|1: [min_duration_2bill] => 30
Nov 20 23:10:32 VERBOSE[10853] logger.c: a2billing.php|1: [notenoughcredit_cardnumber] => 1
Nov 20 23:10:32 VERBOSE[10853] logger.c: a2billing.php|1: [notenoughcredit_assign_newcardnumber_cid] => 1
Nov 20 23:10:32 VERBOSE[10853] logger.c: a2billing.php|1: [use_dnid] =>
Nov 20 23:10:32 VERBOSE[10853] logger.c: a2billing.php|1: [no_auth_dnid] => Array
Nov 20 23:10:32 VERBOSE[10853] logger.c: a2billing.php|1: (
Nov 20 23:10:32 VERBOSE[10853] logger.c: a2billing.php|1: [0] => 2400
Nov 20 23:10:32 VERBOSE[10853] logger.c: a2billing.php|1: [1] => 2300
Nov 20 23:10:32 VERBOSE[10853] logger.c: a2billing.php|1: )
Nov 20 23:10:32 VERBOSE[10853] logger.c: a2billing.php|1:
Nov 20 23:10:32 VERBOSE[10853] logger.c: a2billing.php|1: [number_try] => 30
Nov 20 23:10:32 VERBOSE[10853] logger.c: a2billing.php|1: [force_callplan_id] =>
Nov 20 23:10:32 VERBOSE[10853] logger.c: a2billing.php|1: [say_balance_after_auth] => 1
Nov 20 23:10:32 VERBOSE[10853] logger.c: a2billing.php|1: [say_balance_after_call] =>
Nov 20 23:10:32 DEBUG[3371] chan_sip.c: Stopping retransmission on '
[email protected]' of Request 102: Match Found
Nov 20 23:10:32 VERBOSE[10853] logger.c: a2billing.php|1: [say_rateinitial] =>
Nov 20 23:10:32 VERBOSE[10853] logger.c: a2billing.php|1: [say_timetocall] => 1
Nov 20 23:10:32 VERBOSE[10853] logger.c: a2billing.php|1: [auto_setcallerid] => 1
Nov 20 23:10:32 VERBOSE[10853] logger.c: a2billing.php|1: [force_callerid] =>
Nov 20 23:10:32 VERBOSE[10853] logger.c: a2billing.php|1: [cid_sanitize] =>
Nov 20 23:10:32 VERBOSE[10853] logger.c: a2billing.php|1: [cid_enable] => 1
Nov 20 23:10:32 VERBOSE[10853] logger.c: a2billing.php|1: [cid_askpincode_ifnot_callerid] => 1
Nov 20 23:10:32 VERBOSE[10853] logger.c: a2billing.php|1: [cid_auto_assign_card_to_cid] =>
Nov 20 23:10:32 VERBOSE[10853] logger.c: a2billing.php|1: [cid_auto_create_card] =>
Nov 20 23:10:32 VERBOSE[10853] logger.c: a2billing.php|1: [cid_auto_create_card_len] => 10
Nov 20 23:10:32 VERBOSE[10853] logger.c: a2billing.php|1: [cid_auto_create_card_typepaid] => POSTPAY
Nov 20 23:10:32 VERBOSE[10853] logger.c: a2billing.php|1: [cid_auto_create_card_credit] => 0
Nov 20 23:10:32 VERBOSE[10853] logger.c: a2billing.php|1: [cid_auto_create_card_credit_limit] => 1000
Nov 20 23:10:32 VERBOSE[10853] logger.c: a2billing.php|1: [cid_auto_create_card_tariffgroup] => 6
Nov 20 23:10:32 VERBOSE[10853] logger.c: a2billing.php|1: [callerid_authentication_over_cardnumber] =>
Nov 20 23:10:32 VERBOSE[10853] logger.c: a2billing.php|1: [sip_iax_friends] => 1
Nov 20 23:10:32 VERBOSE[10853] logger.c: a2billing.php|1: [sip_iax_pstn_direct_call_prefix] => 555
Nov 20 23:10:32 VERBOSE[10853] logger.c: a2billing.php|1: [sip_iax_pstn_direct_call] => 1
Nov 20 23:10:32 VERBOSE[10853] logger.c: a2billing.php|1: [ivr_voucher] =>
Nov 20 23:10:32 VERBOSE[10853] logger.c: a2billing.php|1: [ivr_voucher_prefix] => 8
Nov 20 23:10:32 VERBOSE[10853] logger.c: a2billing.php|1: [jump_voucher_if_min_credit] =>
Nov 20 23:10:32 VERBOSE[10853] logger.c: a2billing.php|1: [extracharge_did] => Array
Nov 20 23:10:32 VERBOSE[10853] logger.c: a2billing.php|1: (
Nov 20 23:10:32 VERBOSE[10853] logger.c: a2billing.php|1: [0] =>
Nov 20 23:10:32 VERBOSE[10853] logger.c: a2billing.php|1: )
Nov 20 23:10:32 VERBOSE[10853] logger.c: a2billing.php|1:
Nov 20 23:10:32 VERBOSE[10853] logger.c: a2billing.php|1: [extracharge_fee] => Array
Nov 20 23:10:32 VERBOSE[10853] logger.c: a2billing.php|1: (
Nov 20 23:10:32 VERBOSE[10853] logger.c: a2billing.php|1: [0] =>
Nov 20 23:10:32 VERBOSE[10853] logger.c: a2billing.php|1: )
Nov 20 23:10:32 VERBOSE[10853] logger.c: a2billing.php|1:
Nov 20 23:10:32 VERBOSE[10853] logger.c: a2billing.php|1: [dialcommand_param] => |60|HRrL(%timeout%:61000:30000)
Nov 20 23:10:32 VERBOSE[10853] logger.c: a2billing.php|1: [dialcommand_param_sipiax_friend] => |60|HL(3600000:61000:30000)
Nov 20 23:10:32 VERBOSE[10853] logger.c: a2billing.php|1: [switchdialcommand] =>
Nov 20 23:10:32 VERBOSE[10853] logger.c: a2billing.php|1: [failover_recursive_limit] => 3
Nov 20 23:10:32 VERBOSE[10853] logger.c: a2billing.php|1: [maxtime_tocall_negatif_free_route] => 5400
Nov 20 23:10:32 VERBOSE[10853] logger.c: a2billing.php|1: [send_reminder] =>
Nov 20 23:10:32 VERBOSE[10853] logger.c: a2billing.php|1: [record_call] => 1
Nov 20 23:10:32 VERBOSE[10853] logger.c: a2billing.php|1: [monitor_formatfile] => gsm
Nov 20 23:10:32 VERBOSE[10853] logger.c: a2billing.php|1: [agi_force_currency] =>
Nov 20 23:10:32 VERBOSE[10853] logger.c: a2billing.php|1: [currency_association] => Array
Nov 20 23:10:32 VERBOSE[10853] logger.c: a2billing.php|1: (
Nov 20 23:10:32 VERBOSE[10853] logger.c: a2billing.php|1: [0] => usd:dollars
Nov 20 23:10:32 VERBOSE[10853] logger.c: a2billing.php|1: [1] => mxn:pesos
Nov 20 23:10:32 VERBOSE[10853] logger.c: a2billing.php|1: [2] => eur:euros
Nov 20 23:10:32 VERBOSE[10853] logger.c: a2billing.php|1: [3] => all:credit
Nov 20 23:10:32 VERBOSE[10853] logger.c: a2billing.php|1: )
Nov 20 23:10:32 VERBOSE[10853] logger.c: a2billing.php|1:
Nov 20 23:10:32 VERBOSE[10853] logger.c: a2billing.php|1: [file_conf_enter_destination] => prepaid-enter-dest
Nov 20 23:10:32 VERBOSE[10853] logger.c: a2billing.php|1: [file_conf_enter_menulang] => prepaid-menulang2
Nov 20 23:10:32 VERBOSE[10853] logger.c: a2billing.php|1: [callback_bill_1stleg_ifcall_notconnected] => 1
Nov 20 23:10:32 VERBOSE[10853] logger.c: a2billing.php|1: [logger_enable] => 1
Nov 20 23:10:32 VERBOSE[10853] logger.c: a2billing.php|1: [log_file] => /tmp/a2billing.log
Nov 20 23:10:32 VERBOSE[10853] logger.c: a2billing.php|1: [currency_association_internal] => Array
Nov 20 23:10:32 VERBOSE[10853] logger.c: a2billing.php|1: (
Nov 20 23:10:32 VERBOSE[10853] logger.c: a2billing.php|1: [usd] => dollars
Nov 20 23:10:32 VERBOSE[10853] logger.c: a2billing.php|1: [mxn] => pesos
Nov 20 23:10:32 VERBOSE[10853] logger.c: a2billing.php|1: [eur] => euros
Nov 20 23:10:32 VERBOSE[10853] logger.c: a2billing.php|1: [all] => credit
Nov 20 23:10:32 VERBOSE[10853] logger.c: a2billing.php|1: )
Nov 20 23:10:32 VERBOSE[10853] logger.c: a2billing.php|1:
Nov 20 23:10:32 VERBOSE[10853] logger.c: a2billing.php|1: [ivr_voucher_prefixe] => 8
Nov 20 23:10:32 VERBOSE[10853] logger.c: a2billing.php|1: )
Nov 20 23:10:32 VERBOSE[10853] logger.c: a2billing.php|1:
Nov 20 23:10:32 VERBOSE[10853] logger.c: a2billing.php|1: file:a2billing.php - line:76 - IDCONFIG : 1
Nov 20 23:10:32 VERBOSE[10853] logger.c: a2billing.php|1: file:a2billing.php - line:77 - MODE : standard
Nov 20 23:10:32 VERBOSE[10853] logger.c: a2billing.php|1: file:a2billing.php - line:89 - AGI Request:
Nov 20 23:10:32 VERBOSE[10853] logger.c: a2billing.php|1: file:a2billing.php - line:90 - Array
Nov 20 23:10:32 VERBOSE[10853] logger.c: a2billing.php|1: (
Nov 20 23:10:32 VERBOSE[10853] logger.c: a2billing.php|1: [agi_request] => a2billing.php
Nov 20 23:10:32 VERBOSE[10853] logger.c: a2billing.php|1: [agi_channel] => SIP/8711503777-09e37db8
Nov 20 23:10:32 VERBOSE[10853] logger.c: a2billing.php|1: [agi_language] => en
Nov 20 23:10:32 VERBOSE[10853] logger.c: a2billing.php|1: [agi_type] => SIP
Nov 20 23:10:32 VERBOSE[10853] logger.c: a2billing.php|1: [agi_uniqueid] => 1195618231.330
Nov 20 23:10:32 VERBOSE[10853] logger.c: a2billing.php|1: [agi_callerid] => 374436851496560
Nov 20 23:10:32 VERBOSE[10853] logger.c: a2billing.php|1: [agi_calleridname] => Mixon Seth
Nov 20 23:10:32 VERBOSE[10853] logger.c: a2billing.php|1: [agi_callingpres] => 0
Nov 20 23:10:32 VERBOSE[10853] logger.c: a2billing.php|1: [agi_callingani2] => 0
Nov 20 23:10:32 VERBOSE[10853] logger.c: a2billing.php|1: [agi_callington] => 0
Nov 20 23:10:32 VERBOSE[10853] logger.c: a2billing.php|1: [agi_callingtns] => 0
Nov 20 23:10:32 VERBOSE[10853] logger.c: a2billing.php|1: [agi_dnid] => 555
Nov 20 23:10:32 VERBOSE[10853] logger.c: a2billing.php|1: [agi_rdnis] => unknown
Nov 20 23:10:32 VERBOSE[10853] logger.c: a2billing.php|1: [agi_context] => a2billing
Nov 20 23:10:32 VERBOSE[10853] logger.c: a2billing.php|1: [agi_extension] => 555
Nov 20 23:10:32 VERBOSE[10853] logger.c: a2billing.php|1: [agi_priority] => 3
Nov 20 23:10:32 VERBOSE[10853] logger.c: a2billing.php|1: [agi_enhanced] => 0.0
Nov 20 23:10:32 VERBOSE[10853] logger.c: a2billing.php|1: [agi_accountcode] => 8711503777
Nov 20 23:10:32 VERBOSE[10853] logger.c: a2billing.php|1: )
Nov 20 23:10:32 VERBOSE[10853] logger.c: a2billing.php|1:
Nov 20 23:10:32 VERBOSE[10853] logger.c: a2billing.php|1: file:Class.A2Billing.php - line:614 - get_agi_request_parameter = 374436851496560 ; SIP/8711503777-09e37db8 ; 1195618231.330 ; 8711503777 ; 555
Nov 20 23:10:32 VERBOSE[10853] logger.c: a2billing.php|1: file:a2billing.php - line:139 - [ANSWER CALL]
Nov 20 23:10:32 VERBOSE[10853] logger.c: a2billing.php|1: file:Class.A2Billing.php - line:1436 - [CID_ENABLE - CID_CONTROL - CID:374436851496560]
Nov 20 23:10:32 VERBOSE[10853] logger.c: a2billing.php|1: file:Class.A2Billing.php - line:1453 - 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='374436851496560'
Nov 20 23:10:32 VERBOSE[10853] logger.c: a2billing.php|1: RESULT : 0
Nov 20 23:10:32 VERBOSE[10853] logger.c: a2billing.php|1: file:Class.A2Billing.php - line:1767 - Requesting DTMF, CARDNUMBER_LENGTH_MAX 15
Nov 20 23:10:32 DEBUG[10853] channel.c: Scheduling timer at 160 sample intervals
Nov 20 23:10:32 VERBOSE[10853] logger.c: -- Playing 'prepaid-enter-pin-number' (language 'en')
Nov 20 23:10:32 DEBUG[3371] chan_sip.c: Stopping retransmission on '
[email protected]' of Request 102: Match Found
Nov 20 23:10:34 DEBUG[10853] channel.c: Scheduling timer at 0 sample intervals
Nov 20 23:10:34 DEBUG[10853] channel.c: Scheduling timer at 0 sample intervals
Nov 20 23:10:34 VERBOSE[10853] logger.c: a2billing.php|1: file:Class.A2Billing.php - line:1769 - RES DTMF : -1
Nov 20 23:10:34 VERBOSE[10853] logger.c: a2billing.php|1: file:Class.A2Billing.php - line:1773 - CARDNUMBER ::> -1
Nov 20 23:10:34 VERBOSE[10853] logger.c: a2billing.php|1: file:Class.A2Billing.php - line:1783 - PREPAID-INVALID-DIGITS
Nov 20 23:10:34 WARNING[10853] file.c: Failed to write frame
Nov 20 23:10:34 DEBUG[10853] channel.c: Scheduling timer at 0 sample intervals
Nov 20 23:10:34 DEBUG[10853] channel.c: Scheduling timer at 0 sample intervals
Nov 20 23:10:34 VERBOSE[10853] logger.c: == Spawn extension (a2billing, 555, 3) exited non-zero on 'SIP/8711503777-09e37db8'
Nov 20 23:10:34 DEBUG[10853] chan_sip.c: update_call_counter(8711503777) - decrement call limit counter
Nov 20 23:10:34 DEBUG[10853] cdr_addon_mysql.c: cdr_mysql: inserting a CDR record.
Nov 20 23:10:34 DEBUG[10853] cdr_addon_mysql.c: cdr_mysql: SQL command as follows: INSERT INTO cdr (calldate,clid,src,dst,dcontext,channel,dstchannel,lastapp,lastdata,duration,billsec,disposition,amaflags,accountcode) VALUES ('2007-11-20 23:10:31','\"Mixon Seth\" <374436851496560>','374436851496560','555','a2billing', 'SIP/8711503777-09e37db8','','DeadAGI','a2billing.php|1',3,3,'ANSWERED',2,'8711503777')
Nov 20 23:10:35 DEBUG[3371] chan_sip.c: Stopping retransmission on '
[email protected]' of Request 102: Match Found
Nov 20 23:10:35 DEBUG[3371] chan_sip.c: Stopping retransmission on '
[email protected]' of Request 102: Match Found