Voice Mail Error not saving message

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Voice Mail Error not saving message

KB1NYT
Hello

I setup the TclVoiceMail but it is not saving messages. I can login and
create a voice mail but get the following after recording the message.

TclVoiceMail: Sending Notification email to "...."
***ERROR: Unable to handle event: TclVoiceMail::SquelOpen 0 in Logic
Repeater Logic couldn't execute "mutt":no such file or directory)
TclVoiceMail:Aborted Recording

The abort message doesn't pop up after the recording until I try to exit
the TclVoiceMailModule by entering a #. Two wave files are created but
deleted when the abort happens. No email is sent either.

Jay
KB1NYT



------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
Svxlink-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/svxlink-devel
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Voice Mail Error not saving message

David Ranch-3

Looking at src/build/svxlink/modules/tcl_voice_mail/ModuleTclVoiceMail.tcl :
--
        printInfo "Sending notification e-mail to \"$email\"";
        eval set msg \"$mail_msg\";
        #exec mail -s "$mail_subj" $email -- -f $mail_from_addr \
        #       -F "$mail_from_name" << "$msg" &;
        exec mutt -s "$mail_subj" $email \
                -e "set from=\"$mail_from_addr\"" \
                -e "set
--

It seems that Svxlink requires that the Mutt command line email program is required to send you a notification.  You'll either need to install Mutt (and configure it and a MTA like Postfix), change the code to use a different email client like mailx (and install / configure the MTA) , or edit the code and remove that notification stage.

Personally, getting these notifications should be a configurable option in Svxlink

--David
KI6ZHD



------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
Svxlink-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/svxlink-devel
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Voice Mail Error not saving message

Rob Janssen
David Ranch wrote:

Looking at src/build/svxlink/modules/tcl_voice_mail/ModuleTclVoiceMail.tcl :
--
        printInfo "Sending notification e-mail to \"$email\"";
        eval set msg \"$mail_msg\";
        #exec mail -s "$mail_subj" $email -- -f $mail_from_addr \
        #       -F "$mail_from_name" << "$msg" &;
        exec mutt -s "$mail_subj" $email \
                -e "set from=\"$mail_from_addr\"" \
                -e "set
--

It seems that Svxlink requires that the Mutt command line email program is required to send you a notification.  You'll either need to install Mutt (and configure it and a MTA like Postfix), change the code to use a different email client like mailx (and install / configure the MTA) , or edit the code and remove that notification stage.

Personally, getting these notifications should be a configurable option in Svxlink

That is what the above section is: the place to configure this option in Svxlink.
As you can see the option to use "mail" instead of "mutt" is already there, just remove the # signs and punt new ones on the lines below (or remove them).
You can also remove both of them.

Rob


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
Svxlink-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/svxlink-devel
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Voice Mail Error not saving message

David Ranch-3

You're right Rob .. "mail" is a similar program to "mailx".  Totally glazed over that.  Btw, it seems that if this user doesn't want to setup all the email software to get VoiceMail working, he can just omit the email address setup like the second line in the provided example:

   src/svxlink/modules/tcl_voice_mail/TclVoiceMail.conf
   --
   set users(001) "call=SM0AAA pass=123 [hidden email]";
   set users(002) "call=SM0BBB pass=456";
   --


and the code will SKIP the email section of the code (a larger paste from last night):
   --
         if {$email != ""} {
        printInfo "Sending notification e-mail to \"$email\"";
        eval set msg \"$mail_msg\";
        #exec mail -s "$mail_subj" $email -- -f $mail_from_addr \
        #       -F "$mail_from_name" << "$msg" &;
        exec mutt -s "$mail_subj" $email \
                -e "set from=\"$mail_from_addr\"" \
                -e "set realname=\"$mail_from_name\"" \
                << "$msg" &;
      }
   --

--David
KI6ZHD



On 02/17/2017 11:35 PM, Rob Janssen wrote:
David Ranch wrote:

Looking at src/build/svxlink/modules/tcl_voice_mail/ModuleTclVoiceMail.tcl :
--
        printInfo "Sending notification e-mail to \"$email\"";
        eval set msg \"$mail_msg\";
        #exec mail -s "$mail_subj" $email -- -f $mail_from_addr \
        #       -F "$mail_from_name" << "$msg" &;
        exec mutt -s "$mail_subj" $email \
                -e "set from=\"$mail_from_addr\"" \
                -e "set
--

It seems that Svxlink requires that the Mutt command line email program is required to send you a notification.  You'll either need to install Mutt (and configure it and a MTA like Postfix), change the code to use a different email client like mailx (and install / configure the MTA) , or edit the code and remove that notification stage.

Personally, getting these notifications should be a configurable option in Svxlink

That is what the above section is: the place to configure this option in Svxlink.
As you can see the option to use "mail" instead of "mutt" is already there, just remove the # signs and punt new ones on the lines below (or remove them).
You can also remove both of them.

Rob



------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot


_______________________________________________
Svxlink-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/svxlink-devel


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
Svxlink-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/svxlink-devel
Loading...