Help in restoring SIP registration


I have two asterisk boxes connected using SIP registration.

Everything works fine except when the internet connection drops, although the internet connection restored the registration does not get resorted automatically, it shows “Request Sent”

Host dnsmgr Username Refresh State Reg.Time N jedpbx 105 Request Sent Wed, 05 Dec 2012 21:20:18
1 SIP registrations.

The registration stays like that till I reboot the system, reload sip or restart astererisk do not restore the registration.

Any help how to restore the registration automatically when the internet drops and restored?

Why are you using registration? If you know the addresses of both sides, it is better to use static addresses.

Unfortunately, one side has dynamic IP.

It is really odd. I put the static ip in the server which has the dynamic ip and worked fine.

Now both sides are registering automatically even after the internet connections drops on the dynamic ip side box.

Many thanks for the hint.