Support A2Billing :

provided by Star2Billing S.L.

Support A2Billing :
It is currently Fri Mar 29, 2024 3:22 pm
Predictive Dialer


All times are UTC




Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: How i can route DID number to billing?
PostPosted: Fri Jun 23, 2006 7:09 am 
Offline

Joined: Fri Jun 23, 2006 7:04 am
Posts: 5
Hello,

Let say i have couple DID numbers, coming to asterisk. All them are not authenticated and coming to some context:

sip.conf
context = all-did-processing

in extensions.conf then:

[all-did-processing]
exten => 123,1,goto(callingcard,s,1)
exten => 321,1,goto(init-callback,s,1)
exten => 555,1,goto(from-pstn,s,1) ; NOTE - route to FreePBX
; finally !!
exten => 666,1,goto(a2billing-did,s,1)

and now

[a2billing-did,s,1]
exten => s,1,deadagi(a2billing.php|1)

and .... nothing...

what should i type for confN in a2billing.conf
and what i have to do under a2billing?

Thanks!


Top
 Profile  
 
 Post subject:
PostPosted: Fri Jun 23, 2006 1:46 pm 
Offline

Joined: Mon Jun 19, 2006 5:14 pm
Posts: 218
Hi,

here are my comments:

The sip.conf code looks OK

The extensions.conf code
exten => 666,1,goto(a2billing-did,s,1)

looks ok assuming that your DID does get you to 666 BUT

Quote:
[a2billing-did,s,1]
exten => s,1,deadagi(a2billing.php|1)


The context name is not right ... might just be typing error. It should be [a2billing-did]

As to the remainder of you query
Quote:
what should i type for confN in a2billing.conf
and what i have to do under a2billing?


Your question is not clear, I don't understand it. do you mean:
How should you configure a2billing.conf?
How should your configure agi-conf in a2billing.conf?

The last one. I have no clue what you mean "what I have to do under a2billing"

To answer the questions about configuring a2billing.conf you have to say what you want it to. e.g. prompt for number to dial, prompt for pin, authenticated with callerid, etc

As to the agi-conf: since your "deadagi" cmd uses 1 as the agi-conf parameter your agi-conf context should be [agi-conf1]


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 
Predictive Dialer


All times are UTC


Who is online

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