Phil,<br><br>I am always on IRC under jmesquita or jmesquita_ (maybe even both). I was out on vacation, thats why it took me a while longer to reply, sorry about that.<br><br>Mesquita<br><br><div class="gmail_quote">On Mon, Jan 12, 2009 at 7:45 AM, <span dir="ltr"><<a href="mailto:can_man@gmx.de">can_man@gmx.de</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div class="Ih2E3d"><br>
<br>
> Take a look at the wiki for this module. I have been updating it<br>
> constantly and there are a lot of new information there.<br>
><br>
> <a href="http://wiki.freeswitch.org/wiki/Mod_xml_curl" target="_blank">http://wiki.freeswitch.org/wiki/Mod_xml_curl</a><br>
><br>
<br>
</div>Thank you for your answer. I got all my info from the wiki page and partly from this list, and I think<br>
the wiki page is lacking some info which would make it much easier for a beginner to understand.<br>
I am happy to add info, but currently I don't know what's the best way of doing things, so I don't see<br>
myself in a position to change the page considerably. Maybe us two could meet on IRC at one point in order<br>
to make some changes together.<br>
<br>
Cheers,<br>
Phil<br>
<div><div></div><div class="Wj3C7c"><br>
<br>
><br>
> On Jan 5, 2009, at 1:16 PM, <a href="mailto:can_man@gmx.de">can_man@gmx.de</a> wrote:<br>
><br>
> ><br>
> > Hello,<br>
> ><br>
> > I have been looking into the xml curl directory binding and I would<br>
> > like to update the wiki with the accepted best practice. I have<br>
> > listed the HTTP POST request I am getting and how I respond. If<br>
> > there is a better way please let me know and I will update the wiki<br>
> > accordingly. Btw, what I have done works - so no bug hunting this<br>
> > time ;-)<br>
> > I will make a pylons webserver available in the next few days,<br>
> > starting with dialplan and directory support.<br>
> ><br>
> > Thank you,<br>
> > Phil<br>
> ><br>
> ><br>
> > At boot:<br>
> > HTTP POST request 1<br>
> ><br>
> > [('hostname', u'voip'), ('section', u'directory'), ('tag_name',<br>
> > u''), ('key_name', u''), ('key_value', u'')]<br>
> ><br>
> > my response:<br>
> > <?xml version="1.0" encoding="UTF-8" standalone="no"?><br>
> > <document type="freeswitch/xml"><br>
> > <section name="directory" description="arbitrary stuff here"><br>
> > </section><br>
> > </document><br>
> ><br>
> > I have left the response empty as I want to provide the users at<br>
> > runtime.<br>
> ><br>
> > -----------------------------------------------------------------------<br>
> > At boot:<br>
> > HTTP POST request 2<br>
> ><br>
> > [('hostname', u'voip'), ('section', u'directory'), ('tag_name',<br>
> > u''), ('key_name', u''), ('key_value', u'')]<br>
> ><br>
> > my response:<br>
> > <?xml version="1.0" encoding="UTF-8" standalone="no"?><br>
> > <document type="freeswitch/xml"><br>
> > <section name="directory" description="arbitrary stuff here"><br>
> > </section><br>
> > </document><br>
> ><br>
> > -----------------------------------------------------------------------<br>
> > At boot:<br>
> > HTTP POST request 3<br>
> ><br>
> > [('hostname', u'voip'), ('section', u'directory'), ('tag_name',<br>
> > u'domain'), ('key_name', u'name'), ('key_value', u'192.168.178.22'),<br>
> > ('domain', u'192.168.178.22'), ('purpose', u'network-list')]<br>
> ><br>
> > my response:<br>
> > <?xml version="1.0" encoding="UTF-8" standalone="no"?><br>
> > <document type="freeswitch/xml"><br>
> > <section name="directory" description="arbitrary stuff here"><br>
> > </section><br>
> > </document><br>
> ><br>
> ><br>
> > What is meant by network list here? If all the users should be<br>
> > loaded at boot time, is this the request which should get a response<br>
> > with the complete list?<br>
> ><br>
> > ----------------------------------------------------------------------<br>
> ><br>
> > During runtime following this action:<br>
> ><br>
> > <?xml version="1.0" encoding="UTF-8" standalone="no"?><br>
> > <document type="freeswitch/xml"><br>
> > <section name="dialplan" description="RE Dial Plan For FreeSwitch"><br>
> > <context name="public"><br>
> > <extension name="test10000"><br>
> > <condition field="destination_number" expression="^(10000)$"><br>
> > <action application="voicemail" data="default $${domain} 315"/><br>
> > </condition><br>
> > </extension><br>
> > </context><br>
> > </section><br>
> > </document><br>
> ><br>
> ><br>
> > HTTP POST request:<br>
> > ('hostname', u'voip'), ('section', u'directory'), ('tag_name',<br>
> > u'domain'), ('key_name', u'name'), ('key_value', u'192.168.178.22'),<br>
> > ('mailbox', u'315'), ('key', u'id'), ('user', u'315'), ('domain',<br>
> > u'192.168.178.22'), ('ip', u'217.10.79.9')<br>
> ><br>
> > my response:<br>
> > <?xml version="1.0" encoding="UTF-8" standalone="no"?><br>
> > <document type="freeswitch/xml"><br>
> > <section name="directory" description="arbitrary stuff here"><br>
> > <domain name="192.168.178.22"> //change to your domain<br>
> > <groups><br>
> > <group name="default"><br>
> > <users><br>
> > <user id="315" mailbox="315"><br>
> > <params><br>
> > <param name="password" value="1234"/><br>
> > <param name="vm-password" value="0000"/><br>
> > </params><br>
> > <variables><br>
> > <variable name="accountcode" value="315"/><br>
> > <variable name="user_context" value="default"/><br>
> > <variable name="vm_extension" value="315"/><br>
> > <variable name="max_calls" value="1"/><br>
> > <variable name="fail_over" value="415"/><br>
> > <variable name="cringback" value="us-ring"/><br>
> > </variables><br>
> > </user><br>
> > </users><br>
> > </group><br>
> > </groups><br>
> > </domain><br>
> > </section><br>
> > </document><br>
> > --<br>
> > Psssst! Schon vom neuen GMX MultiMessenger gehört? Der kann`s mit<br>
> > allen: <a href="http://www.gmx.net/de/go/multimessenger" target="_blank">http://www.gmx.net/de/go/multimessenger</a><br>
> ><br>
> > _______________________________________________<br>
> > Freeswitch-users mailing list<br>
> > <a href="mailto:Freeswitch-users@lists.freeswitch.org">Freeswitch-users@lists.freeswitch.org</a><br>
> > <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
> > UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
> > <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
><br>
><br>
> _______________________________________________<br>
> Freeswitch-users mailing list<br>
> <a href="mailto:Freeswitch-users@lists.freeswitch.org">Freeswitch-users@lists.freeswitch.org</a><br>
> <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
> UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
> <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<br>
</div></div><font color="#888888">--<br>
Sensationsangebot verlängert: GMX FreeDSL - Telefonanschluss + DSL<br>
für nur 16,37 Euro/mtl.!* <a href="http://dsl.gmx.de/?ac=OM.AD.PD003K1308T4569a" target="_blank">http://dsl.gmx.de/?ac=OM.AD.PD003K1308T4569a</a><br>
</font><div><div></div><div class="Wj3C7c"><br>
_______________________________________________<br>
Freeswitch-users mailing list<br>
<a href="mailto:Freeswitch-users@lists.freeswitch.org">Freeswitch-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
</div></div></blockquote></div><br>