300 likes | 555 Views
Email. When this module is complete, you will be able to: Configure your email server. Add a gmail certificate. Troubleshoot issues with email. Configure “Event Notifications” on the system. Admin Email Settings.
E N D
Email • When this module is complete, you will be able to: • Configure your email server. • Add a gmail certificate. • Troubleshoot issues with email. • Configure “Event Notifications” on the system.
Admin Email Settings The system acts as an SMTP client and needs a mail server for sending the messages. • Admin email settings: Domains can share the same SMTP settings.
When Using Gmail for the SMTP Server Gmail’s SMTP server requires a certificate. ----BEGIN CERTIFICATE----- MIIDIDCCAomgAwIBAgIENd70zzANBgkqhkiG9w0BAQUFADBOMQswCQYDVQQG EwJV UzEQMA4GA1UEChMHRXF1aWZheDEtMCsGA1UECxMkRXF1aWZheCBTZWN 1cmUgQ2Vy dGlmaWNhdGUgQXV0aG9yaXR5MB4XDTk4MDgyMjE2NDE1MVoXDT E4MDgyMjE2NDE1 MVowTjELMAkGA1UEBhMCVVMxEDAOBgNVBAoTB0VxdWlmY XgxLTArBgNVBAsTJEVx dWlmYXggU2VjdXJlIENlcnRpZmljYXRlIEF1dGhv cml0eTCBnzANBgkqhkiG9w0B AQEFAAOBjQAwgYkCgYEAwV2xWGcIYu6gmi0 fCG2RFGiYCh7+2gRvE4RiIcPRfM6f BeC4AfBONOziipUEZKzxa1NfBbPLZ4 C/QgKO/t0BCezhABRP/PvwDN1Dulsr4R+A cJkVV5MW8Q+XarfCaCMczE1ZM KxRHjuvK9buY0V7xdlfUNLjUA86iOe/FP3gx7kC AwEAAaOCAQkwggEFMHAG A1UdHwRpMGcwZaBjoGGkXzBdMQswCQYDVQQGEwJVUzEQ MA4GA1UEChMHRXF 1aWZheDEtMCsGA1UECxMkRXF1aWZheCBTZWN1cmUgQ2VydGlm aWNhdGUgQX V0aG9yaXR5MQ0wCwYDVQQDEwRDUkwxMBoGA1UdEAQTMBGBDzIwMTgw ODIyM TY0MTUxWjALBgNVHQ8EBAMCAQYwHwYDVR0jBBgwFoAUSOZo+SvSspXXR9gjI BBPM5iQn9QwHQYDVR0OBBYEFEjmaPkr0rKV10fYIyAQTzOYkJ/UMAwGA1UdE wQF MAMBAf8wGgYJKoZIhvZ9B0EABA0wCxsFVjMuMGMDAgbAMA0GCSqGSIb3 DQEBBQUA A4GBAFjOKer89961zgK5F7WF0bnj4JXMJTENAKaSbn+2kmOeUJX Rmm/kEd5jhW6Y 7qj/WsjTVbJmcVfewCHrPSqnI0kBBIZCe/zuf6IWUrVnZ9 NA2zsmWLIodz2uFHdh 1voqZiegDfqnc1zqcPGUIWVEX/r87yloqaKHee957 0+sB3c4 -----END CERTIFICATE-----
PBX Certificate:For Secure Communications The PBX contains a web server with https support, so it needs a certificate like any other web server. The PBX supports TLS and SRTP. User agents must also trust certificate issuer: Many user agents will accept anything Polycom and Counterpath are strict Certificate issuer might have to be put into user agent You must also load the private key with the certificate The certificate discussion goes on in the IETF: Client certificates really would make sense Problem of having several domains on one socket For TLS, certificates must contain DNS names because the TLS is a DNS-based protocol.
SMTP Email Server Setup From Address = snomone.server@gmail.com Account = snomone.server@gmail.com Password = serverpass SMTP server = smtp.gmail.com Enable TLS = Yes Use same settings for all domains = Yes
Daily CDR Report Cumulates the day’s CDRs and sends them out after midnight.
Event Notifications The PBX will send a notification to a list of administrator accounts. Specify the accounts in the Admin email field. Select the events that you want to be notified of.
System Statistics daily Types of Email Notification Events
Types of Email Notification Events Notification Event: Trunk status changes
Types of Email Notification Events Notification Event: When the registration status of an extension changes
Types of Email Notification Events Notification Event: When the system has been restarted.
Types of Email Notification Events Notification Event: When the allocation of a new CO-line failed and a call was rejected because of this.
Types of Email Notification Events Notification Event: Trunk failover events
Types of Email Notification Events Notification Event: When someone dials an emergency number
Types of Email Notification Events Notification Event: Total number of calls on a particular date
Types of Email Notification Events Notification Event: RTP timeout When the PBX disconnects the call because of one-way audio.
Types of Email Notification Events Notification Event: When a registration changes its address but keeps the call-ID
Types of Email Notification Events Notification Event: When the PBX received a BYE message and did not receive media just before the BYE
Types of Email Notification Events Notification Event: When PBX blacklists an IP address
Types of Email Notification Events Contents of Blacklist Email
Types of Email Notification Events Blacklisting the Friendly VoIP Scanner
Lab―Configure an email server on your system See Exercise 24 in your lab book for complete exercise. • Configure the SMTP server • Add a Gmail certificate • Send a test email
Lab―Use the Logfile to Troubleshoot Email Events • Clear the Logfile. • Configure the Logging so that Log email events is the only Specific Event you are logging. • Turn off all SIP Logging. • Click the try link to send yourself a test email. • Check the Logfile again. See Exercise 25 in your lab book for complete exercise.
Lab: Receive an “Event” Notification • Stop and restart the system. • Check your email for the event notification. See Exercise 26 in your lab book for complete exercise.