[Freeswitch-users] Voicemail Event
Anthony Minessale
anthony.minessale at gmail.com
Thu Oct 9 07:29:43 PDT 2008
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, peder at networkoblivion.com <
peder at networkoblivion.com> 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 <mike at jerris.com
> > <mailto:mike at jerris.com>> 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
> >> <anthony.minessale at gmail.com <mailto:anthony.minessale at gmail.com>>
> >> wrote:
> >>
> >> you can email them ?
> >>
> >>
> >> On Wed, Oct 8, 2008 at 5:10 PM, Nicholas Amorim
> >> <nicholas at gnial.com.br <mailto:nicholas at gnial.com.br>> wrote:
> >>
> >> Deliver the vm message physically.
> >> _______________________________________________
> >> Freeswitch-users mailing list
> >> Freeswitch-users at lists.freeswitch.org
> >> <mailto:Freeswitch-users at lists.freeswitch.org>
> >>
> 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:anthony_minessale at hotmail.com<MSN%3Aanthony_minessale at hotmail.com>
> >> <mailto:MSN%3Aanthony_minessale at hotmail.com<MSN%253Aanthony_minessale at hotmail.com>
> >
> >> GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com<PAYPAL%3Aanthony.minessale at gmail.com>
> >> <mailto:PAYPAL%3Aanthony.minessale at gmail.com<PAYPAL%253Aanthony.minessale at gmail.com>
> >
> >> IRC: irc.freenode.net <http://irc.freenode.net> #freeswitch
> >>
> >> FreeSWITCH Developer Conference
> >> sip:888 at conference.freeswitch.org<sip%3A888 at conference.freeswitch.org>
> >> <mailto:sip%3A888 at conference.freeswitch.org<sip%253A888 at conference.freeswitch.org>
> >
> >> iax:guest at conference.freeswitch.org/888
> >> <http://iax:guest@conference.freeswitch.org/888>
> >> googletalk:conf+888 at conference.freeswitch.org<googletalk%3Aconf%2B888 at conference.freeswitch.org>
> >> <mailto:googletalk%3Aconf%2B888 at conference.freeswitch.org<googletalk%253Aconf%252B888 at conference.freeswitch.org>
> >
> >> pstn:213-799-1400
> >>
> >> _______________________________________________
> >> Freeswitch-users mailing list
> >> Freeswitch-users at lists.freeswitch.org
> >> <mailto:Freeswitch-users at lists.freeswitch.org>
> >> 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
> >> Freeswitch-users at lists.freeswitch.org
> >> <mailto:Freeswitch-users at lists.freeswitch.org>
> >> 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
> > Freeswitch-users at lists.freeswitch.org
> > <mailto:Freeswitch-users at lists.freeswitch.org>
> > 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:anthony_minessale at hotmail.com <MSN%3Aanthony_minessale at hotmail.com>
> > <mailto:MSN%3Aanthony_minessale at hotmail.com<MSN%253Aanthony_minessale at hotmail.com>
> >
> > GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com<PAYPAL%3Aanthony.minessale at gmail.com>
> > <mailto:PAYPAL%3Aanthony.minessale at gmail.com<PAYPAL%253Aanthony.minessale at gmail.com>
> >
> > IRC: irc.freenode.net <http://irc.freenode.net> #freeswitch
> >
> > FreeSWITCH Developer Conference
> > sip:888 at conference.freeswitch.org <sip%3A888 at conference.freeswitch.org>
> > <mailto:sip%3A888 at conference.freeswitch.org<sip%253A888 at conference.freeswitch.org>
> >
> > iax:guest at conference.freeswitch.org/888
> > <http://iax:guest@conference.freeswitch.org/888>
> > googletalk:conf+888 at conference.freeswitch.org<googletalk%3Aconf%2B888 at conference.freeswitch.org>
> > <mailto:googletalk%3Aconf%2B888 at conference.freeswitch.org<googletalk%253Aconf%252B888 at conference.freeswitch.org>
> >
> > pstn:213-799-1400
> >
> >
> > ------------------------------------------------------------------------
> >
> > _______________________________________________
> > Freeswitch-users mailing list
> > Freeswitch-users at lists.freeswitch.org
> > 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
> Freeswitch-users at lists.freeswitch.org
> 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:anthony_minessale at hotmail.com <MSN%3Aanthony_minessale at hotmail.com>
GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com<PAYPAL%3Aanthony.minessale at gmail.com>
IRC: irc.freenode.net #freeswitch
FreeSWITCH Developer Conference
sip:888 at conference.freeswitch.org <sip%3A888 at conference.freeswitch.org>
iax:guest at conference.freeswitch.org/888
googletalk:conf+888 at conference.freeswitch.org<googletalk%3Aconf%2B888 at conference.freeswitch.org>
pstn:213-799-1400
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20081009/55a241a2/attachment-0002.html
More information about the FreeSWITCH-users
mailing list