i found the root cause.
i found out asterisk not running after reboot.
i have
/usr/local/sbin/amportal start @ /etc/rc.local
for some time it works but now asterisk is not working again after reboot
workaround is to do amportal restart every time machine reboot.