Re: [asterisk-users] Disable blind and attended transfer during call

2018-04-17 Thread Kseniya Blashchuk
You can probably manage this with dial options (T or t for ex)

On Tue, Apr 17, 2018, 4:22 PM Joshua Colp  wrote:

> On Fri, Apr 13, 2018, at 6:09 PM, Andrzej Nowrot wrote:
> > Hi
> >
> > Is there a way to disable blind and attended transfer during a call.
>
> No, DTMF features are not call time configurable. They are only grabbed
> when the channel is first bridged, not as they are potentially used.
>
> Cheers,
>
> --
> Joshua Colp
> Digium, Inc. | Senior Software Developer
> 445 Jan Davis Drive NW - Huntsville, AL 35806 - US
> Check us out at: www.digium.com & www.asterisk.org
>
> --
> _
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
>
> Check out the new Asterisk community forum at:
> https://community.asterisk.org/
>
> New to Asterisk? Start here:
>   https://wiki.asterisk.org/wiki/display/AST/Getting+Started
>
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
>http://lists.digium.com/mailman/listinfo/asterisk-users
>
-- 
--
BR, Kseniya
-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

Check out the new Asterisk community forum at: https://community.asterisk.org/

New to Asterisk? Start here:
  https://wiki.asterisk.org/wiki/display/AST/Getting+Started

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Re: [asterisk-users] Disable blind and attended transfer during call

2018-04-17 Thread Joshua Colp
On Fri, Apr 13, 2018, at 6:09 PM, Andrzej Nowrot wrote:
> Hi
> 
> Is there a way to disable blind and attended transfer during a call.

No, DTMF features are not call time configurable. They are only grabbed when 
the channel is first bridged, not as they are potentially used.

Cheers,

-- 
Joshua Colp
Digium, Inc. | Senior Software Developer
445 Jan Davis Drive NW - Huntsville, AL 35806 - US
Check us out at: www.digium.com & www.asterisk.org

-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

Check out the new Asterisk community forum at: https://community.asterisk.org/

New to Asterisk? Start here:
  https://wiki.asterisk.org/wiki/display/AST/Getting+Started

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


[asterisk-users] Disable blind and attended transfer during call

2018-04-13 Thread Andrzej Nowrot
Hi

Is there a way to disable blind and attended transfer during a call.

I am trying this configuration but unfortunately with no luck:

- in features.conf

[applicationmap]

disabletransfer => 9*9,self,GoSub(disabletransfer,s,1)

- in extensions.conf

[incoming]

exten => 99,1,Set(__DYNAMIC_FEATURES=disabletransfer)
exten => 99,n,Dial(Sip/alice,120,tT)
exten => 99,n,Hangup()

[disabletransfer]

exten => s,1,Set(FEATUREMAP(atxfer)=)
exten => s,n,Set(FEATUREMAP(blindxfer)=)
exten => s,n,Set(FEATURE(inherit)=yes
exten => s,n,Noop(${FEATUREMAP(atxfer)})
exten => s,n,Noop(${FEATUREMAP(blindxfer)})
exten => s,n,Noop(${FEATURE(inherit)})
exten => s,n,Playback(beep)
exten => s,n,Return()

I can see that after dialing 9*9 the call goes through the disabletransfer
context, but it does not turn the transfer possibility off. I still can
enable transfer by dialing  * or # (which are my defaults for atxfer and
blindxfer).

What am I doing wrong?
-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

Check out the new Asterisk community forum at: https://community.asterisk.org/

New to Asterisk? Start here:
  https://wiki.asterisk.org/wiki/display/AST/Getting+Started

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users