返回列表 發帖
本帖最後由 Qnewbie 於 2010-12-1 06:39 編輯

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()

TOP

返回列表