Sponsor: VoiceMeUp - Corporate & Wholesale VoIP Services

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

[Freeswitch-users] Getting xml_request in LUA


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





PostPosted: Sun Jul 12, 2009 8:12 am    Post subject: [Freeswitch-users] Getting xml_request in LUA Reply with quote

In the Perl example I found:


How to access request parameters and how to return data

You have two hashes that are populated for you by freeswitch. Those
hashes are:

* %XML_REQUEST
* %XML_DATA

I want to use LUA to set the directory and dialplan xml. How do I get
the XML_REQUEST/XML_DATA from LUA?

Thanks
Eli Hayun


_______________________________________________
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
msc at freeswitch.org
Guest





PostPosted: Mon Jul 13, 2009 8:12 pm    Post subject: [Freeswitch-users] Getting xml_request in LUA Reply with quote

On Sun, Jul 12, 2009 at 1:49 AM, Eli Hayun <elihayun@gmail.com (elihayun@gmail.com)> wrote:
Quote:
In the Perl example I found:


   How to access request parameters and how to return data

You have two hashes that are populated for you by freeswitch. Those
hashes are:

   *  %XML_REQUEST
   *  %XML_DATA

I want to use LUA to set the directory and dialplan xml. How do I get
the XML_REQUEST/XML_DATA from LUA?

Is this the information you are looking for?
http://wiki.freeswitch.org/wiki/Mod_lua#For_serving_configuration
 

Quote:


Thanks
Eli Hayun


_______________________________________________
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
elihayun at gmail.com
Guest





PostPosted: Tue Jul 14, 2009 7:20 am    Post subject: [Freeswitch-users] Getting xml_request in LUA Reply with quote

In the Perl example I found:
Quote:


How to access request parameters and how to return data

You have two hashes that are populated for you by freeswitch. Those
hashes are:

* %XML_REQUEST
* %XML_DATA

I want to use LUA to set the directory and dialplan xml. How do I get
the XML_REQUEST/XML_DATA from LUA?



Is this the information you are looking for?
http://wiki.freeswitch.org/wiki/Mod_lua#For_serving_configuration


Hi
Thanks fro your answer

No, this is not the information i am looking for.
What I need is the "section" value that FS pass when using HTTP to get
the XML from.
This information is not available (at least, I don't know how to get it)
Thanks
Eli

_______________________________________________
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