you probably need a new bit of cable with one of the small pieces of metal that Mouton described. It sounds like you cut the existing cable and tried to put it in the inline?
The set up should work fine--it's what I've got.
Are you running the inline lever as the primary (only) lever, or running it "inline" with a standard brake lever as the primary? Cuz that is a different story.