0 like 0 dislike
48 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 (2.4k points) | 48 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 (810 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
1 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,202 questions
1,348 answers
553 comments
1,994 users