great to hear back from you again - thanks for coming to the UC this year!
The source code looks correct; the only thing which you need to change though is the route service it points at - the one your app currently uses is an old 10.0 SP4 ArcGIS Server. 'Soft Restrictions' which we were talking about were introduced in 10.1.