Thanks, i have made those required changes and would like to submit a patch for this.
Basically what i have done is to extend dingaling command to have a soft reload, like this,
dingaling reload
This will call load_config method (as is, i.e. without any changes), which re-reads its configuration from dingaling.conf.xml or xml_curl (whichever is configured) and update profile_hash accordingly.
I have done some developer testing and its seems to work okay.
Please see attached patch file, i would really appreciate if you could merge this patch in mainstream.
Thank you.
This will require some changes in the code like in sofia profile rescan/reload.MikeOn Sep 5, 2009, at 9:23 AM, Muhammad Shahzad wrote:_______________________________________________Hi,
Does dl_login and dl_logout commands work if mod_dingaling is configured with mod_xml_curl?
It does not seems to work till i reload mod_dingaling.
Here is what i am doing.
1. Using SVN Revision 15760.
2. mod_xml_curl configured to provide configuration for mod_dingaling.
3. When i issue command from FS console dl_login profile=XYZ, it suppose to use mod_xml_curl to fetch configuration from web server for mod_dingaling profile XYZ. But it never happens and dl_login command results in FAIL.
Kindly suggest a solution.
Thank you.
--
Muhammad Shahzad
-----------------------------------
CISCO Rich Media Communication Specialist (CRMCS)
CISCO Certified Network Associate (CCNA)
Cell: +92 334 422 40 88
MSN: shari_786pk@hotmail.com
Email: shaheryarkh@googlemail.com
_______________________________________________
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