Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Voicemail to email on embedded (9.0) 1

Status
Not open for further replies.

Shermanchicken

Technical User
Aug 23, 2004
147
US
I am having issues getting the emails to show up. The are using Microsoft cloud for hosting their email. SMTP settings are correct with the server address that I can ping and a email account has been created with authorization. The emails are not showing up and I am getting this when I check the Monitor:

09:44:26 141291798mS PRN: LVMail_SendIVRStatus no valid extn from mailbox #Abby
09:44:27 141292982mS LVM(email): VM Email request added to queue - size = 11
09:44:28 141293404mS RES: Wed 30/4/2014 09:44:28 FreeMem=55456708 54881172(3) CachedMem=575536 CMMsg=7(8) Buff=5200 1319 1000 7463 5 Links=29053 BTree=14706 CPU=04.36% CPUStats=3/6/5243/18185/20218/0/1 MCR=0 MCW=0
09:44:28 141293404mS RES2: IP 500 V2 9.0.0.0 build 829 Tasks=50 RTEngine=0 CMRTEngine=0 ExRTEngine=0 Timer=53 Poll=0 Ready=0 CMReady=0 CMQueue=0 VPNNQueue=0 Monitor=2 SSA=0 TCP=18(TLS=4) TAPI=0 ASC=1 SYS=MNTD OPT=UMNT SDSPD=2034
09:44:28 141293405mS RES4: XML MemObjs=56 PoolMem=2097152(1) FreeMem=2081932(1)

Any ideas?

Thank you
 
It probably requires encryption and embedded doesn't do that (stupidly) :)

 
yes there is a work around as I had to recently do this for an install, go to stunnel.org and research, they are able to do the encryption for IP Office. I will look through my docs for the install notes and will try to post them here.

acss sme acis sme acss cm 5.2.1 acss cm and cmm acss aura messaging.
 
SMTP relay software on a PC/server on site configured to add the encryption :)

 
As amriddle01 stated; this software will need to be installed on a pc on site, this does work on other email services as well. hope this helps

All that was required was a bit of software called Stunnel and a few extra minutes to configure. The software basically accepts an email from the IP Office and adds SSL to it before allowing the connection to the Gmail server . The software is freely available from:

In the IP Office, set the SMTP server to be the IP address of the PC running Stunnel, and set the port to something free. (I used 8111) Set the send from address as the gmail account you wish to send from. Tick Server Req's Auth and enter the Gmail account login and password.

Configure your user email settings as required and install Stunnel on the PC with the IP address as defined earlier.

When installing the software, a command prompt will ask for some location details - I just entered localhost for the server name and junk data for location information.

Once its installed, you will need to run it and right click its icon in the system tray. Then click on edit stunnel.conf.

Find the section titled [gmail-smtp] and delete the semicolons (;) from the start of each line. Then change the port number at the end of the loopback address to whatever you set as the smtp port in the IP Office.

Should look like:

[gmail-smtp]
client = yes
accept = 127.0.0.1:8111
connect = smtp.gmail.com:465

Save the file and then click back on the icon like earlier and this time select reload stunnel.conf

Now just test by leaving a voicemail for a user. I watched the email leave the system using monitor and also watched the log window for Stunnel which can be access by clicking on the icon.

Hopefully this is helpful for some of you. Let me know if you have any problems and

acss sme acis sme acss cm 5.2.1 acss cm and cmm acss aura messaging.
 
Thanks for the information. I will try it and let you know how it turns out.
 
smokinjoe2938

I installed stunnel and nothing showed up in the log window when I left a message. Here is the settings I installed and what it said in monitor:


[pop3s]
;accept = 995
;connect = 110

;[imaps]
;accept = 993
;connect = 143

[ssmtp]
accept = 465
connect = 8111

; Example SSL front-end to a web server
;[https]
;accept = 443
;connect = 80
; "TIMEOUTclose = 0" is a workaround for a design flaw in Microsoft SSL
; Microsoft implementations do not use SSL close-notify alert and thus
; they are vulnerable to truncation attacks
;TIMEOUTclose = 0

; ***************************************** Example SSL client mode services

[gmail-smtp]
client = yes
accept = 127.0.0.1:8111
connect = smtp.gmail.com:465

[gmail-imap]
client = yes
accept = 127.0.0.1:143
connect = imap.gmail.com:993

[gmail-smtp]
client = yes
accept = 127.0.0.1:8111
connect = smtp.gmail.com:465

; Proxy authenticated with client certificate from Windows certificate store
;[example-proxy]
;client = yes
;engineID = capi
;accept = 127.0.0.1:8080
;connect = example.com:8443

; vim:ft=dosini



11:26:47 611097mS PRN: LVMail_SendIVRStatus no valid extn from mailbox #Abby
11:26:49 612025mS LVM(email): VM Email request added to queue - size = 1
 
I had a very hard time myself getting it to work so something is not configured correctly on the stunnel config on the pc, reread the instructions and see if it needs tweaking.

acss sme acis sme acss cm 5.2.1 acss cm and cmm acss aura messaging.
 
You can't follow those instructions verbatim, as you aren't using Gmail :)

 
Exactly and I believe you need to use port 25

acss sme acis sme acss cm 5.2.1 acss cm and cmm acss aura messaging.
 
Just a couple of things to check; on SMTP Server config server address is the address of the pc that stunnel was installed on, email from address needs to be defined with an valid email address, with port 25, server does require authentication, then populate the email user name @email address .com (this does not need to be an gmail account. Good luck

acss sme acis sme acss cm 5.2.1 acss cm and cmm acss aura messaging.
 
I changed some settings on stunnel and when I left a voicemail this appeared in the log:
( the IP address is the phone systems address)

2014.04.30 12:22:28 LOG5[336]: Service [ssmtp] accepted connection from 192.168.1.164:4097
2014.04.30 12:27:28 LOG5[336]: Connection reset: 0 byte(s) sent to SSL, 0 byte(s) sent to socket
 
the cheapest way to implement your own SMTP relay ( including hardware) would be with a RasperryPI & configure sendmail or postfix as req.

approx. £40 for the board case PSU, SD Card & all software :)

A Maintenance contract is essential, not a Luxury.
Do things on the cheap & it will cost you dear
 
I tried stunnel but still couldn't get it to work. Now using the service provider as the smtp server. I have verified username and password but I get this error in monitor:

10:31:28 111317mS ERR: SMTP error: " Incorrect authentication data

I have checked and re-checked. What else could I be missing?
 
See Amriddle's first response.... They are probably looking for encryption and the IPO doesn't do that.
 
If you can grit your teeth and wait a few weeks, then the 9.0.3 release we've been trialling does include support for encryption on SMTP email.

Stuck in a never ending cycle of file copying.
 
ping relay.appriver.com
use the static IP it returns.
Set your port to 2525
Set the outbound email aeddress to your choice
works 100% of the time!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top