mod_dingaling: dl_login command syntax
Hi, i am have FS SVN revision 14760, i am trying to use mod_xml_curl against mod_dingaling. When i call xml_curl url in browser i get mod_dingaling configuration correctly, also when i do reload mod_dingaling it fetches its configuration from xml_curl correctly. BUT when i try to use dl_login command to login a jingle profile it does not work. I have tried both syntax, Syntax 1: ======= dl_login profile=abcd Where abcd is a valid jingle profile fetch-able from xml_curl. Syntax 2: ======= dl_login name=abcd;login= XXX@gmail.com/talk;pass=YYY;dialplan=XML;context=public;rtp-ip=auto;sasl=plain;tls=true;exten=1001 All these values are correct and work if i reload mod_dingaling but they don't work with dl_login, and give following output. USAGE: Existing Profile: dl_login profile=<profile_name> Dynamic Profile: dl_login var1=val1;var2=val2;varN=valN I don't think xml_curl has any role in this syntax. Can you please correct me if i am doing something wrong in here or is it a bug in mod_dingaling. 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
What errors do you get? Mike On Sep 4, 2009, at 8:35 AM, Muhammad Shahzad wrote:
Hi,
i am have FS SVN revision 14760, i am trying to use mod_xml_curl against mod_dingaling. When i call xml_curl url in browser i get mod_dingaling configuration correctly, also when i do reload mod_dingaling it fetches its configuration from xml_curl correctly. BUT when i try to use dl_login command to login a jingle profile it does not work. I have tried both syntax,
Syntax 1: ======= dl_login profile=abcd
Where abcd is a valid jingle profile fetch-able from xml_curl.
Syntax 2: ======= dl_login name=abcd;login=XXX@gmail.com/ talk;pass=YYY;dialplan=XML;context=public;rtp- ip=auto;sasl=plain;tls=true;exten=1001
All these values are correct and work if i reload mod_dingaling but they don't work with dl_login, and give following output.
USAGE: Existing Profile: dl_login profile=<profile_name> Dynamic Profile: dl_login var1=val1;var2=val2;varN=valN
I don't think xml_curl has any role in this syntax.
Can you please correct me if i am doing something wrong in here or is it a bug in mod_dingaling.
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-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch- users http://www.freeswitch.org
actually, mod_dingaling is not reading configuration from xml_curl unless we reload mod_dingaling, which obviously fails if dingaling profile is in call etc. So, i am writing a patch right now to enable this functionality, almost finished just to perfect some memory management things. Thank you. On Fri, Sep 11, 2009 at 10:27 PM, Michael Jerris <mike@jerris.com> wrote:
What errors do you get? Mike
On Sep 4, 2009, at 8:35 AM, Muhammad Shahzad wrote:
Hi,
i am have FS SVN revision 14760, i am trying to use mod_xml_curl against mod_dingaling. When i call xml_curl url in browser i get mod_dingaling configuration correctly, also when i do reload mod_dingaling it fetches its configuration from xml_curl correctly. BUT when i try to use dl_login command to login a jingle profile it does not work. I have tried both syntax,
Syntax 1: ======= dl_login profile=abcd
Where abcd is a valid jingle profile fetch-able from xml_curl.
Syntax 2: ======= dl_login name=abcd;login= XXX@gmail.com/talk;pass=YYY;dialplan=XML;context=public;rtp-ip=auto;sasl=plain;tls=true;exten=1001
All these values are correct and work if i reload mod_dingaling but they don't work with dl_login, and give following output.
USAGE: Existing Profile: dl_login profile=<profile_name> Dynamic Profile: dl_login var1=val1;var2=val2;varN=valN
I don't think xml_curl has any role in this syntax.
Can you please correct me if i am doing something wrong in here or is it a bug in mod_dingaling.
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-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users 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
Also for tests make sure you fuzz test it also .. giving it invalid data shouldn't crash ... so try that when you're done too. /b On Sep 11, 2009, at 12:18 PM, Muhammad Shahzad wrote:
actually, mod_dingaling is not reading configuration from xml_curl unless we reload mod_dingaling, which obviously fails if dingaling profile is in call etc.
So, i am writing a patch right now to enable this functionality, almost finished just to perfect some memory management things.
Thank you.
sure, i have a full QA department who will take case of all possible cases. Then it can be tested by our community. Thank you. On Fri, Sep 11, 2009 at 11:51 PM, Brian West <brian@freeswitch.org> wrote:
Also for tests make sure you fuzz test it also .. giving it invalid data shouldn't crash ... so try that when you're done too.
/b
On Sep 11, 2009, at 12:18 PM, Muhammad Shahzad wrote:
actually, mod_dingaling is not reading configuration from xml_curl unless we reload mod_dingaling, which obviously fails if dingaling profile is in call etc.
So, i am writing a patch right now to enable this functionality, almost finished just to perfect some memory management things.
Thank you.
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users 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
Kewl I have a fuzz test I do also thats automated that throws all kinds of crazy stuff at all the api's. /b On Sep 11, 2009, at 2:52 PM, Muhammad Shahzad wrote:
sure, i have a full QA department who will take case of all possible cases. Then it can be tested by our community.
Thank you.
great, can you share it with me? Thank you. On Sat, Sep 12, 2009 at 2:16 AM, Brian West <brian@freeswitch.org> wrote:
Kewl I have a fuzz test I do also thats automated that throws all kinds of crazy stuff at all the api's.
/b
On Sep 11, 2009, at 2:52 PM, Muhammad Shahzad wrote:
sure, i have a full QA department who will take case of all possible cases. Then it can be tested by our community.
Thank you.
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users 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 (4)
-
Brian West
-
Michael Jerris
-
Muhammad Shahzad
-
Muhammad Shahzad