[Freeswitch-dev] Controlling FS from C#, creating users and conferences
Hi all, I've been playing with mod_managed from C# to build a proxy for FS that I use to create users and conferences on demand. Currently I use the approach of generating an xml file in the appropriate folder under conf and then executing a reloadxml command via: api.executestring("reloadxml") I'm wondering if there is perhaps a better approach and what sort of danger is involved with a reloadxml command for users that are on an existing conference call? Cheers, Craig
Whatever requires XML makes a copy of what it needs to execute, otherwise reloadxml will block until it can reload. For users, everything is loaded in channel variables, the original XML isn't even used anymore after call setup, you can reloadxml at will without any risks. Mathieu Rene Avant-Garde Solutions Inc Office: + 1 (514) 664-1044 x100 Cell: +1 (514) 664-1044 x200 mrene@avgs.ca On 15-Sep-09, at 12:55 AM, Craig Presti wrote:
Hi all,
I’ve been playing with mod_managed from C# to build a proxy for FS that I use to create users and conferences on demand.
Currently I use the approach of generating an xml file in the appropriate folder under conf and then executing a reloadxml command via:
api.executestring(“reloadxml”)
I’m wondering if there is perhaps a better approach and what sort of danger is involved with a reloadxml command for users that are on an existing conference call?
Cheers, Craig _______________________________________________ FreeSWITCH-dev mailing list FreeSWITCH-dev@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev http://www.freeswitch.org
participants (2)
-
Craig Presti
-
Mathieu Rene