0 like 0 dislike
32 views

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

asked Jul 28, 2017 in Education & Reference by Marc (2,480 points) | 32 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)

answered Jul 28, 2017 by Krish (890 points)

Related questions

1 like 0 dislike
1 answer
0 like 0 dislike
2 answers
0 like 0 dislike
1 answer
1 like 0 dislike
1 answer
1 like 0 dislike
2 answers

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

Mathe Forum Schule und Studenten
1,164 questions
1,304 answers
275 comments
1,589 users