<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div>Hi Gabe,</div><div><br></div><br><div><div>On 22 sep 2012, at 06:51, Gabriel Gunderson wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div>Peter,<br><br>It's hard to know exactly what you're asking, so I'm going to ask a<br>few follow-up questions...<br><br>On Tue, Sep 18, 2012 at 4:57 AM, Peter van Raamsdonk <<a href="mailto:peetzer@gmail.com">peetzer@gmail.com</a>> wrote:<br><blockquote type="cite">I'm setting up FreeSwitch and I'm using mod xml curl.<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">I catch all calls and redirect them (post from Freeswitch to my servlet) to<br></blockquote><blockquote type="cite">my handler.<br></blockquote><br>OK, so we're talking about handeling the dialplan section of the XML here.<br><br><font class="Apple-style-span" color="#b4783c">Yes, correct, I put section in the dialplan to my servlet.</font><br><br><blockquote type="cite">I give all 'sip' extension configurations dynamically back in xml.<br></blockquote><br>And now, we're talking about handeling the directory here, right?<br><br><font class="Apple-style-span" color="#b4783c">Yes only the directory (but can also be dialplan or configuration)</font><br><br><blockquote type="cite">How does the complete configuration look of a basic Gtalk client?<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite"><a href="http://wiki.freeswitch.org/wiki/Dingaling#Sample_Configuration_.28Google.29">http://wiki.freeswitch.org/wiki/Dingaling#Sample_Configuration_.28Google.29</a><br></blockquote><br>I think that link has the answer to your question. Doesn't it?<br><br></div></blockquote><font class="Apple-style-span" color="#b4783c">This I have seen, but was wondering to put all together as with normal extension (directory). The config file is also referencing the exten (extension file) Since the xml is not static, I get the login/ password and type of phone from my application.</font></div><div><font class="Apple-style-span" color="#b4783c">FreeSwitch asks me for the configuration by a post and I return the xml. This works for normal SIP extensions, just returning the xml with userid. I would like to return the dingaling and extension all together. <br></font><blockquote type="cite"><div><br><blockquote type="cite">Can you include the extension in the client profile?<br></blockquote><br>You might be thinking about it incorrectly. From the looks of it (and<br>I don't do much with mod_dingaling), you don't tie a google account to<br>each user. It's more like you configure that google user in the same<br>way you might configure a sofia gateway -- it allows you to call into<br>and out of the system.<br><br></div></blockquote><font class="Apple-style-span" color="#b4783c">Only for Gtalk phones, I know the type.</font><br><blockquote type="cite"><div><br><blockquote type="cite">Ps, is it also possible to stop automatic posts to my handler? I want to be<br></blockquote><blockquote type="cite">able to control this manually by runing for example "reloadacl" command.<br></blockquote><br>Nope. If you set a section of the XML to be dynamic, it's going to be<br>dynamic. You can however return a "not found" response and FreeSWITCH<br>will then look on the disk to see if there is anything available:<br><br><a href="http://wiki.freeswitch.org/wiki/Mod_xml_curl#General_.22Not_found.22_reply">http://wiki.freeswitch.org/wiki/Mod_xml_curl#General_.22Not_found.22_reply</a><br><br></div></blockquote><font class="Apple-style-span" color="#b4783c">Numbers unknown or a specific alfanumeric extension I handle with fifo but this leads to a new question ;)</font><br><blockquote type="cite"><div><br>Good luck. Hope I helped more than I confused the situation :)<br><br><font class="Apple-style-span" color="#b4783c">Thank you for replying and thinking along! The static configuration works with both Gtalk config and extension, this I tested. I want however to register all type of phones dynamically by mod curl and won't make use of static files. I have to return a Gtalk configuration + extension (user) somehow in my complete xml that I return.</font></div></blockquote><div><font class="Apple-style-span" color="#b4783c"><br></font></div><font class="Apple-style-span" color="#b4783c"><a href="http://wiki.freeswitch.org/wiki/Mod_xml_curl#bindings.3D.22directory.22">http://wiki.freeswitch.org/wiki/Mod_xml_curl#bindings.3D.22directory.22</a></font><br><blockquote type="cite"><div> <br><br>Gabe<br><br>_________________________________________________________________________<br>Professional FreeSWITCH Consulting Services:<br><a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>http://www.freeswitchsolutions.com<br><br>FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>http://www.cudatel.com<br><br>Official FreeSWITCH Sites<br>http://www.freeswitch.org<br>http://wiki.freeswitch.org<br>http://www.cluecon.com<br><br>FreeSWITCH-users mailing list<br>FreeSWITCH-users@lists.freeswitch.org<br>http://lists.freeswitch.org/mailman/listinfo/freeswitch-users<br>UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users<br>http://www.freeswitch.org<br></div></blockquote></div><br></body></html>