Damon Estep wrote:
My goal was to have someone’s assistant see that the boss’s line was
ringing and be able to pick it up. I assumed I would have to use the
callgroup/pickupgroup to do so, although was optimistic that that the
call pickup could be programmed into the line watching button during
the “ringing” state.
We do it a completely different way. Here's how...First I define a
"dummy" extension, ie. one that is not part of our DID block and connect
this to the Polycom phone in the third position (Polycom 501 with three
line buttons):
In sip.conf:
[8220]
type=friend
context=from-sip
host=dynamic
dtmfmode=rfc2833
callerid="Some Boss" <1112223333>
[EMAIL PROTECTED]
nat=no
qualify=yes
Then in extensions.conf:
exten => 3333,1,macro(stdexten|${EXTEN}|sip/${EXTEN}&sip/8220)
And finally in the phone's config file (phonexxx.cfg):
<reg
reg.1.displayName="Some Assistant"
reg.1.address="3334" reg.1.label=""
reg.1.type="private"
reg.1.thirdPartyName=""
reg.1.auth.userId=""
reg.1.auth.password=""
reg.1.server.1.address=""
reg.1.server.1.port=""
reg.1.server.1.transport="DNSnaptr"
reg.1.server.2.transport="DNSnaptr"
reg.1.server.1.expires="" reg.1.server.1.register=""
reg.1.server.1.retryTimeOut=""
reg.1.server.1.retryMaxCount=""
reg.1.server.1.expires.lineSeize=""
reg.1.acd-login-logout="0"
reg.1.acd-agent-available="0"
reg.1.ringType="2"
reg.1.lineKeys=""
reg.1.callsPerLineKey=""
reg.2.displayName="Some Assistant"
reg.2.address="3334"
reg.2.label="3334"
reg.2.type="private"
reg.2.thirdPartyName=""
reg.2.auth.userId=""
reg.2.auth.password=""
reg.2.server.1.address=""
reg.2.server.1.port=""
reg.2.server.1.transport="DNSnaptr"
reg.2.server.2.transport="DNSnaptr"
reg.2.server.1.expires=""
reg.2.server.1.register=""
reg.2.server.1.retryTimeOut=""
reg.2.server.1.retryMaxCount=""
reg.2.server.1.expires.lineSeize=""
reg.2.acd-login-logout="0"
reg.2.acd-agent-available="0"
reg.2.ringType="2"
reg.2.lineKeys=""
reg.2.callsPerLineKey=""
reg.3.displayName="Some Boss"
reg.3.address="8220"
reg.3.label="3333"
reg.3.type="private"
...
The third position looks like the boss's extension (3333) due to the
label but is really the dummy extension (8220). The first two buttons are the
assistant's extension (3334).
We reserve a block of extensions in the dialplan for this sort of
trickery.
HTH,
Bob
--
Bob Amen
O'Reilly Media, Inc.
http://www.ora.com/
http://www.oreilly.com/
_______________________________________________
--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