Sponsor: VoiceMeUp - Corporate & Wholesale VoIP Services

VoIP Mailing List Archives
Mailing list archives for the VoIP community
 SearchSearch 

[Freeswitch-users] mod_dingaling: dl_login command syntax


 
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> freeSWITCH Users
View previous topic :: View next topic  
Author Message
shahzad at vopium.com
Guest





PostPosted: Fri Sep 04, 2009 7:45 am    Post subject: [Freeswitch-users] mod_dingaling: dl_login command syntax Reply with quote

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 (shari_786pk@hotmail.com)
Email: shaheryarkh@googlemail.com (shaheryarkh@googlemail.com)
Back to top
mike at jerris.com
Guest





PostPosted: Fri Sep 11, 2009 11:34 am    Post subject: [Freeswitch-users] mod_dingaling: dl_login command syntax Reply with quote

What errors do you get?

Mike

On Sep 4, 2009, at 8:35 AM, Muhammad Shahzad wrote:
Quote:
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 (shari_786pk@hotmail.com)
Email: shaheryarkh@googlemail.com (shaheryarkh@googlemail.com)
_______________________________________________
FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org (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
Back to top
shaheryarkh at googlem...
Guest





PostPosted: Fri Sep 11, 2009 12:27 pm    Post subject: [Freeswitch-users] mod_dingaling: dl_login command syntax Reply with quote

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 (mike@jerris.com)> wrote:
Quote:
What errors do you get?

Mike


On Sep 4, 2009, at 8:35 AM, Muhammad Shahzad wrote:



Quote:

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 (shari_786pk@hotmail.com)
Email: shaheryarkh@googlemail.com (shaheryarkh@googlemail.com)


_______________________________________________
FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org (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 (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 (shari_786pk@hotmail.com)
Email: shaheryarkh@googlemail.com (shaheryarkh@googlemail.com)
Back to top
brian at freeswitch.org
Guest





PostPosted: Fri Sep 11, 2009 12:59 pm    Post subject: [Freeswitch-users] mod_dingaling: dl_login command syntax Reply with quote

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:

Quote:
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
Back to top
shaheryarkh at googlem...
Guest





PostPosted: Fri Sep 11, 2009 3:03 pm    Post subject: [Freeswitch-users] mod_dingaling: dl_login command syntax Reply with quote

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 (brian@freeswitch.org)> wrote:
Quote:
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:

Quote:
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 (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 (shari_786pk@hotmail.com)
Email: shaheryarkh@googlemail.com (shaheryarkh@googlemail.com)
Back to top
brian at freeswitch.org
Guest





PostPosted: Fri Sep 11, 2009 3:23 pm    Post subject: [Freeswitch-users] mod_dingaling: dl_login command syntax Reply with quote

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:

Quote:
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
Back to top
shaheryarkh at googlem...
Guest





PostPosted: Fri Sep 11, 2009 3:52 pm    Post subject: [Freeswitch-users] mod_dingaling: dl_login command syntax Reply with quote

great, can you share it with me?

Thank you.


On Sat, Sep 12, 2009 at 2:16 AM, Brian West <brian@freeswitch.org (brian@freeswitch.org)> wrote:
Quote:
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:

Quote:
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 (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 (shari_786pk@hotmail.com)
Email: shaheryarkh@googlemail.com (shaheryarkh@googlemail.com)
Back to top
brian at freeswitch.org
Guest





PostPosted: Fri Sep 11, 2009 4:21 pm    Post subject: [Freeswitch-users] mod_dingaling: dl_login command syntax Reply with quote

I'll dig it up this weekend and get you a copy of it.. its a perl
script that writes out some js that I run via jsrun

/b

On Sep 11, 2009, at 3:42 PM, Muhammad Shahzad wrote:

Quote:
great, can you share it with me?

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
Back to top
Display posts from previous:   
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> freeSWITCH Users All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group

VoiceMeUp - Corporate & Wholesale VoIP Services