Cronjob to reload IAX2 everyday

Hi Everyone,

I’ve got to servers connected with IAX2 trunk with one server having a static IP and the other is with dynamic IP. I registered the dynamic IP with DDNS and got a domain name for it, but everytime the IP changed it became unreacheable on the other server until I command “IAX2 reload” then it connect again. I created bashfile to reload the IAX2 and run manually with no problem, but can’t make it run through cronjob. Please help.



Who knows yet what your “bashfile” and your crontab entry are, please elucidate.