Be sure you have defined WITH_NATPING.
If you still have troubles, email to sr-users@lists.kamailio.org, because this is a config issue. This tracker is only for bugs in the code and racking features requests, not discussion on how to configure or use kamailio.