I Am new in a2billing.
I have installed elastix 2.4 and a2billing 1.9.4
after installing i created trunk for outbound and inbound, then i aded outbound and inbound routes. I also added custom destination suggested here
https://sysadminman.net/blog/2009/integ ... illing-621then i forward my inbound routes to the above custom destination
In A2biiling I added customer,callplan,ratecard,rates,trunks etc. I check in simulator and that works fine.
Now problem is when i start calling
It ask for pin number. I then provide my account number then issue are
1) It doesn't says my balance
2) after giving number to dial , It doesnt says my remaining minutes
3) After that It hangup automatically and in my provider's cdr i get "number"|60|HRrl(8571000 under "called number"
Below is the cli generated when i make call
== Using SIP RTP TOS bits 184
== Using SIP RTP CoS mark 5
-- Executing [12069009315@from-trunk-sip-localphone:1] Set("SIP/localphone-00000022", "GROUP()=OUT_3") in new stack
-- Executing [12069009315@from-trunk-sip-localphone:2] Goto("SIP/localphone-00000022", "from-trunk,12069009315,1") in new stack
-- Goto (from-trunk,12069009315,1)
-- Executing [12069009315@from-trunk:1] Set("SIP/localphone-00000022", "__FROM_DID=12069009315") in new stack
-- Executing [12069009315@from-trunk:2] Gosub("SIP/localphone-00000022", "app-blacklist-check,s,1") in new stack
-- Executing [s@app-blacklist-check:1] GotoIf("SIP/localphone-00000022", "0?blacklisted") in new stack
-- Executing [s@app-blacklist-check:2] Set("SIP/localphone-00000022", "CALLED_BLACKLIST=1") in new stack
-- Executing [s@app-blacklist-check:3] Return("SIP/localphone-00000022", "") in new stack
-- Executing [12069009315@from-trunk:3] ExecIf("SIP/localphone-00000022", "1 ?Set(CALLERID(name)=Restricted)") in new stack
-- Executing [12069009315@from-trunk:4] Set("SIP/localphone-00000022", "__CALLINGPRES_SV=allowed_not_screened") in new stack
-- Executing [12069009315@from-trunk:5] Set("SIP/localphone-00000022", "CALLERPRES()=allowed_not_screened") in new stack
-- Executing [12069009315@from-trunk:6] Goto("SIP/localphone-00000022", "a2billing,12069009315,1") in new stack
-- Goto (a2billing,12069009315,1)
-- Executing [12069009315@a2billing:1] Answer("SIP/localphone-00000022", "") in new stack
-- Executing [12069009315@a2billing:2] Wait("SIP/localphone-00000022", "1") in new stack
-- Executing [12069009315@a2billing:3] DeadAGI("SIP/localphone-00000022", "a2billing.php,1") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/a2billing.php
-- <SIP/localphone-00000022> Playing 'prepaid-enter-pin-number.gsm' (language 'en')
failed to extend from 256 to 424
failed to extend from 256 to 424
-- AGI Script Executing Application: (DIAL) Options: (SIP/iqtelecom/12069009315|60|HRrL(85710000:61000:30000))
== Using SIP RTP TOS bits 184
== Using SIP RTP CoS mark 5
-- Called SIP/iqtelecom/12069009315|60|HRrL(85710000:61000:30000)
-- SIP/iqtelecom-00000023 is making progress passing it to SIP/localphone-00000022
== Everyone is busy/congested at this time (1:0/0/1)
-- <SIP/localphone-00000022> Playing 'prepaid-enter-dest.gsm' (language 'en')
failed to extend from 256 to 424
-- AGI Script Executing Application: (DIAL) Options: (SIP/iqtelecom/127281581939|60|HRrL(85710000:61000:30000))
== Using SIP RTP TOS bits 184
== Using SIP RTP CoS mark 5
-- Called SIP/iqtelecom/127281581939|60|HRrL(85710000:61000:30000)
-- SIP/iqtelecom-00000024 is making progress passing it to SIP/localphone-00000022
== Everyone is busy/congested at this time (1:0/0/1)
-- <SIP/localphone-00000022> Playing 'prepaid-enter-dest.gsm' (language 'en')
failed to extend from 256 to 424
-- <SIP/localphone-00000022>AGI Script a2billing.php completed, returning 4
== Spawn extension (a2billing, 12069009315, 3) exited non-zero on 'SIP/localphone-00000022'
failed to extend from 256 to 424
failed to extend from 256 to 424