[asterisk-users] Special functionality for Secretary/Boss

Mitul Limbani mitul at enterux.in
Thu Sep 4 13:34:23 CDT 2014


Kevin,

With your dialplan with g option on external trunk, if the call finishes
the boss's leg of call also gets disconnected. So the next instruction
would make a call to secratary, however with no one on other end.

Mitul
On 04-Sep-2014 11:44 PM, "Kevin Larsen" <kevin.larsen at pioneerballoon.com>
wrote:

> 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.
> --
> _____________________________________________________________________
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
> New to Asterisk? Join us for a live introductory webinar every Thurs:
>                http://www.asterisk.org/hello
>
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/asterisk-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20140905/08eb806e/attachment.html>


More information about the asterisk-users mailing list