Dear A2B users/Developers,
I succesfully configured A2B callingcard platform without any issue
Also, I have created a SIP friend & integrated with FreePBX using custom Trunk as mentioned in the link
http://forum.asterisk2billing.org/viewtopic.php?f=4&t=2127&hilit=a2b+outnumEverything works perfectly except one issue
1. If use "use_dnid = NO" in a2billing.conf
NO issue with calling card platform, when the access number is called, it will ask for PIN and then destination number..everything is OK here.
But in the SIP Friend (sip client) when it tries to call a number, it announce the balance and they ask the destination again. Which it should as it should use the dialled number automatically
To resolve this issue,
2. If I change "use_dnid"= yes in a2billing.conf
NO issue with SIP Friend (Sip client) it announce the balance and immediately calls the destination number WITHOUT asking again"please enter the destination number". - it is working as expected.
But in the normal calling card platform, when the access number is dialed, it ask for the PIN and once entered the valid PIN, it will automatically starts calling the dnid.
Note: I use the same "custom-a2billing"context for both callingcard & SIP friend:
[custom-a2billing]
exten => _X.,1,Answer
exten => _X.,n,Wait(1)
exten => _X.,n,DeadAGI(a2billing.php|1)
exten => _X.,n,Hangup
I searched for any workaround to solve this problem, but I couldn't find a FIX, Can you please help in resolving this issue
Your help will be much appreciated
Thanks
Senthil