SIP ALG & NAT (I must reset SIP connections when IP changes)

Hey guys,

Some background:
SIP Helper (ALG) enabled
Turning off SIP Helper does not help the situation

I am using an OVPN connection to connect to an asterisk phone server off-site, and every time my dynamic IP changes I have to remove the ‘sip’ conniptions and let them reconnect for my Aastra phones to work again.

My question:
Can anyone shed some light on how I might script it so that every time the IP of a certain interface changes (or after a timeout is reached [every 20 minutes etc..]), the list of SIP connections under Firewall > Connections is cleared?

Please let me know, it’s beginning to seriously impact business.

Thank you!

Goto IP → Firewall → Connections and click on the Tracking button. There you can change the values for how long it maintains a connection. You might lower those values incrementally until you find a set that work for your application. You might also read up on the IP → Settings and verify/ adjust those settings.

http://wiki.mikrotik.com/wiki/Manual:IP/Settings