[Freeswitch-users] mod_voicemail send email --- lost
Sean Devoy
sdevoy at bizfocused.com
Wed Oct 30 20:58:25 UTC 2019
Thanks all. I stumbled in to a working config.
-----Original Message-----
From: FreeSWITCH-users <freeswitch-users-bounces at lists.freeswitch.org> On Behalf Of Sean Devoy
Sent: Wednesday, October 30, 2019 3:31 PM
To: FreeSWITCH Users Help <freeswitch-users at lists.freeswitch.org>
Subject: Re: [Freeswitch-users] mod_voicemail send email --- lost
Thanks, but I included the FS log and mail log below. As I said, as far as I can tell it is being emailed.
-----Original Message-----
From: FreeSWITCH-users <freeswitch-users-bounces at lists.freeswitch.org> On Behalf Of John Covici
Sent: Wednesday, October 30, 2019 2:16 PM
To: FreeSWITCH Users Help <freeswitch-users at lists.freeswitch.org>
Subject: Re: [Freeswitch-users] mod_voicemail send email --- lost
Can you look in your logs to see if the email actually went out?
Also, check the freeswitch log and you should see where sendmail is executed.
On Wed, 30 Oct 2019 12:12:29 -0400,
Sean Devoy wrote:
>
> [1 <multipart/alternative (en-US) (7bit)>]
> [1.1 <text/plain; us-ascii (quoted-printable)>]
> [1.2 <text/html; us-ascii (quoted-printable)>] Can anyone please help
> me with voicemail and sendmail? This looks like it should be so basic, but I am lost.
>
>
>
> Thanks,
>
> Sean
>
>
>
> From: FreeSWITCH-users <freeswitch-users-bounces at lists.freeswitch.org>
> On Behalf Of Sean Devoy
> Sent: Tuesday, October 29, 2019 5:09 PM
> To: FreeSWITCH Users Help <freeswitch-users at lists.freeswitch.org>
> Subject: [Freeswitch-users] mod_voicemail send email --- lost
>
>
>
> Hi,
>
>
>
> I recently upgraded to v 1.10 on Debian 10. My log shows emails being mailed just fine. However, I cannot find them on the recipient end. I have searched all folders and spam.
>
>
>
> Any help would be greatly appreciated.
>
>
>
> I tested with this first:
>
> sendmail -vt < ./mailtest.txt
>
> mailtest.txt is:
>
> To: sdevoy at bizfocused.com
>
> Subject: FreeSwitch sendmail test two
>
> From: freeswitch at bizfocused.com
>
>
>
> And here goes the e-mail body, test test test..
>
>
>
> That works fine. But FreeSwitch emails do not.
>
> Switch.config.xml has:
>
> <param name="mailer-app" value="/usr/sbin/sendmail"/>
>
> <param name="mailer-app-args" value="-t"/>
>
> <param name="dump-cores" value="yes"/>
>
>
>
> The extension params for this extension are:
>
> <param name="vm-mailto" value="sdevoy at bizfocused.com"/>
>
> <param name="vm-mailfrom" value="voicemail at bizfocused.com"/>
>
> <param name="vm-email-all-messages" value="true"/>
>
> <param name="vm-attach-file" value="true" />
>
>
>
> The FS log says:
>
> 2019-10-29 20:41:28.276313 [DEBUG] mod_voicemail.c:2832 Deliver VM to
> 220 at voicemail_BFIS
>
> 2019-10-29 20:41:28.276313 [DEBUG] mod_voicemail.c:1925 Update MWI:
> Processing for 220 at voicemail_BFIS in inbox
>
> 2019-10-29 20:41:28.276313 [DEBUG] mod_voicemail.c:1950 Update MWI:
> Messages Waiting yes
>
> 2019-10-29 20:41:28.276313 [DEBUG] mod_voicemail.c:1951 Update MWI:
> Update Reason NEW
>
> 2019-10-29 20:41:28.276313 [DEBUG] mod_voicemail.c:1952 Update MWI:
> Message Account 220 at voicemail_BFIS
>
> 2019-10-29 20:41:28.276313 [DEBUG] mod_voicemail.c:1953 Update MWI:
> Voice Message 1/0
>
> 2019-10-29 20:41:28.876348 [DEBUG] switch_utils.c:1298 Emailed file
> [/tmp/mail.157238168887fe] to [sdevoy at bizfocused.com]
>
> 2019-10-29 20:41:28.876348 [DEBUG] mod_voicemail.c:3042 Sending
> message to sdevoy at bizfocused.com
>
> 0735ca19-76d1-460e-9571-ef499f962cd1 2019-10-29 20:41:28.876348
> [DEBUG] switch_core_session.c:2905
> sofia/internal/14108084699 at 64.136.173.31 skip receive message
> [APPLICATION_EXEC_COMPLETE] (channel is hungup already)
>
> 0735ca19-76d1-460e-9571-ef499f962cd1 2019-10-29 20:41:28.876348
> [DEBUG] switch_core_state_machine.c:651
> (sofia/internal/14108084699 at 64.136.173.31) State EXECUTE going to
> sleep
>
> 0735ca19-76d1-460e-9571-ef499f962cd1 2019-10-29 20:41:28.876348
> [DEBUG] switch_core_state_machine.c:585
> (sofia/internal/14108084699 at 64.136.173.31) Running State Change
> CS_HANGUP (Cur 2 Tot 327)
>
> 0735ca19-76d1-460e-9571-ef499f962cd1 2019-10-29 20:41:28.876348
> [DEBUG] switch_core_state_machine.c:848
> (sofia/internal/14108084699 at 64.136.173.31) Callstate Change ACTIVE ->
> HANGUP
>
> 0735ca19-76d1-460e-9571-ef499f962cd1 2019-10-29 20:41:28.876348
> [DEBUG] switch_core_state_machine.c:850
> (sofia/internal/14108084699 at 64.136.173.31) State HANGUP
>
>
>
> Mail.log for this time period:
>
> Oct 29 20:46:46 fs-bfis2 sendmail[15253]: x9TKkkOP015253: from=root,
> size=153, class=0, nrcpts=1,
> msgid=<201910292046.x9TKkkOP015253 at fs-bfis2.bizfocused.com>,
> relay=root at localhost
>
> Oct 29 20:46:46 fs-bfis2 sm-mta[15261]: x9TKkkDb015261:
> from=<root at fs-bfis2.bizfocused.com>, size=389, class=0, nrcpts=1,
> msgid=<201910292046.x9TKkkOP015253 at fs-bfis2.bizfocused.com>,
> proto=ESMTP, daemon=MTA-v4, relay=localhost [127.0.0.1]
>
> Oct 29 20:46:46 fs-bfis2 sm-mta[15261]: STARTTLS=client,
> relay=bizfocused-com.mail.protection.outlook.com., version=TLSv1.2,
> verify=FAIL, cipher=ECDHE-RSA-AES256-SHA384, bits=256/256
>
> Oct 29 20:46:48 fs-bfis2 sm-mta[15261]: x9TKkkDb015261: to=<sdevoy at bizfocused.com>, ctladdr=<root at fs-bfis2.bizfocused.com> (0/0), delay=00:00:02, xdelay=00:00:02, mailer=esmtp, pri=30389, relay=bizfocused-com.mai...ction.outlook.com.
> [104.47.37.36], dsn=2.0.0, stat=Sent
> (<201910292046.x9TKkkOP015253 at fs-bfis2.bizfocused.com>
> [InternalId=15448997367314,
> Hostname=BN6PR01MB2611.prod.exchangelabs.com] 8530 bytes in 0.197,
> 42.133 KB/sec Queued mail for delivery)
>
> Oct 29 20:46:48 fs-bfis2 sendmail[15253]: x9TKkkOP015253:
> to=sdevoy at bizfocused.com, ctladdr=root (0/0), delay=00:00:02,
> xdelay=00:00:02, mailer=relay, pri=30153, relay=[127.0.0.1]
> [127.0.0.1], dsn=2.0.0, stat=Sent (x9TKkkDb015261 Message accepted for
> delivery)
>
> Oct 29 20:47:31 fs-bfis2 sendmail[15317]: x9TKlVic015317: from=root,
> size=153, class=0, nrcpts=1,
> msgid=<201910292047.x9TKlVic015317 at fs-bfis2.bizfocused.com>,
> relay=root at localhost
>
> Oct 29 20:47:31 fs-bfis2 sm-mta[15320]: x9TKlVxv015320:
> from=<root at fs-bfis2.bizfocused.com>, size=389, class=0, nrcpts=1,
> msgid=<201910292047.x9TKlVic015317 at fs-bfis2.bizfocused.com>,
> proto=ESMTP, daemon=MTA-v4, relay=localhost [127.0.0.1]
>
> Oct 29 20:47:31 fs-bfis2 sm-mta[15320]: STARTTLS=client,
> relay=bizfocused-com.mail.protection.outlook.com., version=TLSv1.2,
> verify=FAIL, cipher=ECDHE-RSA-AES256-SHA384, bits=256/256
>
> Oct 29 20:47:32 fs-bfis2 sm-mta[15320]: x9TKlVxv015320: to=<sdevoy at bizfocused.com>, ctladdr=<root at fs-bfis2.bizfocused.com> (0/0), delay=00:00:01, xdelay=00:00:01, mailer=esmtp, pri=30389, relay=bizfocused-com.mai...ction.outlook.com.
> [104.47.38.36], dsn=2.0.0, stat=Sent
> (<201910292047.x9TKlVic015317 at fs-bfis2.bizfocused.com>
> [InternalId=14349485741504,
> Hostname=MWHPR01MB2414.prod.exchangelabs.com] 8583 bytes in 0.193,
> 43.379 KB/sec Queued mail for delivery)
>
> Oct 29 20:47:32 fs-bfis2 sendmail[15317]: x9TKlVic015317:
> to=sdevoy at bizfocused.com, ctladdr=root (0/0), delay=00:00:01,
> xdelay=00:00:01, mailer=relay, pri=30153, relay=[127.0.0.1]
> [127.0.0.1], dsn=2.0.0, stat=Sent (x9TKlVxv015320 Message accepted for
> delivery)
>
> Oct 29 20:48:08 fs-bfis2 sendmail[15323]:
> gethostbyaddr(165.227.222.107) failed: 1
>
> Oct 29 20:48:08 fs-bfis2 sendmail[15323]: gethostbyaddr(10.17.0.8)
> failed: 1
>
>
>
>
>
> Mail.warn:
>
> Oct 29 20:48:08 fs-bfis2 sendmail[15323]:
> gethostbyaddr(165.227.222.107) failed: 1
>
> Oct 29 20:48:08 fs-bfis2 sendmail[15323]: gethostbyaddr(10.17.0.8)
> failed: 1
>
>
>
> Any ideas?
>
> Thanks,
>
> Sean
> [2 <text/plain; utf-8 (base64)>]
> ______________________________________________________________________
> ___
>
> The FreeSWITCH project is sponsored by SignalWire
> https://signalwire.com Enhance your FreeSWITCH install with disruptive priced SMS and PSTN services.
> Build your next product on our scalable cloud platform.
>
> Join our online community to chat in real time
> https://signalwire.community
>
> Professional FreeSWITCH Services
> sales at freeswitch.com
> https://freeswitch.com
>
> Official FreeSWITCH Sites
> https://freeswitch.com/oss
> https://freeswitch.org/confluence
> https://cluecon.com
>
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-use
> rs
> https://freeswitch.com
--
Your life is like a penny. You're going to lose it. The question is:
How do
you spend it?
John Covici wb2una
covici at ccs.covici.com
_________________________________________________________________________
The FreeSWITCH project is sponsored by SignalWire https://signalwire.com Enhance your FreeSWITCH install with disruptive priced SMS and PSTN services.
Build your next product on our scalable cloud platform.
Join our online community to chat in real time https://signalwire.community
Professional FreeSWITCH Services
sales at freeswitch.com
https://freeswitch.com
Official FreeSWITCH Sites
https://freeswitch.com/oss
https://freeswitch.org/confluence
https://cluecon.com
FreeSWITCH-users mailing list
FreeSWITCH-users at lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
https://freeswitch.com
_________________________________________________________________________
The FreeSWITCH project is sponsored by SignalWire https://signalwire.com Enhance your FreeSWITCH install with disruptive priced SMS and PSTN services.
Build your next product on our scalable cloud platform.
Join our online community to chat in real time https://signalwire.community
Professional FreeSWITCH Services
sales at freeswitch.com
https://freeswitch.com
Official FreeSWITCH Sites
https://freeswitch.com/oss
https://freeswitch.org/confluence
https://cluecon.com
FreeSWITCH-users mailing list
FreeSWITCH-users at lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
https://freeswitch.com
More information about the FreeSWITCH-users
mailing list