How can I have email notification when SIP trunk is unavailable


Quick question, Is there a way to configure email notification whenever PBX loses SIP trunk connection?

I experienced losing SIP trunk connection, it turned out SIP vendor’s gateway was blocking connection intermittently and I wasn’t noticing until user mentioned issue calling out. SIP vendor’s gateway wasn’t down so ping response was available during that time.

I am thinking somehow detecting the timing when "Peer '<Trunk Junction>' is now UNREACHABLE!" message was available in /var/log/asterisk/full file and send warning message. Is there any way to monitor trunk connectivity status either from Asterisk or FreePBX?

Any suggestion would be appreciated!

System environment:

Asterisk 19.19.2

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.