[Freeswitch-users] Voicemail with no predefined profile

Michael Collins msc at freeswitch.org
Fri Mar 18 19:53:06 MSK 2011


On Fri, Mar 18, 2011 at 7:34 AM, Moe Navid <manavid at gmail.com> wrote:

> Hi all,
>
> I'm in the process of migrating my services from Asterisk to FreeSWITCH.
>
> Is there a way to create voicemail boxes dynamically on the fly
> without predefining user profiles?
>
> Right now I'm using OpenSIPS as my registrar and load balancer for my
> Asterisk boxes. I use asterisk's real time in conjunction with
> res_config_mysql to I define my voicemail boxes in my mysql table and
> Asterisk reads it's info from there.
>
> Can I do something similar with FreeSWITCH?
>
> The only way I can find to do it in FreeSWITCH is using mod_xml_curl.
>

In your case, mod_xml_curl is the way to go. You will need to build a little
web server to handle the requests from mod_xml_curl and return the data from
your mysql table in properly formatted XML. I recommend that you look at the
freeswitch-contrib, specifically in intralanman/PHP/fs_curl/ to see an
example of how you can return user directory information. Look at the README
file in there for more information on how to get things set up. As long as
you return properly formatted XML for your dialplan and/or directory then
you should be good to go and FS will do the rest.

-MC
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20110318/df929c00/attachment.html 


More information about the FreeSWITCH-users mailing list