Support A2Billing :

provided by Star2Billing S.L.

Support A2Billing :
It is currently Fri Apr 19, 2024 6:09 am
Auto Dialer Software


All times are UTC




Post new topic Reply to topic  [ 7 posts ] 
Author Message
 Post subject: How to create DAHDI outbound call in a A2Billing ?
PostPosted: Tue Jul 05, 2011 5:34 pm 
Offline

Joined: Tue Jul 05, 2011 5:18 pm
Posts: 16
Hi everybody,

I am new to A2Billing, I am receiving calls from mobile or PSTN numbers, I would like to answer the icomming call an Authanticate the caller through A2Billing if is is success than the call will be bridged to DAHDI/2. here is what I was doing for my extension.conf in asterisk,
[from-pstn]
exten => s,1,Answer()
exten => s,n,Dial(DAHDI/2/${EXTEN},,L(120000))
exten => s,n,Hangup()
I have successfuly installed A2Billing. How do I use DeadAGI using DAHDI?

Best regards,
Abdifatah


Top
 Profile  
 
 Post subject: Re: How to create DAHDI outbound call in a A2Billing ?
PostPosted: Wed Jul 06, 2011 5:24 am 
Offline

Joined: Fri Jun 23, 2006 3:56 pm
Posts: 4065
Just call A2Billing.php in the normal way, and in your A2Billing trunks set up DAHDI as the technology type and 2 as the channel.

Joe


Top
 Profile  
 
 Post subject: Re: How to create DAHDI outbound call in a A2Billing ?
PostPosted: Wed Jul 06, 2011 3:04 pm 
Offline

Joined: Tue Jul 05, 2011 5:18 pm
Posts: 16
Thanks Jou,

That works fine, one more issue has come, the call duration is not correct, when the customers makes a call the call starts even if the call is not answering yet, if the called hangs up a2billing is charing here is how I intercept the incomming calls an forwarding to a2billing.
[from-pstn]

exten => s,1,Background(Enter-the-number-to-call)
exten => s,n,WaitExten()
exten => _X.,1,Goto(call-a2billing,${EXTEN},1)
exten => _X.,n,Hangup()

[call-a2billing]
; CallingCard application
exten => _X.,1,deadAGI(a2billing.php,1)
exten => _X.,n,Hangup

Please help me for the best way to handle this issue.

Best regards,
Abdifatah Dayib


Top
 Profile  
 
 Post subject: Re: How to create DAHDI outbound call in a A2Billing ?
PostPosted: Wed Jul 06, 2011 3:38 pm 
Offline

Joined: Fri Jun 23, 2006 3:56 pm
Posts: 4065
Quote:
he call starts even if the call is not answering yet,


Clearly this is the case, you can't play IVR without answering.


Code:
exten => s,1,Background(Enter-the-number-to-call)


Top
 Profile  
 
 Post subject: Re: How to create DAHDI outbound call in a A2Billing ?
PostPosted: Wed Jul 06, 2011 4:06 pm 
Offline

Joined: Tue Jul 05, 2011 5:18 pm
Posts: 16
Thanks jroper,

I would like to start the timer of the call when the end part of the conversation picks up his phone and end when one of them hangs up the call, how could I do it psl? and tell the user to enter the number they want to call.

Best regards,
Abdifatah


Top
 Profile  
 
 Post subject: Re: How to create DAHDI outbound call in a A2Billing ?
PostPosted: Wed Jul 06, 2011 4:21 pm 
Offline

Joined: Fri Jun 23, 2006 3:56 pm
Posts: 4065
Is this a VoIP call, or a calling card system?

Joe


Top
 Profile  
 
 Post subject: Re: How to create DAHDI outbound call in a A2Billing ?
PostPosted: Wed Jul 06, 2011 6:24 pm 
Offline

Joined: Tue Jul 05, 2011 5:18 pm
Posts: 16
Dear joe,

it is calling card. our customers will call one of our pstn lines wich connected to the Digium card,we have 2 pstn lines one of them is cheaper than the other one, so we want to give people those can not get the cheap one using our system.

CUstomers calls line 1 dahdi-1 answers and asks to pub the calling card if it is okey using A2billing the customer will be bridged to dahdi-2 and makes the call, every thing is okey we can make call , but there is duration problem.

you can ask me more detail if you want.
best regards,
Dayib


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 7 posts ] 
VoIP Billing solution


All times are UTC


Who is online

Users browsing this forum: No registered users 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