[Freeswitch-users] mod_voicemail email template variables

Anthony Minessale anthony.minessale at gmail.com
Thu Aug 27 11:54:09 PDT 2009


you should be able to for instance put

<action application="set" data="test_var=this is a test"/>

right before the voicemail app is called

then put

${test_var} in your template.

making sure to issue reloadxml or restart FS


On Thu, Aug 27, 2009 at 1:06 PM, Nick Lemberger <Nick.Lemberger at lkfd.net>wrote:

> Thanks for the fast reply!
>
> I just tried 10 random variables from
> http://wiki.freeswitch.org/wiki/Channel_Variables  and I only see the
> whitespace where the variable should be.  I've only been able to get the
> ones that are set in mod_voicemail.c circa line 1600 to work.
>
> -Nick
>
> >>> On 8/27/2009 at 12:44 PM, in message
> <191c3a030908271044k63973088xeec12c578d02ef14 at mail.gmail.com>, Anthony
> Minessale <anthony.minessale at gmail.com> wrote:
> > all variables referenced in the template should expand when sending the
> > email.
> >
> >
> > On Thu, Aug 27, 2009 at 12:41 PM, Nick Lemberger
> > <Nick.Lemberger at lkfd.net>wrote:
> >
> >> Is there a way to use dialplan variables in the email that gets sent
> with
> >> the voicemail attachement.  I tried using some but nothing seems to show
> up,
> >> I'm guessing it's a different channel or something...
> >>
> >> Any ideas?
> >>
> >> Thanks,
> >> -Nick
> >>
> >>
> >> _______________________________________________
> >> 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/
Twitter: http://twitter.com/FreeSWITCH_wire

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/20090827/ebba5201/attachment-0002.html 


More information about the FreeSWITCH-users mailing list