Call Barging for Free Pbx Distro 2.11

Hi,
We have Free Pbx Distro 2.11 version but we are unable to barge the selected Extension , to make this work, pl.suggest me what to do? After dialing 555 barging last call.We need to enter selected Extension with P.w
Thanks in Advance
Shashi

(/etc/asterisk/extensions_custom.conf)
add small script in the extensions_custom.conf file will be blank u need to copy the below script and past ( change “X” to the preferred number to barge )
[from-internal-custom]
exten => XXX,1,Macro(user-callerid)
exten => XXX,2,Authenticate( anypassword )
exten => XXX,3,Read(SPYNUM,agent-newlocation)
exten => XXX,4,ChanSpy(SIP/${SPYNUM))