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]