--- bee-beeep <[EMAIL PROTECTED]> wrote:
> It works fine in every case, with disabling transfer
> in Dial() options
>
> 2008/4/25 Grey Man <[EMAIL PROTECTED]>:
>
> > > > > Thanks to your answers, but i found more
> beautiful way to do this -
> > > > > there is some system variable
> __TRANSFER_CONTEXT, which defines
> > context
> > > > > to handle the transfered number, so you can
> create a new context and
> > > > > there you can do anything with transfered
> call - i just hang it up.
> > > > >
> >
> > It's only relevant for blind transfers. For
> attended transfers that
> > mechanism won't work.
In my case I don't want to disable transfer in Dial()
because I want transfers (both blind and attended) to
work always except in just one case: when "src"
extension is not one of my "local" extensions and when
"dst" is an outbound trunk. Typical scenario is to
avoid external callers to call a "local" extension
which in turn transfers the call to another external
number.
Currently, what I do is simply check the BLINDTRANSFER
variable on outbound trunk contexts and that works
fine except for attended transfers, of course.
I can't disable T in Dial() for outbound calls because
I want my local extensions to be able to transfer an
external call to another local extension.
____________________________________________________________________________________
Be a better friend, newshound, and
know-it-all with Yahoo! Mobile. Try it now.
http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ
_______________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users