I was able to get the sampe to run but I didn't modify the line "mPbxConn = new PBXConnection..." in MyTree.cs. I left that line as it was originally written (mPbxConn = new PBXConnection(). Instead, open the file Program.cs and add the line:
PhoneSystem.CfgServerPort = 5485;