Claim your Biolink Click Here
0 like 0 dislike
200 views

I would like the agents or some extension can dial out some external numbers but others can not..please suggest

in Education & Reference by (4.7k points) | 200 views

1 Answer

0 like 0 dislike

[context]
exten => _987X.,1,NoOp(${CHANNEL})
exten => _987X.,n,Set(EXT2=${CUT(CHANNEL,,1)})
exten => _987X.,n,Set(EXT=${CUT(EXT2,/,2)})
exten => _987X.,n,GotoIf($["${EXT}"="101" || "${EXT}"="102"]?PASS:DISALLOW)
exten => _987X.,n(PASS),NoOp(PASS)
exten => _987X.,n,Dial(SIP/SIP-ACCOUNT/${EXTEN:3})

exten => _987X.,n(DISALLOW),NoOp(DISALLOW)
exten => _987X.,n,NoOp(${EXTEN:3})
exten => _987X.,n,GotoIf($["${EXTEN:3}" = "9999999999" || "${EXTEN:3}" = "8888888888"]?NotAllow:Allow)

by (1.1k points)

Related questions

1 like 0 dislike
1 answer
0 like 0 dislike
2 answers
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,310 questions
1,471 answers
569 comments
4,809 users