Probing cosmic string spacetime through parameter estimation