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

Reply via email to