Hi, I've returned to A2B after a number of years and am supprised at the comprehensive features available. I completed the installation, without a hitch, following the installation guide.
However I have reached an enpass, after loading the database with suppliers, trunks, ratecards, rates and users I cannot get the system to dial out directly on a sip or iax trunk. I have shown below the relative contexts and .conf files. I am probabling being thick, but if anyone can point me in the right direction.
extensions.conf
[from-internal-custom]
;asterisk2billing application
exten => _X.,1,Answer
exten => _X.,2,Wait,2
exten => _X.,3,DeadAGI,a2billing.php
exten => _X.,4,Wait,2
exten => _X.,5,Hangup
[a2billing]
exten => _X.,1,Answer
exten => _X.,n,Wait(1)
exten => _X.,n,DeadAGI(a2billing.php|2)
exten => _X.,n,Hangup
a2billing.conf
[agi-conf1]
asterisk_version = 1_4
use_dnid = YES
number_try = 3
force_callplan_id = 1
say_balance_after_auth = NO
say_rateinitial = NO
say_timetocall = NO
auto_setcallerid = YES
force_callerid =
cid_sanitize = BOTH
cid_enable = YES
cid_askpincode_ifnot_callerid = NO
cid_auto_assign_card_to_cid = YES
cid_auto_create_card = YES
cid_auto_create_card_len = 10
cid_auto_create_card_typepaid = PREPAY
sip_iax_friends = NO
sip_iax_pstn_direct_call_prefix = 555
sip_iax_pstn_direct_call = YES
ivr_voucher = YES
dialcommand_param = "|60|HRgL(%timeout%:61000:30000)"
dialcommand_param_sipiax_friend = "|60|HRgiL(3600000:61000:30000)"
switchdialcommand = NO
failover_recursive_limit = 2
agi_force_currency = GBP
Please help.... what am I missing............
|