Support A2Billing :

provided by Star2Billing S.L.

Support A2Billing :
It is currently Wed Apr 24, 2024 10:26 am
VoIP Billing solution


All times are UTC




Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: Asterisk trunk, no freepbx
PostPosted: Sat Apr 24, 2010 4:10 am 
Offline

Joined: Wed Mar 24, 2010 6:27 pm
Posts: 149
Hi,
I have an a2billing 1.7 installation with asterisk 1.6, but no freepbx. I searched around and found nothing, how can I make an outbound route with asterisk? I kind of figured it out, I have the following script that gets me to call out on agi-conf1. I am trying to figure out a way to set this up where it sends the calls (or some calls) through agi-conf3.
Thanks

Code:
[outbound]
exten => _NXXNXXXXXX,1,DeadAGI(a2billing.php,${EXTEN}{OUT_${DIAL_TRUNK}:8})
exten => _NXXNXXXXXX,n,Hangup()

exten => _X.,1,DeadAGI(a2billing.php,${EXTEN}{OUT_${DIAL_TRUNK}:8})
exten => _X.,n,Hangup()

exten => _1NXXNXXXXXX,1,DeadAGI(a2billing.php,${EXTEN}{OUT_${DIAL_TRUNK}:8})
exten => _1NXXNXXXXXX,n,Hangup()


Top
 Profile  
 
 Post subject: Re: Asterisk trunk, no freepbx
PostPosted: Sat Apr 24, 2010 8:37 am 
Offline

Joined: Fri Jun 23, 2006 3:56 pm
Posts: 4065
Assuming a sip trunk.

In sip.conf, put in the all the credentials required by your VoIP provider, which will fall under a [context name].

In A2Billing paste the context name in trunk, where is says IP address, and then calls will use the trunk defined in sip.conf to call out.

Your a2billing context in extensions.conf is going to be simply -

exten => _X.,1,DeadAGI(a2billing.php,3)
exten => _X.,n,Hangup()


Joe


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


All times are UTC


Who is online

Users browsing this forum: No registered users and 26 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:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group