[asterisk-users] howto copy a voicemail message to another machine ?
Tzafrir Cohen
tzafrir.cohen at xorcom.com
Tue Jun 16 11:17:23 CDT 2015
On Tue, Jun 16, 2015 at 11:35:26AM -0400, sean darcy wrote:
> My asterisk server is in the cloud. Figuring out how to send an
> email is too much brain damage. So i can't use the email feature
> that's built into voicemail.
Why? If you can ssh between them, you should also be able to route mail
between them. Be that using a custom sendmail command which uses ssh in
it.
>
> What I want to do is execute a remote command with the voicemail as
> an argument. The remote machine command would email the message.
>
> I'm thinking of:
>
> same =>n,VoiceMail(vm,u)
> same =>n,System(ssh myserver "emailVM '_THE_VOICEMAIL_MESSAGE_'")
>
> What variables can I use for _THE_VOICEMAIL_MESSAGE_
>
> Or is this better done with externcmd in voicemail.conf ?:
>
> externcmd => ssh myserver "emailVM '_THE_VOICEMAIL_MESSAGE_'"
>
> But same question. And can externcmd take arguments ?
rsync the whole mailbox. Should be quick enough.
--
Tzafrir Cohen
icq#16849755 jabber:tzafrir.cohen at xorcom.com
+972-50-7952406 mailto:tzafrir.cohen at xorcom.com
http://www.xorcom.com
More information about the asterisk-users
mailing list