Support A2Billing :

provided by Star2Billing S.L.

Support A2Billing :
It is currently Thu Mar 28, 2024 11:42 pm
Hosted Voice Broadcast


All times are UTC




Post new topic Reply to topic  [ 3 posts ] 
Author Message
 Post subject: A2Billing not dialling out to our dial plain
PostPosted: Sun Aug 04, 2013 12:03 pm 
Offline

Joined: Sun Aug 04, 2013 11:07 am
Posts: 5
First Sorry I was not sure where to post this as I can not find the support forum for version - A2Billing v2.0.5

But I am having a small issue with dialling out. I can register a user and create a user, I have set up a Call plain / rate for 61 which is australia

below:
Code:
DESTINATION    PREFIX    BR    SR    START-DATE    STOP-DATE    INITB    CC    TRUNK    RATE CARD                    ACTION
Australia   61   0.01700   0.00000   2013-08-04 21:22:57   2014-08-04 21:22:57   60   0.00000   Australia outbo  outbound_AU


In My extensions.conf file I have

Code:
[a2billing]
exten => _X.,1,NoOp(A2Billing Start)
exten => _X.,n,Agi(a2billing.php,1)
exten => _X.,1,Hangup()


This runs but then hangup the customer without sending it to our supplier

So maybe I have missed something and I am wondering what else I need to set up to make sure that it is calling out correctly

We use to dial out like this

Code:
exten => _04.,1,Dial(SIP/61${EXTEN:1}@PPTVN,,tTor)
exten => _04.,n,NoOp(${ANSWEREDTIME})


PPTVN is inside our sip.conf and all calls go out through this.

If anyone can help that be great


Top
 Profile  
 
 Post subject: Re: A2Billing not dialling out to our dial plain
PostPosted: Wed Aug 07, 2013 12:36 pm 
Offline

Joined: Mon Mar 02, 2009 8:56 pm
Posts: 271
Does the call work if you do it in the rate card simulator?

You could turn on the a2billing debugging in the agi-conf you are using and see what is happening to the call when it gets passed to a2billing.


Top
 Profile  
 
 Post subject: Re: A2Billing not dialling out to our dial plain
PostPosted: Wed Aug 07, 2013 2:48 pm 
Offline

Joined: Sun Aug 04, 2013 11:07 am
Posts: 5
Yes I can let you know the rate card simulator works - the downside is I don't see what it dials out.

It shows the following information

Code:
PREFIX-RATECARD : #1
MAX DURATION FOR THE CALL   660:00 Minutes
Announce correction   x1.000
tariffgroupname   Unlimited
lcrtype   0
idtariffgroup   1
cc_tariffgroup_plan.idtariffplan   1
tariffname   iVox
cc_ratecard.id   1
dialprefix   03
destination   Australia Melbourne
buyrate   0.01700
buyrateinitblock   60
buyrateincrement   60
rateinitial   0.15000
initblock   60
billingblock   60
connectcharge   0.00000
disconnectcharge   0.00000
disconnectcharge_after   0
stepchargea   0.00000
chargea   0.00000
timechargea   0
billingblocka   0
stepchargeb   0.00000
chargeb   0.00000
timechargeb   0
billingblockb   0
stepchargec   0
chargec   0
timechargec   0
billingblockc   0
tp_id_trunk   1
tp_trunk   61
providertech   SIP
tp_providerip   Pro
tp_removeprefix   1


But I cant see the dial that it should be

In my global List I have the following
Code:
Verbosity   verbosity_level   4   0 = FATAL; 1 = ERROR; WARN = 2 ; INFO = 3 ; DEBUG = 4   agi-conf1      Edit this Configuration
Logging   logging_level   4   0 = FATAL; 1 = ERROR; WARN = 2 ; INFO = 3 ; DEBUG = 4   agi-conf1


I have set them to 4 but it does not show me anything in CLI >

and my dial plain
Code:

[general]
static=yes
writeprotect=no
;autofallthrough=no
;extenpatternmatchnew=no
clearglobalvars=no
;userscontext=default


[a2billing]
exten => _X.,1,AGI(a2billing.php,1)
exten => _X,n,Wait(2);

[a2billing_did]
exten => _X.,1,AGI(a2billing.php,1,did)

[a2billing-callback]
exten => _X.,1,AGI(a2billing.php,1,callback)


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 
Hosted Voice Broadcast


All times are UTC


Who is online

Users browsing this forum: Google [Bot] and 17 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group