(CNN) A former Trump World Tower doorman who says he has knowledge of an alleged affair President Donald Trump had with an ex-housekeeper, which resulted in a child, is now able to talk about a contract he entered with American Media Inc. that had prohibited him from discussing the matter with anyone, according to his attorney.

On Friday, Marc Held -- the attorney for Dino Sajudin, the former doorman -- said his client had been released from his contract with AMI, the parent company of the National Enquirer, "recently" after back-and-forth discussions with AMI.

CNN has exclusively obtained a copy of the signed "source agreement" between Sajudin and AMI, which is led by David Pecker.

The contract appears to have been signed on Nov. 15, 2015, and states that AMI has exclusive rights to Sajudin's story but does not mention the details of the story itself beyond saying, "Source shall provide AMI with information regarding Donald Trump's illegitimate child..."

The contract states that "AMI will not owe Source any compensation if AMI does not publish the Exclusive..." and the top of the agreement shows that Sajudin could receive a sum of $30,000 "payable upon publication as set forth below."

Read More