         let filename = player.url?.URLByDeletingPathExtension?.lastPathComponent
         if filename == self.bundleBusytoneUri?.URLByDeletingPathExtension?.lastPathComponent
             || filename == self.defaultBusytoneUri?.URLByDeletingPathExtension?.lastPathComponent {
-            self.stopBusytone()
+            //self.stopBusytone()
+            print("busytone finished, invoke stop()")
             self.stop("")
         }
         print("finished playing: \(filename)")

    func getRingbackUri(_type: String) -> NSURL? {
        let fileBundle: String = "incallmanager_ringback"
        let fileBundleExt: String = "mp3"
        let fileSysWithExt: String = "vc~ringing.caf"
        let fileSysPath: String = "/System/Library/Audio/UISounds"
        let type = (_type == "" || _type == "_DEFAULT_" ? fileSysWithExt : _type) // --- you can't get default user perfrence sound in ios
        return self.getAudioUri(type, fileBundle, fileBundleExt, fileSysWithExt, fileSysPath, &self.bundleRingbackUri, &self.defaultRingbackUri)
    }

    }

    func getSysFileUri(target: String) -> NSURL? {
        if let url: NSURL? = NSURL(fileURLWithPath: target, isDirectory: false) {
            if let path = url?.path {
                let fileManager: NSFileManager = NSFileManager()
                var isTargetDirectory: ObjCBool = ObjCBool(false)
                if fileManager.fileExistsAtPath(path, isDirectory: &isTargetDirectory) {
                    if !isTargetDirectory {
                        return url
                    }
                }
            }
        }
        print("can not get url for \(target)")
        return nil
    }

