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.co...@xorcom.com
+972-50-7952406           mailto:tzafrir.co...@xorcom.com
http://www.xorcom.com

-- 
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
               http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to