Thanx for ur reply
I tried to use dnid , but wasn't successfull
here is a needed configuration inside a2billing.conf :
[agi-conf4]
; if we want to manage the answer on the call
answer_call=yes
(Can u plz comment on this, what is it ? what does it do ? )
; if YES it will catch the DNID and try to dial it out directly without asking for the phonenumber to call
; value : YES, NO
use_dnid=YES
; Play the balance to the user after the authentication (values : yes - no)
say_balance_after_auth=NO
; Play the balance to the user after the call (values : yes - no)
say_balance_after_call=NO
; Play the time the user can call (values : yes - no)
say_timetocall=YES
; enable the callerid authentication
; ####if this option is active the CC system will check the CID of caller
cid_enable=YES
Here is my settings inside extensions.conf :
[a2billing]
; CallingCard application
exten => 1,1,Answer
exten => 1,2,Wait,1
exten => 1,3,DeadAGI,a2billing.php
exten => 1,4,Wait,1
exten => 1,5,Hangup
exten => _X.,1,Answer
exten => _X.,2,Wait,1
exten => _X.,3,DeadAGI(a2billing.php|agi-conf4)
exten => _X.,4,Wait,1
exten => _X.,5,Hangup
After i dial a number ( i diall 970xxxxxxxx) then i hear "u have xxx balance " then play " Plz enetr the number u want to call" !!!
It can recognize my CID but still it did not catch the number i dialled !!
I still think that to catch a number, then the AGI script must have support this .....
Anyone successfully tested dnid ??
Plz , thanx
Bair