[Freeswitch-users] Can I add to directory without RELOADXML?

João Mesquita jmesquita at freeswitch.org
Tue Jun 29 21:50:10 PDT 2010


/JM


On Mon, Jun 28, 2010 at 12:03 PM, Shaka Dow <shakad at gtt.co.gy> wrote:

> Dear Freeswitch Users,
> I am a new member to the community and have been using Asterisk for years.
> I am very excited by what Freeswitch has to offer but in lieu of an
> equivalent to "Asterisk realtime", can someone let me know if the following
> is possible:
>
> - Can a new file be added to the internal directory and loaded without
> running the command "sofia profile internal rescan reloadxml" to simply load
> that one new file?
>

Yes, reloadxml alone will do that. That is without the sofia stuff and it
won't drop calls or anything else.


>
> If there are 100,000 files in /usr/local/freeswitch/conf/directory/default
> then the reload will take a few minutes. Surely there must be a better way
> to add "extensions" without executing such a processor intensive command
> since I will be adding users very frequently while in production. Is there a
> way to dynamically add to the DOM via the CLI or mod_event_socket?
>

mod_xml_curl is your answer. Look here:
http://wiki.freeswitch.org/wiki/Mod_xml_curl

>
> Looking forward to your feedback.
>
> Very best regards,
> Shaka Dow, Freeswitch User
>
> _______________________________________________
> 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100630/f179dc99/attachment.html 


More information about the FreeSWITCH-users mailing list