Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
New Member

UC500 email notification to GMail

This seems to be a popular topic without many resolutions, so I am posting with some additional config details and concerns re: software versions.  Any input would be appreciated.

Using UC520 with 8.2.0 software, am looking to use email notification to GMail and / or Google Apps for business.

According to the CUE release notes, support for authentication against Gmail, Yahoo, etc. SMTP servers is supported in 8.6:
http://www.cisco.com/en/US/docs/voice_ip_comm/unity_exp/rel8_6/rel_notes/rel_notes86.html#wp364157

Unfortunately, the CUE version in the 8.2.0 software appears to be Cisco Unity Express version (8.0.6).

With that I am attempting is basically message delivery to smtp.gmail.com using port 465.

I am using my personal valid GMail email address as the reply to and authenticating address. 

There is a domain name in the IOS config but there is no DNS / reverse DNS pointing to the UC500 WAN address.

Notification is enabled and the schedule is 24 hours. 

The WAN port is connected directly to a cable modem with a pubilc address, and the firewall setting is "low" via the CCA GUI.

The log of the message delivery attempt is:


[0;1mse-10-1-10-1#  [0m [0K
[0;1mse-10-1-10-1 1# #    [0mn [0K
[0mse-10-1-10-1 1# #   no trace all [0K

[0;1mse-10-1-10-1#  [0m [0K
[0mse-10-1-10-1 1# #   clear trace [0K

[0;1mse-10-1-10-1#  [0m [0K
[0mse-10-1-10-1 1# #   trace voicemail msgnotif all [0K

[0;1mse-10-1-10-1#  [0m [0K
[0mse-10-1-10-1 1# #   trace configapi smtp debug [0K

[0;1mse-10-1-10-1#  [0m [0K
[0mse-10-1-10-1 1# #   trace entitymanager NotifDevice all [0K

[0;1mse-10-1-10-1#  [0m [0K
[0mse-10-1-10-1 1# #   trace smtp all [0K

[0;1mse-10-1-10-1#  [0m [0K
[0;1mse-10-1-10-1 1# #    [0msho trace buf [0K [4hfer tail
[0m [4lse-10-1-10-1 1# #   sho trace buffer tail [0K

Press <CTRL-C> to exit...
3544 12/01 07:58:17.933 VMSS mnot 0 MessageNotification: Enter insertIntoMsgNotifQueue(): msg recipient: UOnenotif target: UOne
3544 12/01 07:58:17.996 capi smtp 0 SmtpServer: getSysdb(): Attribute: address
2318 12/01 07:58:17.997 capi smtp 0 SmtpSysdbNode: get(): address
3544 12/01 07:58:17.997 VMSS mnot 0 MessageNotification: query: INSERT INTO outcall_email_job VALUES ('UOne', 108, 1322744297935, 12, 0, 'UOne');
3544 12/01 07:58:18.030 VMSS mnot 0 MessageNotification: Notifying sender threads
3544 12/01 07:58:18.030 VMSS mnot 0 MessageNotification: Exit insertIntoMsgNotifQueue(): notifyEmailThread=true, notifyPhoneThread=false
3021 12/01 07:58:18.147 VMSS mnot 0 EmailSender: Processing job: 1
3021 12/01 07:58:18.166 VMSS mnot 0 EmailSender: Got a job: [owner_id=UOne, contact=ray.maslanka@gmail.com, extra_text=null, nextSendTime=1322744297935, device_type=32, device_id=108, retryCount=0, targetId=UOne, attach_vm=true, isUrgent=false, isPrivate=false, ndrreason=0, uid=12, messagetype=1, preferenceA, sender=203, callerName=User Three
3021 12/01 07:58:18.171 VMSS mnot 0 EmailSender: sendEmailNotification: checkSendPreConditions passed
3021 12/01 07:58:18.171 capi smtp 0 SmtpServer: getSysdb(): Attribute: address
2297 12/01 07:58:18.172 capi smtp 0 SmtpSysdbNode: get(): address
3021 12/01 07:58:18.173 capi smtp 0 SmtpServer: getSysdb(): Attribute: port
2318 12/01 07:58:18.174 capi smtp 0 SmtpSysdbNode: get(): port
3021 12/01 07:58:18.175 capi smtp 0 SmtpServer: getSysdb(): Attribute: userid
2322 12/01 07:58:18.176 capi smtp 0 SmtpSysdbNode: get(): userid
3021 12/01 07:58:18.176 capi smtp 0 SmtpServer: getSysdb(): Attribute: password
2307 12/01 07:58:18.177 capi smtp 0 SmtpSysdbNode: get(): password
3021 12/01 07:58:18.178 capi smtp 0 SmtpServer: getSysdb(): Attribute: authRequired
2297 12/01 07:58:18.179 capi smtp 0 SmtpSysdbNode: get(): authRequired
3021 12/01 07:58:18.185 VMSS mnot 0 EmailSender: Begin processing email job, UID=12
3021 12/01 07:58:18.221 VMSS mnot 0 EmailSender: Attachment body part added, UID=12
3021 12/01 08:00:18.480 VMSS mnot 0 EmailSender: Error sending email, UID= 12 :javax.mail.SendFailedException: Sending failed;
  nested exception is:
class javax.mail.MessagingException: Exception reading response;
  nested exception is:
java.net.SocketTimeoutException: Read timed out
3021 12/01 08:00:18.480 VMSS mnot 0 EmailSender: Send email rc=2
3021 12/01 08:00:18.480 VMSS mnot 0 EmailSender: Deleting email job: Device ID=108, UID=12
3021 12/01 08:00:18.512 VMSS mnot 0 EmailSender: calculateWaitTime(): current time: 1322744418509, job time: 0
3021 12/01 08:00:18.512 VMSS mnot 0 EmailSender: Wait time=0

[0;1mse-10-1-10-1#  [0m [0K
[0mse-10-1-10-1 1# #    [0K

Can anyone confirm they are successfully delivering voicemail to smtp.gmail.com with the current UC500 8.2.0 software?


Can anyone comment on the "Exception reading response" error?

1 ACCEPTED SOLUTION

Accepted Solutions
New Member

UC500 email notification to GMail

Hello Ray,

You are correct.  The current version of CUE (8.0.6) does not support SMTP over TLS/SSL.  The projected release of the next software pack is in mid January.  And I believe it will include CUE 8.6, but I have not confirmed that.  That is the version stated on the roadmap.

Thank you,

Darren

6 REPLIES
New Member

UC500 email notification to GMail

How to enable the voicemail notification:

First, look if the imap server is enable:

In the CLI, enter the CUE:

service integrated-Service-Engine 0/0 session

put the username and password, by default is cisco and cisco

se-10-1-10-1(config)# service imap

se-10-1-10-1(config-imap)# enable

Enter in the CCA

CCA>Configure>Users and Extensions>Voicemail>Setup

Enable notification via email

In the outogoing reply for example:

voicemail@uc520.com

SMTP server: 192.168.10.16 This is the ip address of my smtp server (laptop), I have had to install a free smtp server on my laptop to make the prove

SMTP server port 25

CCA>Configure>Users and Extensions>Voicemail>Notifications

Add the address of the mail to the extension, priority, attach message...

Here you can see thath it works, I received this mail with the archive attached

Message Notification
Recibidos

x

Cisco Unity Express voicemail@uc520.com

13:33 (Hace 0 minutos)


para usuario

Message Type: Normal
Message for: pjuarez
Message from: Prueba Prueba (210)
Message received time: 1:33 PM, Tue, 20 Dec 2011 CET
VM_2011.12.20_13.33.33.wavVM_2011.12.20_13.33.33.wav
35 kb   Descargar  

If you want to receive in outlook you can configure a new account with this parameters:

new account> manual configuration

userid@10.1.10.1 for example pjuarez@10.1.10.1

smtp server outgoing/incoming 10.1.10.1

userid: pjuarez

password: 123456

The user id and password of the extension, that which you use when you enter in the 10.1.10.1 via internet explorer/mozilla

Actually I have UC520-8.2.0 installed and it works properly.

New Member

UC500 email notification to GMail

Thanks for the feedback Pablo.

My question was not intended to be "how to set up message delivery to email" though, but rather specifically, "how to use GMail's SMTP servers and SMTP over SSL or TLS".

Using a different SMTP server (in my case the carrier's SMTP relay on port 25) works fine, but the client uses Google Apps for Business and was interested in using the SMTP servers available through that service.  I don't believe the current UC5XX CUE code supports SMTP over TLS / SSL to Google (or Yahoo, Hotmail, etc.) servers at this time.

I suspect you may be using a local SMTP server for that same reason.  The GMail accounts and CUE message delivery configuration are not an issue. The issue is with using SSL / TLS with the SMTP servers.

Thanks again.

New Member

UC500 email notification to GMail

Hello Ray,

You are correct.  The current version of CUE (8.0.6) does not support SMTP over TLS/SSL.  The projected release of the next software pack is in mid January.  And I believe it will include CUE 8.6, but I have not confirmed that.  That is the version stated on the roadmap.

Thank you,

Darren

New Member

UC500 email notification to GMail

It turns out there's an easy solution to this assuming you're using a Google Apps domain email account-- Google provides a port 25 SMTP server aspmx.l.google.com but they also require that you update the SPF record for the domain to include the WAN address of the UC500.  

http://www.google.com/support/a/bin/answer.py?hl=en&answer=176600

"If your device does not support SSL, connect to aspmx.l.google.com on port 25.

To ensure that recipients do not reject mail sent fom your device, we recommend adding the IP address of the device to the SPF record for your domain.  For example, if your sending device sends from 123.45.67.89, add that address to your SPF record without removing the Google Apps mail servers from the record:

v=spf1 ip4:123.45.67.89 include:_spf.google.com ~all"

This may even work using a regular gmail account, try it.

Hensell Harris

New Member

UC500 email notification to GMail

Bad news-- this only works for recipients who are Gmail accounts or Google email hosted domains (Google Apps).  If you send to a non-Google email account, it will error out with unknown user.

Hall of Fame Super Gold

UC500 email notification to GMail

There are great email services that would allow you to mail anyone. Their basic free level is pretty good to. I perosnally use fastmail.fm and works great for a lot of uses.

3745
Views
0
Helpful
6
Replies
CreatePlease to create content