In the event that the telegraph or telephone companies upon application to such individuals, railroads, or turnpike companies fail to secure a right-of-way by consent, contract, or agreement, then the telegraph or telephone corporation shall have the right to proceed to procure the condemnation of the property, lands, rights, privileges, and easements in the manner prescribed by law for taking private property for right-of-way for railroads, as provided by § 18-15-1201 et seq.