Issue with startread with call forwarding plz help

hello all,
okay here is what I’m looking to due. I am attempting to use allow agents to login from home to a queue using and anolog line. I won’t explain all the details yet how ever where the issue lies is in recreating the call forwarding code in the extensions_custom.conf. After pressing # for the extension and the code gets to “exten => s,9,(startread) ,Playback(ent-target-attendant)” the system hangs up the code. I am still fairly new to this so I am hoping that this is a fairly easy question…

Thanks in advance for your support below is the code that I’m currently using the foundation was created by someone else and I have not changed the naming configuration.

;exten => s,1,Playback(custom/Agentlogintset)
exten => s,1,Answer
exten => s,2,Wait(1)
exten => s,3,Macro(user-callerid,)
exten => s,4,Playback(call-fwd-unconditional)
exten => s,5,Playback(please-enter-your&extension)
exten => s,6,Read(fromext,then-press-pound,)
exten => s,7,Set(fromext=${IF($[“foo${fromext}”=“foo”]?${AMPUSER}:${fromext})})
exten => s,8,Wait(1)
;exten => s,8,Playback(custom/Agentlogintset)
exten => s,9,(startread),Playback(ent-target-attendant)
exten => s,10,Read(toext,then-press-pound,)
exten => s,11,GotoIf($[“foo${toext}”=“foo”]?startread)
exten => s,12,Wait(1)
exten => s,13,Set(DB(CF/${fromext})=${toext})
exten => s,14,Playback(call-fwd-unconditional&for&extension)
exten => s,15,SayDigits(${fromext})
exten => s,16,Playback(is-set-to)
exten => s,17,SayDigits(${toext})
exten => s,18,Goto(from-internal,1001*,1)