My fake authentication method is:
exten => _12340086.,1,Dial(DAHDI/1/${EXTEN:4},,r)) ; 1234 is the "auth" code
exten => _12340086.,n,Hangup()
It would be great that a list with "forbidden" numbers could be assembled to a file with explanation using a format that be able converted to DP. Then we might use cut&paste to setup our list and generate the DP.
For instance:
; 0088, Australia forbidden number(mobile number)
614
The shell script might just read the file, skip line starting with ";", and generate a DP line with
exten => _00614.,1,Hangup()作者: ckleea 時間: 2010-12-1 06:48