Hi, I have setup a SIP line on my asterisk and configured it on my server. Now I need to monitor the status of my SIP line whether it is up or not at regular intervals.
The issue is basically because asterisk stops responding to the incoming calls sometimes and when user call he keeps getting a busy tone. Later when I restart asterisk the line starts working fine.
I tried adding automated calls from another server but it did not prove to be a good solution as the calls were chargeable. I had also installed asterisk in debug_mode to get a trace of asterisk if it goes down and to detect in case of any deadlocks but there was no such trace created when the line was showing busy.
Is there any other way that I can poll the SIP line from asterisk to get a signal which returns the status of the line so that I can be notified if Line is in working state or not?