Hello,
I am trying to setup a calling card access number. I have the following in my extensions.conf:
[default]
exten => 1XXX7272727,1,Answer
exten => 1XXX7272727,2,Wait,1
exten => 1XXX7272727,3,DeadAGI(a2billing.php|1)
exten => 1XXX7272727,4,Wait,1
exten => 1XXX7272727,5,Hangup
The number I'm calling from has been added to one of the cards so when I am trying to call just this number (1XXX7272727), instead of asking for destination it tells me:
"You have 12 minutes" and afterwards just asks for the complete pin number..
In a2billing.conf I have "use_dnid=YES " , but I'd like to be able to keep this as it is for customers that are registering with a sip phone/sip softphone and want to dial out directly without them being asked for the pin number.
So basically I'd like to be able to have two behaviours: When registering using the sip account they should be able to dial out without pin number and without them being asked for the number to be dialed, and the second behavior would be to be asked for the destination number when calling from outside the system.
How can I do this?
Added after 1 minutes:
managed to sort this out in less than one minute after posting:
no_auth_dnid = my-incoming-number
no reply necessary