[Freeswitch-dev] Patch for soft reload command in mod_dingaling
Reference: http://jira.freeswitch.org/browse/LBDING-15 ======================================================================================================================= Here is new patch with all thread lock / unlock and memory management stuff etc. it does following, 1. Adds a new dingaling menu command, "dingaling reload". 2. While executing this command it re-reads XML configuration (from file or XML CURL, whichever configured). 3. Adds new profiles in configuration. 4. Deletes profiles that are no longer in XML configuration. 5. Checks all profiles which exist in both old and new XML configuration, verify that all parameters match. 6. If any parameter is not match then it deletes older one and loads newer one. 7. If no parameter mismatch found then it leaves the profile as is. 8. While deleting profiles, if any profile is in call, it does not drops the call, instead marks that profile for deletion and upon completion of call it deletes the profile. I have verified its functionality is all possible test cases (that we can think of) and found it consistent without any performance drawbacks. Kindly review and add this patch to mainstream. ======================================================================================================================= 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
Nothing else but "you are the man". I thank you. jmesquita On Thu, Sep 17, 2009 at 5:59 AM, Muhammad Shahzad <shahzad@vopium.com>wrote:
Reference: http://jira.freeswitch.org/browse/LBDING-15
======================================================================================================================= Here is new patch with all thread lock / unlock and memory management stuff etc. it does following,
1. Adds a new dingaling menu command, "dingaling reload". 2. While executing this command it re-reads XML configuration (from file or XML CURL, whichever configured). 3. Adds new profiles in configuration. 4. Deletes profiles that are no longer in XML configuration. 5. Checks all profiles which exist in both old and new XML configuration, verify that all parameters match. 6. If any parameter is not match then it deletes older one and loads newer one. 7. If no parameter mismatch found then it leaves the profile as is. 8. While deleting profiles, if any profile is in call, it does not drops the call, instead marks that profile for deletion and upon completion of call it deletes the profile.
I have verified its functionality is all possible test cases (that we can think of) and found it consistent without any performance drawbacks.
Kindly review and add this patch to mainstream.
=======================================================================================================================
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
Thanks, is it merged in FS trunk yet? Thank you. 2009/9/18 João Mesquita <jmesquita@freeswitch.org>
Nothing else but "you are the man". I thank you.
jmesquita
On Thu, Sep 17, 2009 at 5:59 AM, Muhammad Shahzad <shahzad@vopium.com>wrote:
Reference: http://jira.freeswitch.org/browse/LBDING-15
======================================================================================================================= Here is new patch with all thread lock / unlock and memory management stuff etc. it does following,
1. Adds a new dingaling menu command, "dingaling reload". 2. While executing this command it re-reads XML configuration (from file or XML CURL, whichever configured). 3. Adds new profiles in configuration. 4. Deletes profiles that are no longer in XML configuration. 5. Checks all profiles which exist in both old and new XML configuration, verify that all parameters match. 6. If any parameter is not match then it deletes older one and loads newer one. 7. If no parameter mismatch found then it leaves the profile as is. 8. While deleting profiles, if any profile is in call, it does not drops the call, instead marks that profile for deletion and upon completion of call it deletes the profile.
I have verified its functionality is all possible test cases (that we can think of) and found it consistent without any performance drawbacks.
Kindly review and add this patch to mainstream.
=======================================================================================================================
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
_______________________________________________ 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
Yes, here is the link (also mentioned in orignal email) http://jira.freeswitch.org/browse/LBDING-15 Thank you. On Fri, Sep 18, 2009 at 7:44 PM, Brian West <brian@freeswitch.org> wrote:
Did you put it in jira?
/b
On Sep 18, 2009, at 1:37 AM, Muhammad Shahzad wrote:
Thanks, is it merged in FS trunk yet?
Thank you.
_______________________________________________ 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
congrats, with this patch you are now the new mod_dingaling maintainer! We'll put you in as the lead on it. *handshake* On Fri, Sep 18, 2009 at 8:47 AM, Muhammad Shahzad < shaheryarkh@googlemail.com> wrote:
Yes, here is the link (also mentioned in orignal email)
http://jira.freeswitch.org/browse/LBDING-15
Thank you.
On Fri, Sep 18, 2009 at 7:44 PM, Brian West <brian@freeswitch.org> wrote:
Did you put it in jira?
/b
On Sep 18, 2009, at 1:37 AM, Muhammad Shahzad wrote:
Thanks, is it merged in FS trunk yet?
Thank you.
_______________________________________________ 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
_______________________________________________ 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
-- Anthony Minessale II FreeSWITCH http://www.freeswitch.org/ ClueCon http://www.cluecon.com/ Twitter: http://twitter.com/FreeSWITCH_wire AIM: anthm MSN:anthony_minessale@hotmail.com <MSN%3Aanthony_minessale@hotmail.com> GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com<PAYPAL%3Aanthony.minessale@gmail.com> IRC: irc.freenode.net #freeswitch FreeSWITCH Developer Conference sip:888@conference.freeswitch.org <sip%3A888@conference.freeswitch.org> iax:guest@conference.freeswitch.org/888 googletalk:conf+888@conference.freeswitch.org<googletalk%3Aconf%2B888@conference.freeswitch.org> pstn:213-799-1400
Thanks. :-) On Fri, Sep 18, 2009 at 8:36 PM, Anthony Minessale < anthony.minessale@gmail.com> wrote:
congrats, with this patch you are now the new mod_dingaling maintainer! We'll put you in as the lead on it.
*handshake*
On Fri, Sep 18, 2009 at 8:47 AM, Muhammad Shahzad < shaheryarkh@googlemail.com> wrote:
Yes, here is the link (also mentioned in orignal email)
http://jira.freeswitch.org/browse/LBDING-15
Thank you.
On Fri, Sep 18, 2009 at 7:44 PM, Brian West <brian@freeswitch.org> wrote:
Did you put it in jira?
/b
On Sep 18, 2009, at 1:37 AM, Muhammad Shahzad wrote:
Thanks, is it merged in FS trunk yet?
Thank you.
_______________________________________________ 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
_______________________________________________ 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
-- Anthony Minessale II
FreeSWITCH http://www.freeswitch.org/ ClueCon http://www.cluecon.com/ Twitter: http://twitter.com/FreeSWITCH_wire
AIM: anthm MSN:anthony_minessale@hotmail.com <MSN%3Aanthony_minessale@hotmail.com> GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com<PAYPAL%3Aanthony.minessale@gmail.com> IRC: irc.freenode.net #freeswitch
FreeSWITCH Developer Conference sip:888@conference.freeswitch.org <sip%3A888@conference.freeswitch.org> iax:guest@conference.freeswitch.org/888 googletalk:conf+888@conference.freeswitch.org<googletalk%3Aconf%2B888@conference.freeswitch.org> pstn:213-799-1400
_______________________________________________ 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 (5)
-
Anthony Minessale
-
Brian West
-
João Mesquita
-
Muhammad Shahzad
-
Muhammad Shahzad