[asterisk-users] Special functionality for Secretary/Boss
Kevin Larsen
kevin.larsen at pioneerballoon.com
Thu Sep 4 13:14:46 CDT 2014
asterisk-users-bounces at lists.digium.com wrote on 09/04/2014 11:57:40 AM:
> We are currently migrating from a Nortel pbx to Asterisk and we
> have been able to convert most of the functions that people are used to
> but there is one I have no clear idea how to do. The scenario is:
>
> Boss calls secretary from outside the office to get connected to
> another outside destination. The secretary dials the destination and
> then trasfers call to the boss. When boss finishes with that person
> they want to send the call back to the secretary in order to make
> another connection or simply to talk to the secretary.
>
> The first part is not a problem, but after the boss finishes his
> call how can we send the call back to the secretary? I was thinking of
> using a conference room but how would the secretary know when the boss
> has finished? Anyone know how to handle this scenario?
I haven't tested this, but my initial thought would be to create a special
context or extension that the secretary could route through when doing the
call transfer. The Dial application could be called with the 'g' option to
continue the dialplan at the next priority when the call hangs up.
Something like a normal call transfer would just dial the number as
normal, but for the special transfer, you could prepend the dialed number
with a #.
For example (using a local US dialstring, change to fit your needs):
; This is a normal external call.
exten => _NXXNXXX,1,Dial(SIP/your_external_trunk/${EXTEN})
same => n,Hangup()
; This is a call that should be transfered back to the secretary's
extension when external call is finished
exten => _#NXXNXXX,1,NoOp(Special Dial for Boss/Secretary Transfer)
same => n,Dial(SIP/your_external_trunk/${EXTEN:1},,g)
; First call has ended, now we go back to the secretary)
same => n,Dial(SIP/1234)
same => n,Hangup()
That's at least where I would start with my testing and then develop the
solution from there.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20140904/ad7a0028/attachment.html>
More information about the asterisk-users
mailing list