Support A2Billing :

provided by Star2Billing S.L.

Support A2Billing :
It is currently Tue Apr 23, 2024 7:20 pm
Hosted Voice Broadcast


All times are UTC




Post new topic Reply to topic  [ 1 post ] 
Author Message
 Post subject: Using different agi-confs for incoming calls
PostPosted: Fri Sep 09, 2011 8:23 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.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 
Voice Broadcast System


All times are UTC


Who is online

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