[Freeswitch-dev] Using mod_dingaling with mod_xml_curl

Muhammad Shahzad shaheryarkh at googlemail.com
Mon Sep 7 15:03:25 PDT 2009


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.


On Tue, Sep 8, 2009 at 12:31 AM, Michael Jerris <mike at jerris.com> wrote:

> This will require some changes in the code like in sofia profile
> rescan/reload.
> Mike
>
> On 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 at hotmail.com
> Email: shaheryarkh at googlemail.com
> _______________________________________________
>
>
>
> _______________________________________________
> FreeSWITCH-dev mailing list
> FreeSWITCH-dev at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev
> http://www.freeswitch.org
>
>


-- 
Muhammad Shahzad
-----------------------------------
CISCO Rich Media Communication Specialist (CRMCS)
CISCO Certified Network Associate (CCNA)
Cell: +92 334 422 40 88
MSN: shari_786pk at hotmail.com
Email: shaheryarkh at googlemail.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20090908/d4d2b347/attachment.html 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: dingaling-dynamic-profiles.patch
Type: application/octet-stream
Size: 929 bytes
Desc: not available
Url : http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20090908/d4d2b347/attachment.obj 


More information about the FreeSWITCH-dev mailing list