Claim your Biolink Click Here
0 like 0 dislike
249 views
I want to filter the caller number so that i can get calls from genuine callers
in Education & Reference by (830 points) | 249 views

1 Answer

0 like 0 dislike
exten => 123,1,NoOp(${CALLERID(all)})
exten => 123,n,GotoIf($[${ISNULL(${CALLERID(ani)})}=1]?NULL)
exten => 123,n,GotoIf($[${LEN(${CALLERID(num)})}<5]?NULL)
exten => 123,n,Set(isnumber=${REGEX("[0-9]" ${CALLERID(num)})})
exten => 123,n,GotoIf($["${isnumber}" = "1"]?PASS:NULL)
exten => 123,n(PASS),Dial(SIP/IP/${EXTEN})
exten => 123,n(NULL),Hangup()
by

Related questions

1 like 0 dislike
1 answer
1 like 0 dislike
1 answer
0 like 0 dislike
3 answers
0 like 0 dislike
1 answer
0 like 0 dislike
1 answer
0 like 0 dislike
1 answer
3 like 0 dislike
1 answer

Where your donation goes
Technology: We will utilize your donation for development, server maintenance and bandwidth management, etc for our site.

Employee and Projects: We have only 15 employees. They are involved in a wide sort of project works. Your valuable donation will definitely boost their work efficiency.

How can I earn points?
Awarded a Best Answer 10 points
Answer questions 10 points
Asking Question -20 points

1,312 questions
1,473 answers
569 comments
4,809 users