If opensips is running behind NAT, OPTIONS NAT ping SIP packets are still using the private IP in it's headers instead of public IP.
listen=udp:PRIVATE_IP as PUBLIC_IP
The OPTIONS sent out looks like:
OPTIONS sip:ADDRESS_TO_PING:PORT SIP/2.0.
Via: SIP/2.0/UDP PRIVATE_IP:5060;branch=0.
CSeq: 1 OPTIONS.
There should be no reference to PRIVATE_IP in the OPTIONS.
Log in to post a comment.