Hi folks,
my IncrediblePBX is running fantastic, but now there is a problem I can't fix so far.
I changed my iPBX-D 2027 to send mails via msmtp and my mail accout.
My mail.rc is configured like this:
That works perfekt on the bash.
My voicemail.conf has the entry
All voicemails are stored in the iPBX, I can access them via phone but no email is send.
The output of asterisks after talking to the voicemail is telling me this:
Can you help me to understand what is happening and/or how to fix?
Thanks!
Edit:
In addition: my extensions_additional.conf is untouched...
my IncrediblePBX is running fantastic, but now there is a problem I can't fix so far.
I changed my iPBX-D 2027 to send mails via msmtp and my mail accout.
My mail.rc is configured like this:
Bash:
set mta=/usr/bin/msmtp
set sendmail="usr/bin/msmtp"
That works perfekt on the bash.
My voicemail.conf has the entry
Code:
mailcmd=/usr/local/sbin/sendmailmp3
All voicemails are stored in the iPBX, I can access them via phone but no email is send.
The output of asterisks after talking to the voicemail is telling me this:
Code:
-- <PJSIP/provider> Playing 'beep.g722' (language 'de_DE')
-- Recording the message
-- x=0, open writing: /var/spool/asterisk/voicemail/default/100/tmp/bxYuQz format: wav, 0x7f7d5c01a990
-- x=1, open writing: /var/spool/asterisk/voicemail/default/100/tmp/bxYuQz format: wav49, 0x7f7d5c00e560
-- User hung up
== Spawn extension (macro-vm, s-NOMESSAGE, 3) exited non-zero on 'PJSIP/provider' in macro 'vm'
== Spawn extension (ext-local, vms100, 1) exited non-zero on 'PJSIP/provider'
-- Executing [h@ext-local:1] Macro("PJSIP/provider", "hangupcall,") in new stack
-- Executing [s@macro-hangupcall:1] GotoIf("PJSIP/provider", "1?theend") in new stack
-- Goto (macro-hangupcall,s,3)
-- Executing [s@macro-hangupcall:3] ExecIf("PJSIP/provider", "0?Set(CDR(recordingfile)=)") in new stack
-- Executing [s@macro-hangupcall:4] Hangup("PJSIP/provider", "") in new stack
== Spawn extension (macro-hangupcall, s, 4) exited non-zero on 'PJSIP/provider' in macro 'hangupcall'
== Spawn extension (ext-local, h, 1) exited non-zero on 'PJSIP/provider'
Can you help me to understand what is happening and/or how to fix?
Thanks!
Edit:
In addition: my extensions_additional.conf is untouched...
Code:
[macro-hangupcall]
include => macro-hangupcall-custom
exten => s,1(start),GotoIf($["${USE_CONFIRMATION}"="" | "${RINGGROUP_INDEX}"="" | "${CHANNEL}"!="${UNIQCHAN}"]?theend)
exten => s,n(delrgi),Noop(Deleting: RG/${RINGGROUP_INDEX}/${CHANNEL} ${DB_DELETE(RG/${RINGGROUP_INDEX}/${CHANNEL})})
exten => s,n(theend),ExecIf($["${ONETOUCH_RECFILE}"!="" & "${CDR(recordingfile)}"=""]?Set(CDR(recordingfile)=${ONETOUCH_RECFILE}))
exten => s,n(hangup),Hangup
exten => s,n,MacroExit()
;--== end of [macro-hangupcall] ==--;
Last edited: