I'm not sure where you get:
$$p(r) = A\frac{\cos kr}{r} + B\frac{\sin kr}{r}$$
... from.
The wave equation in cylindrical coordinates is:
$$\frac{1}{c^2}u_{tt}=u_{rr}+\frac{1}{r}u_r+\frac{1}{r^2}u_{\theta \theta}+u_{zz}$$
With Ansatz:
$$u(r,\theta,z,t)=R(r)\Theta(\theta)Z(z)T(t)$$
Separation:
$$\frac{1}{c^2}R\Theta ZT''=\Theta Z T R''+\frac{1}{r}\Theta ZTR'+\frac{1}{r^2}RZT\Theta''+R\Theta TZ''$$
$$\frac{1}{c^2}\frac{T''}{T}=\frac{R''}{R}+\frac{1}{r}\frac{R'}{R}+\frac{1}{r^2}\frac{\Theta''}{\Theta}+\frac{Z''}{Z}=-m^2$$
$$\frac{1}{c^2}\frac{T''}{T}=-m^2$$
$$\frac{R''}{R}+\frac{1}{r}\frac{R'}{R}+\frac{1}{r^2}\frac{\Theta''}{\Theta}+\frac{Z''}{Z}=-m^2$$
$$\frac{R''}{R}+\frac{1}{r}\frac{R'}{R}+\frac{1}{r^2}\frac{\Theta''}{\Theta}=-m^2-\frac{Z''}{Z}=-n^2$$
$$\frac{R''}{R}+\frac{1}{r}\frac{R'}{R}+\frac{1}{r^2}\frac{\Theta''}{\Theta}=-n^2$$
$$r^2\frac{R''}{R}+r\frac{R'}{R}+\frac{\Theta''}{\Theta}=-n^2r^2$$
$$r^2\frac{R''}{R}+r\frac{R'}{R}+n^2r^2=-\frac{\Theta''}{\Theta}=+k^2$$
Note that here the separation constant has to be positive, in order go give good solutions to:
$$-\frac{\Theta''}{\Theta}=+k^2\implies \Theta''-k^2\Theta=0$$
Which has the solutions:
$$\Theta(\theta)=c_3\cos k\theta$$
Where the eigenvalues $k=1.2,3,...$.
So the first spatial ODE is:
$$r^2R''+rR'+(n^2r^2+k^2)R=0$$
Which has solutions:
$$R(r)=c_1J_k(nr)+c_2Y_k(nr)$$
Where $J_k$ is the Bessel Function and $Y_k$ is the Modified Bessel Function.
The eigenvalues $n$ are the roots of:
$$R(R_0)=c_1J_k(nR_0)+c_2Y_k(nR_0)=0$$