If you have trunk setup where calls over that trunk ring intermittently, or if you forward calls from your extension to your cellphone number and want calls to go to voicemail of cellphone and not your extension, then editing the ring time out to a specific time in milliseconds will solve the above the setups
This can be done by following:
1. Stop Asterisk (sudo /etc/init.d/asterisk stop)
2. Stop Dahdi (sudo /etc/init.d/dahdi stop)
3. Edit /etc/asterisk/chan_dahdi .conf (sudo jed /etc/asterisk/chan_dahdi.conf)
Find the line:
ringtimeout=3000
and adjust the 3000 appropriately. This value reflects milliseconds (3000 is default setting and can be increased to sort setup).
Once you have changed the value.
4. Restart Dahdi (sudo /etc/init.d/dahdi start)
5. Restart Asterisk (sudo /etc/init.d/dahdi start)