I have started using a2billing & asterisk very recently - advance apologies if I am asking too basic a question. I have gone over the FAQs, and researched but can not find a way.
I want SIP clients to be able to dial +919901996242 kind number to dial country code 91 (i.e. India). My calls are working properly with no prefix or with prefix of 011, 00when I dial just 919901996242.
It says "rate engine did not find a match" - there seems some problem
Any ideas?? Thanks in advance for the community help here.
My config is as follows
>> file: extensions.conf
[a2billing]
exten => _X.,1,DeadAGI(a2billing.php|1)
exten => _X.,n,Hangup
exten => _+X.,1,DeadAGI(a2billing.php|1)
exten => _+X.,n,Hangup
>> file: a2billing.conf
[agi-conf2]
international_prefixes = 011,00,09,+
>> rate plans
- all have "remove inter prefix" set to YES
>> console log gives this
a2billing.php|1: file:a2billing.php - line:278 - TRUNK - dnid : +919901996242 (1)
a2billing.php|1: file:Class.A2Billing.php - line:676 - 1 && && 13&& 0
a2billing.php|1: file:Class.A2Billing.php - line:701 - DESTINATION ::> +919901996242
a2billing.php|1: file:Class.A2Billing.php - line:703 - RULES APPLY ON DESTINATION ::> 19901996242
a2billing.php|1: file:Class.A2Billing.php - line:739 - ERROR ::> RateEngine didnt succeed to match the dialed number over the ratecard (Please check : id the ratecard is well create ; if the removeInter_Prefix is set according to your prefix in the ratecard ; if you hooked the ratecard to the Call Plan)
-- AGI Script a2billing.php completed, returning 0
|