Support A2Billing :

provided by Star2Billing S.L.

Support A2Billing :
It is currently Tue Apr 23, 2024 2:27 pm
Hosted Voice Broadcast


All times are UTC




Post new topic Reply to topic  [ 7 posts ] 
Author Message
 Post subject: agi-conf and context explain
PostPosted: Thu Mar 13, 2008 8:22 pm 
Offline

Joined: Thu Aug 02, 2007 2:02 pm
Posts: 26
I'm a little confused here can some shed some light.

ok say i want a call back system based on your did "a2billing-did" do I have to create a section in a2billing.conf like this

context_cid-callback = a2billing-cid-callback
then apply a agi-conf with setting under that?

then in extentions.conf
having something like this

[a2billing-did]
exten => _X.,1,Set(CALLERID(num)=${IF($[${LEN(${CALLERIDNUM})} = 0]?44:)}${CALLERIDNUM})
exten => _X.,n,DeadAGI(a2billing.php|2|did)
exten => _X.,n,Hangup


Top
 Profile  
 
 Post subject: Re: agi-conf and context explain
PostPosted: Thu Mar 13, 2008 9:08 pm 
Offline
Moderator
User avatar

Joined: Thu Jun 22, 2006 2:19 pm
Posts: 2890
Location: Devon, UK
kingtux wrote:
ok say i want a call back system based on your did "a2billing-did" do I have to create a section in a2billing.conf like this
You want to do what? Are you trying to say you want to implement DDI/ANI callback, where one trigger number always calls the same destination back?


Top
 Profile  
 
 Post subject:
PostPosted: Thu Mar 13, 2008 10:16 pm 
Offline

Joined: Thu Aug 02, 2007 2:02 pm
Posts: 26
guess I miss worded..I guess I would like try out all call back features from a2billing. I have successfully have web-callback working and just wanted more callback options and which ones are for what situations.
I also didn't understand the context and agi-conf settings...Like i said in my previous post
Can u advise?


Top
 Profile  
 
 Post subject:
PostPosted: Thu Mar 13, 2008 10:34 pm 
Offline
Moderator
User avatar

Joined: Thu Jun 22, 2006 2:19 pm
Posts: 2890
Location: Devon, UK
Quote:
do I have to create a section in a2billing.conf like this:
context_cid-callback = a2billing-cid-callback
then apply a agi-conf with setting under that?
No. If you add anything to a2billing.conf it should be a copy of the entire [agi-conf1] section. Then rename it to [agi-conf2] and make whatever other changes to the configuration. You'd then call this 2nd configuration with DeadAGI(a2billing.php|2).

What I know about the contexts for callback is described here. You can deduce from that post that I have at least 4 complete [agi-confX] sections in my a2billing.conf; they are all very similar and differ only in settings such as answer_call, number_tries, play_audio, cid_enable, use_dnid, etc.


Top
 Profile  
 
 Post subject:
PostPosted: Fri Mar 14, 2008 12:13 am 
Offline

Joined: Thu Aug 02, 2007 2:02 pm
Posts: 26
Ok i now understand the agi-conf stuff beter thanks....Also in your post on another thead..
No, this means that when someone dials the ANI trigger number 441234567891 it will change the CLI to 441112223334 and therefore call back on that number. You need to add that CLI to the account of the customer who wants the callback, eg. 012345679 in this example).

What do mean u have to add that to a customer?? Where in the webpage?


Top
 Profile  
 
 Post subject:
PostPosted: Fri Mar 14, 2008 12:25 am 
Offline
Moderator
User avatar

Joined: Thu Jun 22, 2006 2:19 pm
Posts: 2890
Location: Devon, UK
kingtux wrote:
What do mean u have to add that to a customer?? Where in the webpage?
Admin UI -> List customers -> Edit customer -> Caller ID.
Or, if it's enabled in a2billing.conf, Customer UI -> Add Caller ID.


Top
 Profile  
 
 Post subject:
PostPosted: Fri Mar 14, 2008 2:25 am 
Offline

Joined: Thu Aug 02, 2007 2:02 pm
Posts: 26
K great I will give it a try....
So for example I would need manually create an ext for each card that I wanted for that type of call back for?

Added after 52 minutes:

hmmmm....just keeps ringing and ringing when i dial in...Never get call back

a2billing.php|2|cid-callback|: file:Class.A2Billing.php - line:616 - get_agi_request_parameter = unknown ; IAX2/voipstreet_in-2 ; 1205461348.2 ; ; MYDIDNUMBERHERE
a2billing.php|2|cid-callback|: file:a2billing.php - line:407 - [MODE : CALLERID-CALLBACK - unknown]
a2billing.php|2|cid-callback|: file:a2billing.php - line:413 - [CLI CALLBACK TRIGGER RINGING]
-- AGI Script a2billing.php completed, returning 0
-- Executing [MYDIDNUMBERHERE@a2billing-cid-callback:4] Wait("IAX2/voipstreet_in-2", "60") in new stac


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 5 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