It shall be unlawful for any person to install or attach any telephone or similar device on any telephone post, telegraph post, tree post, or on the side of any building in any street, sidewalk, alley or lane in the county for the purpose of using such telephone in connection with the taxicab business.