Hello
I'm trying to redirect my DID to A2Billing but I can't get....
Initially when I configure the Anonymous incoming call to from-trunk context, everything works ok, but I don't have manner to control/charge for it on a2billing.
Following some instructions on this forum, I configured my asterisk as...
extensions.conf
[a2billing-did]
exten => _X.,1,NoOp,${CALLERID(all)}
exten => _X.,2,DeadAGI(a2billing.php|2|did)
exten => _X.,3,Hangup
trixbox inbound route:
Custom App:a2billing-did,${EXTEN},1
In A2B, DID GROUP LIST
ID---DIDGROUP NAME-----CREATION DATE--------ACTION
2----DIDWW ----------------2007-04-07 21:02:06
In A2B, LIST DID
DID----------------BILLING--START DATE----------------EXPIRY DATE------------DIDGROUP---COUNTRY--------ACT ------MU------FIXRATE ACTION
13055375389---Fix --------2007-04-07 21:02:13----2007-06-24 21:02:13 DIDWW-------United States----Active----00:00---5
In A2B, DID DESTINATION LIST
DESTINATION-----CREATIONDATE----DID---------------CARDNUMBER---ACTIVE-----VOIP---PRIOR-------MINUTES USED ACTION
SIP/791040--------2007-04-10 05----13055375389---791040---------Active-------Active----1-------------00:00
...
Of course, I have SIP-FRIEND with Username/Accountcode 791040...
When I try to call to this DID, I hear "This number has not activated" and I can't see any call processing message from asterisk console... but the redirection is same from my DID provider, because when I change the incoming context to [from-trunk] again, the DID works perfect.
Please let me know what I'm doing wrong...
Your is really appreciated
Thank you!
|