Thanks Michael,<div><br></div><div>I guess that&#39;s what I have to do. I&#39;m very comfortable with generating settings on my web server, we are using Rails and it&#39;s very easy to add stuff. This is how currently I&#39;m feeding my settings to my Asterisk cluster. Asterisk has #exec option for config files I have a custom script that retrieves the settings from my web server and the server distinguishes my asterisk boxes based on their IP address. I see that mod_xml_curl is very sophisticated and very flexible. </div>
<div><br></div><div>One question: does FS has any limits or performance bottlenecks in regards to xml profiles we define?</div><div><br></div><div>Thank you</div><div><br></div><div>Moe<br><br><div class="gmail_quote">On Fri, Mar 18, 2011 at 9:53 AM, Michael Collins <span dir="ltr">&lt;<a href="mailto:msc@freeswitch.org">msc@freeswitch.org</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><br><br><div class="gmail_quote"><div><div></div><div class="h5">On Fri, Mar 18, 2011 at 7:34 AM, Moe Navid <span dir="ltr">&lt;<a href="mailto:manavid@gmail.com" target="_blank">manavid@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi all,<div><br></div><div>I&#39;m in the process of migrating my services from Asterisk to FreeSWITCH.</div><div><br></div><div>Is there a way to create voicemail boxes dynamically on the fly without predefining user profiles?</div>


<div><br></div><div>Right now I&#39;m using OpenSIPS as my registrar and load balancer for my Asterisk boxes. I use asterisk&#39;s real time in conjunction with res_config_mysql to I define my voicemail boxes in my mysql table and Asterisk reads it&#39;s info from there.</div>


<div><br></div><div>Can I do something similar with FreeSWITCH?</div><div><br></div><div>The only way I can find to do it in FreeSWITCH is using mod_xml_curl.</div></blockquote><div><br></div></div></div><div>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.</div>

<div><br></div><font color="#888888"><div>-MC</div></font></div>
<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>
<br></blockquote></div><br></div>