<div dir="ltr">Right,<br><br>I understand that.&nbsp; But if you look at it from another paradigm, you have 2 choices.<br><br>1) You can email it to your own back end program that can do whatever it wants with the email.<br>&nbsp;&nbsp;&nbsp;&nbsp; The email *is* an event with the message attached and as a bonus you have guaranteed delivery.<br>
<br>2) You can short circuit the email program in the core by setting the mailer settings to some program <br>&nbsp;&nbsp;&nbsp;&nbsp; that is not actually an email program but a program that inhales the email file and again does whatever<br>
&nbsp;&nbsp;&nbsp;&nbsp; it wants with the message.&nbsp; (see figure 1)<br>&nbsp;&nbsp;&nbsp;&nbsp; The FreeSWITCH eventing system would have to inhale the entire thing into<br>&nbsp;&nbsp;&nbsp;&nbsp; memory to deliver it and the end result would look identical to, well, an email.<br>
<br>3) In either case the email template can contain anything you choose including any channel variables<br>&nbsp;&nbsp;&nbsp;&nbsp; and several other special voicemail specific values as can be seen in the default template.<br>&nbsp;&nbsp;&nbsp;&nbsp; There is nothing stopping you from formatting the email body to contain machine readable presentation<br>
&nbsp;&nbsp;&nbsp;&nbsp; of the parameters so when you feed the message to a program it can be parsed easily.<br><br><br>Anyway, what do I know, *shrug*<br><br>Figure 1<br>in switch.conf.xml you could change these to your own program or a perl script etc.<br>
&nbsp;&nbsp; &lt;param name=&quot;mailer-app&quot; value=&quot;sendmail&quot;/&gt;<br>&nbsp;&nbsp; &lt;param name=&quot;mailer-app-args&quot; value=&quot;-t&quot;/&gt;<br><br><br><br><div class="gmail_quote">On Thu, Oct 9, 2008 at 8:28 AM, <a href="mailto:peder@networkoblivion.com">peder@networkoblivion.com</a> <span dir="ltr">&lt;<a href="mailto:peder@networkoblivion.com">peder@networkoblivion.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">I think what he wants is to have some remote server get the events and<br>
the email so that users can access it from the remote server, not FS.<br>
He doesn&#39;t want it emailed to the end user.<br>
<br>
Anthony Minessale wrote:<br>
&gt; All of that information is already in the email =D<br>
&gt; you can template out the email with all that data which is expanded on<br>
&gt; the fly per message.<br>
&gt;<br>
&gt; by the time we finished adding what you want we will have recreated SMTP<br>
&gt; from scratch ;)<br>
&gt;<br>
&gt;<br>
&gt; On Wed, Oct 8, 2008 at 7:34 PM, Michael Jerris &lt;<a href="mailto:mike@jerris.com">mike@jerris.com</a><br>
&gt; &lt;mailto:<a href="mailto:mike@jerris.com">mike@jerris.com</a>&gt;&gt; wrote:<br>
&gt;<br>
&gt; &nbsp; &nbsp; Voicemail metadata is already stored in a database (of your choice<br>
&gt; &nbsp; &nbsp; via odbc) and if you store the files on some remotely mountable<br>
&gt; &nbsp; &nbsp; location you should get the same effect. &nbsp;I&#39;ll try to throw an event<br>
&gt; &nbsp; &nbsp; in today but I think some of what your trying to do is already done<br>
&gt; &nbsp; &nbsp; for you.<br>
&gt;<br>
&gt; &nbsp; &nbsp; Mike<br>
&gt;<br>
&gt; &nbsp; &nbsp; On Oct 8, 2008, at 8:25 PM, Nicholas Amorim wrote:<br>
&gt;<br>
&gt;&gt; &nbsp; &nbsp; Yes, I can email them. But certainly would be more interesting to<br>
&gt;&gt; &nbsp; &nbsp; add a event to voicemail received. It opens a wide whole world of<br>
&gt;&gt; &nbsp; &nbsp; possiblities :P Including real-time alerts, etc.<br>
&gt;&gt;<br>
&gt;&gt; &nbsp; &nbsp; The info that I need:<br>
&gt;&gt;<br>
&gt;&gt; &nbsp; &nbsp; Which user received the voicemail<br>
&gt;&gt; &nbsp; &nbsp; Access to the file which voicemail was recorded<br>
&gt;&gt; &nbsp; &nbsp; Date/Time of received voicemail<br>
&gt;&gt;<br>
&gt;&gt; &nbsp; &nbsp; Just that, I guess. I would capture the event, send all those<br>
&gt;&gt; &nbsp; &nbsp; infos through an url and then delete the voicemail from the machine.<br>
&gt;&gt;<br>
&gt;&gt; &nbsp; &nbsp; The url receives it and stores on a database, making it kinda<br>
&gt;&gt; &nbsp; &nbsp; scalable.<br>
&gt;&gt;<br>
&gt;&gt; &nbsp; &nbsp; On Wed, Oct 8, 2008 at 7:38 PM, Anthony Minessale<br>
&gt;&gt; &nbsp; &nbsp; &lt;<a href="mailto:anthony.minessale@gmail.com">anthony.minessale@gmail.com</a> &lt;mailto:<a href="mailto:anthony.minessale@gmail.com">anthony.minessale@gmail.com</a>&gt;&gt;<br>
&gt;&gt; &nbsp; &nbsp; wrote:<br>
&gt;&gt;<br>
&gt;&gt; &nbsp; &nbsp; &nbsp; &nbsp; you can email them ?<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; &nbsp; &nbsp; &nbsp; &nbsp; On Wed, Oct 8, 2008 at 5:10 PM, Nicholas Amorim<br>
&gt;&gt; &nbsp; &nbsp; &nbsp; &nbsp; &lt;<a href="mailto:nicholas@gnial.com.br">nicholas@gnial.com.br</a> &lt;mailto:<a href="mailto:nicholas@gnial.com.br">nicholas@gnial.com.br</a>&gt;&gt; wrote:<br>
&gt;&gt;<br>
&gt;&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Deliver the vm message physically.<br>
&gt;&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; _______________________________________________<br>
&gt;&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Freeswitch-users mailing list<br>
&gt;&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <a href="mailto:Freeswitch-users@lists.freeswitch.org">Freeswitch-users@lists.freeswitch.org</a><br>
&gt;&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;mailto:<a href="mailto:Freeswitch-users@lists.freeswitch.org">Freeswitch-users@lists.freeswitch.org</a>&gt;<br>
&gt;&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
&gt;&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
&gt;&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; &nbsp; &nbsp; &nbsp; &nbsp; --<br>
&gt;&gt; &nbsp; &nbsp; &nbsp; &nbsp; Anthony Minessale II<br>
&gt;&gt;<br>
&gt;&gt; &nbsp; &nbsp; &nbsp; &nbsp; FreeSWITCH <a href="http://www.freeswitch.org/" target="_blank">http://www.freeswitch.org/</a><br>
&gt;&gt; &nbsp; &nbsp; &nbsp; &nbsp; ClueCon <a href="http://www.cluecon.com/" target="_blank">http://www.cluecon.com/</a><br>
&gt;&gt;<br>
&gt;&gt; &nbsp; &nbsp; &nbsp; &nbsp; AIM: anthm<br>
&gt;&gt; &nbsp; &nbsp; &nbsp; &nbsp; <a href="mailto:MSN%3Aanthony_minessale@hotmail.com">MSN:anthony_minessale@hotmail.com</a><br>
&gt;&gt; &nbsp; &nbsp; &nbsp; &nbsp; &lt;mailto:<a href="mailto:MSN%253Aanthony_minessale@hotmail.com">MSN%3Aanthony_minessale@hotmail.com</a>&gt;<br>
&gt;&gt; &nbsp; &nbsp; &nbsp; &nbsp; GTALK/JABBER/<a href="mailto:PAYPAL%3Aanthony.minessale@gmail.com">PAYPAL:anthony.minessale@gmail.com</a><br>
&gt;&gt; &nbsp; &nbsp; &nbsp; &nbsp; &lt;mailto:<a href="mailto:PAYPAL%253Aanthony.minessale@gmail.com">PAYPAL%3Aanthony.minessale@gmail.com</a>&gt;<br>
&gt;&gt; &nbsp; &nbsp; &nbsp; &nbsp; IRC: <a href="http://irc.freenode.net" target="_blank">irc.freenode.net</a> &lt;<a href="http://irc.freenode.net" target="_blank">http://irc.freenode.net</a>&gt; #freeswitch<br>
&gt;&gt;<br>
&gt;&gt; &nbsp; &nbsp; &nbsp; &nbsp; FreeSWITCH Developer Conference<br>
&gt;&gt; &nbsp; &nbsp; &nbsp; &nbsp; <a href="mailto:sip%3A888@conference.freeswitch.org">sip:888@conference.freeswitch.org</a><br>
&gt;&gt; &nbsp; &nbsp; &nbsp; &nbsp; &lt;mailto:<a href="mailto:sip%253A888@conference.freeswitch.org">sip%3A888@conference.freeswitch.org</a>&gt;<br>
&gt;&gt; &nbsp; &nbsp; &nbsp; &nbsp; <a href="http://iax:guest@conference.freeswitch.org/888" target="_blank">iax:guest@conference.freeswitch.org/888</a><br>
&gt;&gt; &nbsp; &nbsp; &nbsp; &nbsp; &lt;<a href="http://iax:guest@conference.freeswitch.org/888" target="_blank">http://iax:guest@conference.freeswitch.org/888</a>&gt;<br>
&gt;&gt; &nbsp; &nbsp; &nbsp; &nbsp; <a href="mailto:googletalk%3Aconf%2B888@conference.freeswitch.org">googletalk:conf+888@conference.freeswitch.org</a><br>
&gt;&gt; &nbsp; &nbsp; &nbsp; &nbsp; &lt;mailto:<a href="mailto:googletalk%253Aconf%252B888@conference.freeswitch.org">googletalk%3Aconf%2B888@conference.freeswitch.org</a>&gt;<br>
&gt;&gt; &nbsp; &nbsp; &nbsp; &nbsp; pstn:213-799-1400<br>
&gt;&gt;<br>
&gt;&gt; &nbsp; &nbsp; &nbsp; &nbsp; _______________________________________________<br>
&gt;&gt; &nbsp; &nbsp; &nbsp; &nbsp; Freeswitch-users mailing list<br>
&gt;&gt; &nbsp; &nbsp; &nbsp; &nbsp; <a href="mailto:Freeswitch-users@lists.freeswitch.org">Freeswitch-users@lists.freeswitch.org</a><br>
&gt;&gt; &nbsp; &nbsp; &nbsp; &nbsp; &lt;mailto:<a href="mailto:Freeswitch-users@lists.freeswitch.org">Freeswitch-users@lists.freeswitch.org</a>&gt;<br>
&gt;&gt; &nbsp; &nbsp; &nbsp; &nbsp; <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
&gt;&gt; &nbsp; &nbsp; &nbsp; &nbsp; UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
&gt;&gt; &nbsp; &nbsp; &nbsp; &nbsp; <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; &nbsp; &nbsp; _______________________________________________<br>
&gt;&gt; &nbsp; &nbsp; Freeswitch-users mailing list<br>
&gt;&gt; &nbsp; &nbsp; <a href="mailto:Freeswitch-users@lists.freeswitch.org">Freeswitch-users@lists.freeswitch.org</a><br>
&gt;&gt; &nbsp; &nbsp; &lt;mailto:<a href="mailto:Freeswitch-users@lists.freeswitch.org">Freeswitch-users@lists.freeswitch.org</a>&gt;<br>
&gt;&gt; &nbsp; &nbsp; <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
&gt;&gt; &nbsp; &nbsp; UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
&gt;&gt; &nbsp; &nbsp; <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
&gt;<br>
&gt;<br>
&gt; &nbsp; &nbsp; _______________________________________________<br>
&gt; &nbsp; &nbsp; Freeswitch-users mailing list<br>
&gt; &nbsp; &nbsp; <a href="mailto:Freeswitch-users@lists.freeswitch.org">Freeswitch-users@lists.freeswitch.org</a><br>
&gt; &nbsp; &nbsp; &lt;mailto:<a href="mailto:Freeswitch-users@lists.freeswitch.org">Freeswitch-users@lists.freeswitch.org</a>&gt;<br>
&gt; &nbsp; &nbsp; <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
&gt; &nbsp; &nbsp; UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
&gt; &nbsp; &nbsp; <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; --<br>
&gt; Anthony Minessale II<br>
&gt;<br>
&gt; FreeSWITCH <a href="http://www.freeswitch.org/" target="_blank">http://www.freeswitch.org/</a><br>
&gt; ClueCon <a href="http://www.cluecon.com/" target="_blank">http://www.cluecon.com/</a><br>
&gt;<br>
&gt; AIM: anthm<br>
&gt; <a href="mailto:MSN%3Aanthony_minessale@hotmail.com">MSN:anthony_minessale@hotmail.com</a><br>
&gt; &lt;mailto:<a href="mailto:MSN%253Aanthony_minessale@hotmail.com">MSN%3Aanthony_minessale@hotmail.com</a>&gt;<br>
&gt; GTALK/JABBER/<a href="mailto:PAYPAL%3Aanthony.minessale@gmail.com">PAYPAL:anthony.minessale@gmail.com</a><br>
&gt; &lt;mailto:<a href="mailto:PAYPAL%253Aanthony.minessale@gmail.com">PAYPAL%3Aanthony.minessale@gmail.com</a>&gt;<br>
&gt; IRC: <a href="http://irc.freenode.net" target="_blank">irc.freenode.net</a> &lt;<a href="http://irc.freenode.net" target="_blank">http://irc.freenode.net</a>&gt; #freeswitch<br>
&gt;<br>
&gt; FreeSWITCH Developer Conference<br>
&gt; <a href="mailto:sip%3A888@conference.freeswitch.org">sip:888@conference.freeswitch.org</a><br>
&gt; &lt;mailto:<a href="mailto:sip%253A888@conference.freeswitch.org">sip%3A888@conference.freeswitch.org</a>&gt;<br>
&gt; <a href="http://iax:guest@conference.freeswitch.org/888" target="_blank">iax:guest@conference.freeswitch.org/888</a><br>
&gt; &lt;<a href="http://iax:guest@conference.freeswitch.org/888" target="_blank">http://iax:guest@conference.freeswitch.org/888</a>&gt;<br>
&gt; <a href="mailto:googletalk%3Aconf%2B888@conference.freeswitch.org">googletalk:conf+888@conference.freeswitch.org</a><br>
&gt; &lt;mailto:<a href="mailto:googletalk%253Aconf%252B888@conference.freeswitch.org">googletalk%3Aconf%2B888@conference.freeswitch.org</a>&gt;<br>
&gt; pstn:213-799-1400<br>
&gt;<br>
&gt;<br>
&gt; ------------------------------------------------------------------------<br>
&gt;<br>
&gt; _______________________________________________<br>
&gt; Freeswitch-users mailing list<br>
&gt; <a href="mailto:Freeswitch-users@lists.freeswitch.org">Freeswitch-users@lists.freeswitch.org</a><br>
&gt; <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
&gt; UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
&gt; <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<br>
_______________________________________________<br>
Freeswitch-users mailing list<br>
<a href="mailto:Freeswitch-users@lists.freeswitch.org">Freeswitch-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
</blockquote></div><br><br clear="all"><br>-- <br>Anthony Minessale II<br><br>FreeSWITCH <a href="http://www.freeswitch.org/">http://www.freeswitch.org/</a><br>ClueCon <a href="http://www.cluecon.com/">http://www.cluecon.com/</a><br>
<br>AIM: anthm<br><a href="mailto:MSN%3Aanthony_minessale@hotmail.com">MSN:anthony_minessale@hotmail.com</a><br>GTALK/JABBER/<a href="mailto:PAYPAL%3Aanthony.minessale@gmail.com">PAYPAL:anthony.minessale@gmail.com</a><br>
IRC: <a href="http://irc.freenode.net">irc.freenode.net</a> #freeswitch<br><br>FreeSWITCH Developer Conference<br><a href="mailto:sip%3A888@conference.freeswitch.org">sip:888@conference.freeswitch.org</a><br><a href="http://iax:guest@conference.freeswitch.org/888">iax:guest@conference.freeswitch.org/888</a><br>
<a href="mailto:googletalk%3Aconf%2B888@conference.freeswitch.org">googletalk:conf+888@conference.freeswitch.org</a><br>pstn:213-799-1400<br>
</div>