VoIP Mailing List Archives
Mailing list archives for the VoIP community |
|
View previous topic :: View next topic |
Author |
Message |
seandarcy2 at gmail.com Guest
|
Posted: Tue Jun 16, 2015 10:35 am Post subject: [asterisk-users] howto copy a voicemail message to another m |
|
|
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.
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 ?
sean
--
_____________________________________________________________________
-- 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 |
|
Back to top |
|
|
darcy at Vex.Net Guest
|
Posted: Tue Jun 16, 2015 10:52 am Post subject: [asterisk-users] howto copy a voicemail message to another m |
|
|
On Tue, 16 Jun 2015 11:35:26 -0400
sean darcy <seandarcy2@gmail.com> wrote:
Quote: | 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.
|
Really? That was one of the first things I did when I learned
Asterisk. It was dead simple. Rather than creating some sort of Rube
Goldberg machine to send email why don't you explain what you tried and
where you ran into problems?
In case it helps, here are my general settings in voicemail.conf:
[general]
attach=yes
maxsilence=10
serveremail=NULL@Vex.Net
format=wav49
fromstring=Vex.Net Voice Mail
nextaftercmd=yes
forcename=yes
pollmailboxes=yes
pollfreq=5
And for each extension I have this (sanitized):
1000 => 1234,D'Arcy,darcy@example.com
That's the extension, PIN, name and email address.
--
D'Arcy J.M. Cain
System Administrator, Vex.Net
http://www.Vex.Net/ IM:darcy@Vex.Net
VoIP: sip:darcy@Vex.Net
--
_____________________________________________________________________
-- 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 |
|
Back to top |
|
|
asterisk at voipbusine... Guest
|
Posted: Tue Jun 16, 2015 10:52 am Post subject: [asterisk-users] howto copy a voicemail message to another m |
|
|
Check out the "externnotify" parameter in voicemail.conf. What it does
is run an external program whenever a caller leaves a voicemail message for
a user. The way it works is basically any time that somebody leaves a
voicemail on the system (regardless of mailbox number), the command
specified for externnotify is run with the arguments (in this order):
context, extension, new voicemails, old voicemails and urgent voicemails.
These arguments are passed to the program that you set in the externnotify
parameter.
Regards;
John
-----Original Message-----
From: asterisk-users-bounces@lists.digium.com
[mailto:asterisk-users-bounces@lists.digium.com] On Behalf Of sean darcy
Sent: Tuesday, June 16, 2015 11:35 AM
To: asterisk-users@lists.digium.com
Subject: [asterisk-users] howto copy a voicemail message to another machine
?
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.
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 ?
sean
--
_____________________________________________________________________
-- 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
--
_____________________________________________________________________
-- 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 |
|
Back to top |
|
|
tzafrir.cohen at xorco... Guest
|
Posted: Tue Jun 16, 2015 11:17 am Post subject: [asterisk-users] howto copy a voicemail message to another m |
|
|
On Tue, Jun 16, 2015 at 11:35:26AM -0400, sean darcy wrote:
Quote: | 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.
Quote: |
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@xorcom.com
+972-50-7952406 mailto:tzafrir.cohen@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 |
|
Back to top |
|
|
seandarcy2 at gmail.com Guest
|
Posted: Tue Jun 16, 2015 1:38 pm Post subject: [asterisk-users] howto copy a voicemail message to another m |
|
|
On 06/16/2015 11:52 AM, D'Arcy J.M. Cain wrote:
Quote: | On Tue, 16 Jun 2015 11:35:26 -0400
sean darcy <seandarcy2@gmail.com> wrote:
Quote: | 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.
|
Really? That was one of the first things I did when I learned
Asterisk. It was dead simple. Rather than creating some sort of Rube
Goldberg machine to send email why don't you explain what you tried and
where you ran into problems?
In case it helps, here are my general settings in voicemail.conf:
[general]
attach=yes
maxsilence=10
serveremail=NULL@Vex.Net
format=wav49
fromstring=Vex.Net Voice Mail
nextaftercmd=yes
forcename=yes
pollmailboxes=yes
pollfreq=5
And for each extension I have this (sanitized):
1000 => 1234,D'Arcy,darcy@example.com
That's the extension, PIN, name and email address.
| There's no problem setting up vm on *. I can't use email off the
instance, since the assigned ip address doesn't have a PTR.
It looks too much like spam. The mail relays drop it.
sean
--
_____________________________________________________________________
-- 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 |
|
Back to top |
|
|
asterisk.org at sedwar... Guest
|
Posted: Tue Jun 16, 2015 1:53 pm Post subject: [asterisk-users] howto copy a voicemail message to another m |
|
|
On Tue, 16 Jun 2015, sean darcy wrote:
Quote: | There's no problem setting up vm on *. I can't use email off the instance,
since the assigned ip address doesn't have a PTR.
It looks too much like spam. The mail relays drop it.
|
Would configuring your own (or your ISP's) smarthost help?
--
Thanks in advance,
-------------------------------------------------------------------------
Steve Edwards sedwards@sedwards.com Voice: +1-760-468-3867 PST
Newline Fax: +1-760-731-3000
--
_____________________________________________________________________
-- 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 |
|
Back to top |
|
|
cursor at telecomabmex... Guest
|
Posted: Wed Jun 17, 2015 12:10 am Post subject: [asterisk-users] howto copy a voicemail message to another m |
|
|
On 2015-06-16 13:53, Steve Edwards wrote:
Quote: | On Tue, 16 Jun 2015, sean darcy wrote:
Quote: | There's no problem setting up vm on *. I can't use email off the
instance, since the assigned ip address doesn't have a PTR.
It looks too much like spam. The mail relays drop it.
|
Would configuring your own (or your ISP's) smarthost help?
| This is a very common problem that is usually solved by configuring your
asterisk server to send all mail through a valid email server (known as
smarthost in postfix or sendmail). You can even configure your server
with valid credentials to log in in case they are needed. Just google
"smarthost (your mail daemon)" and you will get plenty of help. This is
much easier than trying to run external scripts to copy the voicemail.
Of course if you want to do it the hard way you can always configure
voicemail to use a database backend and then simply sync the database to
another server.
--
Telecomunicaciones Abiertas de México S.A. de C.V.
Carlos Chávez
dCAP #1349
+52 (55)9116-91161
--
_____________________________________________________________________
-- 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 |
|
Back to top |
|
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|