Authentication in sip phones

hello everybody,this forum is regarding authentication in sip phones…when i use ip tables in sip server,sip phones some times do not get register.

and at the time of calling it ask for authentication but not always…sometimes.why this happen?can anyone help me plz…its urgent.plz reply as soon as possible…thanx in advance