[Freeswitch-dev] Using mod_dingaling with mod_xml_curl
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
hello Muhammad , i see this is a bug in mod_dingaling i think;) if i auto load it using modules.conf.xml, that will load it correctly, login it and work / route calls / etc (only if i use auto login=true) but if i login manualy using dl_login profile name, that will result to a fail operation also if i autoload it and i use autologin=false and login manualy that will don't login thanks 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 <mailto:shari_786pk@hotmail.com> Email: shaheryarkh@googlemail.com <mailto: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
__________ Information from ESET NOD32 Antivirus, version of virus signature database 4378 (20090828) __________
The message was checked by ESET NOD32 Antivirus.
__________ Information from ESET NOD32 Antivirus, version of virus signature database 4378 (20090828) __________ The message was checked by ESET NOD32 Antivirus. http://www.eset.com
The patch i submitted does not cover your findings. If you can reproduce it then kindly create a bug report at jira.freeswitch.org, so FS team can work on it. Thank you. On Sat, Sep 5, 2009 at 10:43 PM, Meftah Tayeb <tayeb.meftah@gmail.com>wrote:
hello Muhammad , i see this is a bug in mod_dingaling i think;) if i auto load it using modules.conf.xml, that will load it correctly, login it and work / route calls / etc (only if i use auto login=true) but if i login manualy using dl_login profile name, that will result to a fail operation also if i autoload it and i use autologin=false and login manualy that will don't login thanks 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 listFreeSWITCH-dev@lists.freeswitch.orghttp://lists.freeswitch.org/mailman/listinfo/freeswitch-dev UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-devhttp://www.freeswi...
__________ Information from ESET NOD32 Antivirus, version of virus signature database 4378 (20090828) __________
The message was checked by ESET NOD32 Antivirus. http://www.eset.com
__________ Information from ESET NOD32 Antivirus, version of virus signature database 4378 (20090828) __________
The message was checked by ESET NOD32 Antivirus.
_______________________________________________ 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
-- 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
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@hotmail.com Email: shaheryarkh@googlemail.com _______________________________________________
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@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@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
-- 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
You can submit changes like this through our bug tracker at jira.freeswitch.org . Mike On Sep 7, 2009, at 6:03 PM, Muhammad Shahzad wrote:
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@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@hotmail.com Email: shaheryarkh@googlemail.com _______________________________________________
Done. See JIRA issue below, http://jira.freeswitch.org/browse/LBDING-15 Thank you. On Tue, Sep 8, 2009 at 9:41 PM, Michael Jerris <mike@jerris.com> wrote:
You can submit changes like this through our bug tracker at jira.freeswitch.org. Mike
On Sep 7, 2009, at 6:03 PM, Muhammad Shahzad wrote:
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@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@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
-- 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
participants (3)
-
Meftah Tayeb
-
Michael Jerris
-
Muhammad Shahzad