# this lets agents who are dialed park and transfer calls to a local # and other agent.
[sipextbusy]
include => parkedcalls
exten => _1XXX,1,Dial(SIP/${EXTEN},20,tmhg)
exten => _1XXX,2,Congestion()
exten => _1XXX,102,Congestion()
exten => _1XXX,103,Congestion()
exten => _1XXX,104,Hangup
include => local
exten => t,1,Hangup
exten => s,1,Hangup
# then my manager cgi does the following:
# add queue member Local/1002@sipextbusy to support
# remove queue member Local/1002@sipbusy from support
# where 1002 is the Extension # of the SIP phone