Support A2Billing :

provided by Star2Billing S.L.

Support A2Billing :
It is currently Thu Mar 28, 2024 7:25 pm
Voice Broadcast System


All times are UTC




Post new topic Reply to topic  [ 3 posts ] 
Author Message
 Post subject: Second config agi not working
PostPosted: Tue Sep 06, 2011 3:50 pm 
Offline

Joined: Sat May 09, 2009 10:02 pm
Posts: 12
Have 1.9 installed.

Have 2 different plans.

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

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

In Admin console created second config with settings I needed.
Incoming routes pointed to different Custom Destinations:

a2billing,${EXTEN},1
a2billing2,${EXTEN},1

When I make test call I can see in logs next:
-- Executing [DID@from-trunk:5] Goto("SIP/TRUNKNAME-0000002e", "a2billing2,DID,1") in new stack
-- Executing [DID@a2billing2:3] AGI("SIP/TRUNKNAME-0000002e", "a2billing.php,2") in new stack

But it's using settings from agi-conf1.

Also were agi-confs are stored in this version? Before it was in /etc/asterisk/a2billing.conf BUT in 1.9 version file that located in /etc/a2billing.conf doesn't contain it anymore


Top
 Profile  
 
 Post subject: Re: Second config agi not working
PostPosted: Wed Sep 07, 2011 7:55 am 
Offline

Joined: Fri Jun 23, 2006 3:56 pm
Posts: 4065
agi-confs have not been stored in /etc/a2billing.conf since version 1.3.4


Top
 Profile  
 
 Post subject: Re: Second config agi not working
PostPosted: Fri Sep 09, 2011 8:14 pm 
Offline

Joined: Sat May 09, 2009 10:02 pm
Posts: 12
Thanks for reply. But it didn't answer my question.
Most important question was why it 's not working and how to make it work. And second question was were agi-confs are located.


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


All times are UTC


Who is online

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