Right,

I understand that.  But if you look at it from another paradigm, you have 2
choices.

1) You can email it to your own back end program that can do whatever it
wants with the email.
     The email *is* an event with the message attached and as a bonus you
have guaranteed delivery.

2) You can short circuit the email program in the core by setting the mailer
settings to some program
     that is not actually an email program but a program that inhales the
email file and again does whatever
     it wants with the message.  (see figure 1)
     The FreeSWITCH eventing system would have to inhale the entire thing
into
     memory to deliver it and the end result would look identical to, well,
an email.

3) In either case the email template can contain anything you choose
including any channel variables
     and several other special voicemail specific values as can be seen in
the default template.
     There is nothing stopping you from formatting the email body to contain
machine readable presentation
     of the parameters so when you feed the message to a program it can be
parsed easily.


Anyway, what do I know, *shrug*

Figure 1
in switch.conf.xml you could change these to your own program or a perl
script etc.
   <param name="mailer-app" value="sendmail"/>
   <param name="mailer-app-args" value="-t"/>



On Thu, Oct 9, 2008 at 8:28 AM, [EMAIL PROTECTED] <
[EMAIL PROTECTED]> wrote:

> I think what he wants is to have some remote server get the events and
> the email so that users can access it from the remote server, not FS.
> He doesn't want it emailed to the end user.
>
> Anthony Minessale wrote:
> > All of that information is already in the email =D
> > you can template out the email with all that data which is expanded on
> > the fly per message.
> >
> > by the time we finished adding what you want we will have recreated SMTP
> > from scratch ;)
> >
> >
> > On Wed, Oct 8, 2008 at 7:34 PM, Michael Jerris <[EMAIL PROTECTED]
> > <mailto:[EMAIL PROTECTED]>> wrote:
> >
> >     Voicemail metadata is already stored in a database (of your choice
> >     via odbc) and if you store the files on some remotely mountable
> >     location you should get the same effect.  I'll try to throw an event
> >     in today but I think some of what your trying to do is already done
> >     for you.
> >
> >     Mike
> >
> >     On Oct 8, 2008, at 8:25 PM, Nicholas Amorim wrote:
> >
> >>     Yes, I can email them. But certainly would be more interesting to
> >>     add a event to voicemail received. It opens a wide whole world of
> >>     possiblities :P Including real-time alerts, etc.
> >>
> >>     The info that I need:
> >>
> >>     Which user received the voicemail
> >>     Access to the file which voicemail was recorded
> >>     Date/Time of received voicemail
> >>
> >>     Just that, I guess. I would capture the event, send all those
> >>     infos through an url and then delete the voicemail from the machine.
> >>
> >>     The url receives it and stores on a database, making it kinda
> >>     scalable.
> >>
> >>     On Wed, Oct 8, 2008 at 7:38 PM, Anthony Minessale
> >>     <[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>>
> >>     wrote:
> >>
> >>         you can email them ?
> >>
> >>
> >>         On Wed, Oct 8, 2008 at 5:10 PM, Nicholas Amorim
> >>         <[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>> wrote:
> >>
> >>             Deliver the vm message physically.
> >>             _______________________________________________
> >>             Freeswitch-users mailing list
> >>             [email protected]
> >>             <mailto:[email protected]>
> >>
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> >>             UNSUBSCRIBE:
> http://lists.freeswitch.org/mailman/options/freeswitch-users
> >>             http://www.freeswitch.org
> >>
> >>
> >>
> >>
> >>         --
> >>         Anthony Minessale II
> >>
> >>         FreeSWITCH http://www.freeswitch.org/
> >>         ClueCon http://www.cluecon.com/
> >>
> >>         AIM: anthm
> >>         MSN:[EMAIL PROTECTED]<[EMAIL PROTECTED]>
> >>         <mailto:[EMAIL PROTECTED]<[EMAIL PROTECTED]>
> >
> >>         GTALK/JABBER/PAYPAL:[EMAIL PROTECTED]<[EMAIL PROTECTED]>
> >>         <mailto:[EMAIL PROTECTED]<[EMAIL PROTECTED]>
> >
> >>         IRC: irc.freenode.net <http://irc.freenode.net> #freeswitch
> >>
> >>         FreeSWITCH Developer Conference
> >>         sip:[EMAIL PROTECTED]<[EMAIL PROTECTED]>
> >>         <mailto:[EMAIL PROTECTED]<[EMAIL PROTECTED]>
> >
> >>         iax:[EMAIL PROTECTED]/888
> >>         <http://iax:[EMAIL PROTECTED]/888>
> >>         googletalk:[EMAIL PROTECTED]<[EMAIL PROTECTED]>
> >>         <mailto:[EMAIL PROTECTED]<[EMAIL PROTECTED]>
> >
> >>         pstn:213-799-1400
> >>
> >>         _______________________________________________
> >>         Freeswitch-users mailing list
> >>         [email protected]
> >>         <mailto:[email protected]>
> >>         http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> >>         UNSUBSCRIBE:
> http://lists.freeswitch.org/mailman/options/freeswitch-users
> >>         http://www.freeswitch.org
> >>
> >>
> >>     _______________________________________________
> >>     Freeswitch-users mailing list
> >>     [email protected]
> >>     <mailto:[email protected]>
> >>     http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> >>     UNSUBSCRIBE:
> http://lists.freeswitch.org/mailman/options/freeswitch-users
> >>     http://www.freeswitch.org
> >
> >
> >     _______________________________________________
> >     Freeswitch-users mailing list
> >     [email protected]
> >     <mailto:[email protected]>
> >     http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> >     UNSUBSCRIBE:
> http://lists.freeswitch.org/mailman/options/freeswitch-users
> >     http://www.freeswitch.org
> >
> >
> >
> >
> > --
> > Anthony Minessale II
> >
> > FreeSWITCH http://www.freeswitch.org/
> > ClueCon http://www.cluecon.com/
> >
> > AIM: anthm
> > MSN:[EMAIL PROTECTED] <[EMAIL PROTECTED]>
> > <mailto:[EMAIL PROTECTED]<[EMAIL PROTECTED]>
> >
> > GTALK/JABBER/PAYPAL:[EMAIL PROTECTED]<[EMAIL PROTECTED]>
> > <mailto:[EMAIL PROTECTED]<[EMAIL PROTECTED]>
> >
> > IRC: irc.freenode.net <http://irc.freenode.net> #freeswitch
> >
> > FreeSWITCH Developer Conference
> > sip:[EMAIL PROTECTED] <[EMAIL PROTECTED]>
> > <mailto:[EMAIL PROTECTED]<[EMAIL PROTECTED]>
> >
> > iax:[EMAIL PROTECTED]/888
> > <http://iax:[EMAIL PROTECTED]/888>
> > googletalk:[EMAIL PROTECTED]<[EMAIL PROTECTED]>
> > <mailto:[EMAIL PROTECTED]<[EMAIL PROTECTED]>
> >
> > pstn:213-799-1400
> >
> >
> > ------------------------------------------------------------------------
> >
> > _______________________________________________
> > Freeswitch-users mailing list
> > [email protected]
> > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> > http://www.freeswitch.org
>
> _______________________________________________
> Freeswitch-users mailing list
> [email protected]
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>



-- 
Anthony Minessale II

FreeSWITCH http://www.freeswitch.org/
ClueCon http://www.cluecon.com/

AIM: anthm
MSN:[EMAIL PROTECTED] <[EMAIL PROTECTED]>
GTALK/JABBER/PAYPAL:[EMAIL PROTECTED]<[EMAIL PROTECTED]>
IRC: irc.freenode.net #freeswitch

FreeSWITCH Developer Conference
sip:[EMAIL PROTECTED] <[EMAIL PROTECTED]>
iax:[EMAIL PROTECTED]/888
googletalk:[EMAIL PROTECTED]<[EMAIL PROTECTED]>
pstn:213-799-1400
_______________________________________________
Freeswitch-users mailing list
[email protected]
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org

Reply via email to