How may I configure my extensions.conf so that only the boss's secretary
can call the boss through his extension, all others when dial his
extension only makes the boss's secretary phone ring, not his. If she
wants, she can transfer the incoming call to the boss dialling his
extension.
the keyword is "context"

boss extension : 4321
secretary exten : 4322
in sip.conf for the secretary config, put her phone in the context
"secretary-context"
for other callers (PSTN lines, other office exten, etc) put them in
context "normal-people-context"

[normal-people-context]
exten => 4321,1,Dial(SIP/4322)

[secretary-context]
exten => 4321,1,Dial(SIP/4321)

like this, when someone dials 4321, they will reach his secretary,
except when the secretary dials it, she will reach him.

This is just an example written from the top of my head on a friday
afternoon so it is not tested, etc  :)

hth
_______________________________________________
--Bandwidth and Colocation provided by Easynews.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to