<html><body bgcolor="#FFFFFF"><div>Have you turned in XML curl debugging at the console to see what exactly is happening when the XML comes back? Do xml_curl debug on at the fscli then make a test call, capturing the console output. Drop it in pastebin and link to it in this thread. </div><div><br></div><div>-MC<br><br>Sent from my iPhone</div><div><br>On May 23, 2010, at 6:45 PM, Erwin Davis <<a href="mailto:davis.erwin@gmail.com">davis.erwin@gmail.com</a>> wrote:<br><br></div><div></div><blockquote type="cite"><div>Hi, Daniel,<br><br>I modified my xml template to be same as yours, but still not work. Could it be something else wrong? How to debug? Appreciate if any tips. Thanks,<br><br><document type="freeswitch/xml"><br>
<section name="directory" description="User Directory"><br> <domain name="192.168.1.31"> <br> <user id="1018"><br>
<params><br> <param name="password" value="1018"/><br> </params><br> <variables><br>
<variable name="sip-force-contact" value="NDLB-connectile-dysfunction"/><br> </variables><br> </user><br> </domain><br>
</section><br> </document> <br><br><div class="gmail_quote">On Sun, May 23, 2010 at 5:40 PM, Daniel Neubert <span dir="ltr"><<a href="mailto:daniel.neubert@solomo.de"><a href="mailto:daniel.neubert@solomo.de">daniel.neubert@solomo.de</a></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 bgcolor="#ffffff" text="#000000">
<font size="-1"><font face="Verdana">Hi Erwin,<br>
<br>
Your XML does not look valid/complete - please refer to
<a href="http://wiki.freeswitch.org/wiki/Xml_curl#Authorization" target="_blank"><a href="http://wiki.freeswitch.org/wiki/Xml_curl#Authorization">http://wiki.freeswitch.org/wiki/Xml_curl#Authorization</a></a> for an example
response.<br>
<br>
My XML looks like this (stripped down to minimal requirements):<br>
<br>
<document type="freeswitch/xml"><br>
<section name="directory" description="User Profile"><br>
<domain name="{domain}"><br>
<user id="USERNAME"><br>
<params><br>
<param name="password" value="PASSWORD"/><br>
</params><br>
<variables><br>
<variable name="sip-force-contact"
value="NDLB-connectile-dysfunction"/><br>
</variables>
<br>
</user><br>
</domain><br>
</section><br>
</document><br>
<br>
Regards, <br><font color="#888888">
Daniel<br>
<br>
</font></font></font><div><div></div><div class="h5">On 24.05.2010 00:27, Erwin Davis wrote:
<blockquote type="cite">Hi, Brian,<br>
<br>
I carefully follow up the template from the link you provided, but my
x-lit client still received 403 forbidden response. What should I look
at next?<br>
Below is the xml response from my web server. Thanks,<br>
<br>
<document type="freeswitch/xml"><br>
<section name="directory" description="User
Directory"><br>
<domain name="192.168.1.31"> <br>
<groups><br>
<group name="default"><br>
<users><br>
<user id="1018"><br>
<params><br>
<param name="password"
value="1018"/><br>
</params><br>
</user><br>
</users><br>
</group><br>
</groups><br>
</domain><br>
</section><br>
</document> <br>
<br>
<br>
e<br>
<div class="gmail_quote">On Wed, May 19, 2010 at 7:42 AM, Brian West <span dir="ltr"><<a href="mailto:brian@freeswitch.org" target="_blank"><a href="mailto:brian@freeswitch.org">brian@freeswitch.org</a></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 style="word-wrap: break-word;">Yes that is wrong you're
missing some stuff please read: <a href="http://wiki.freeswitch.org/wiki/Xml_curl#Response" target="_blank"><a href="http://wiki.freeswitch.org/wiki/Xml_curl#Response">http://wiki.freeswitch.org/wiki/Xml_curl#Response</a></a>
<div><br>
</div>
<font color="#888888">
<div>/b</div>
</font>
<div>
<div><br>
<div>
<div>On May 19, 2010, at 9:40 AM, Erwin Davis wrote:</div>
<br>
<blockquote type="cite"><span style="border-collapse: separate; font-family: Helvetica; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px;"><span style="border-collapse: separate; font-family: Helvetica; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px;"><a href="http://pastebin.freeswitch.org/13007" target="_blank">the xml log file is in
<a href="http://pastebin.freeswitch.org/13006">http://pastebin.freeswitch.org/13006</a></a><br>
<br>
The webserver sent back the response as below,<br>
</span>
<ol>
<li>
<div> <domain name="<span>192.168</span><span>.1</span><span>.31</span>"></div>
</li>
<li>
<div> <user id="<span>1018</span>"></div>
</li>
<li>
<div> <params></div>
</li>
<li>
<div> <param name="password"
value="<span>1018</span>"/></div>
</li>
<li>
<div> </params></div>
</li>
<li>
<div> </user></div>
</li>
<li>
<div> </domain> </div>
</li>
<li>
<div> </div>
</li>
</ol>
<br>
</span></blockquote>
</div>
<br>
</div>
</div>
</div>
</blockquote>
</div>
<br>
</blockquote>
</div></div></div>
<br>_______________________________________________<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org"><a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a></a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank"><a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a></a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank"><a href="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</a></a><br>
<a href="http://www.freeswitch.org" target="_blank"><a href="http://www.freeswitch.org">http://www.freeswitch.org</a></a><br>
<br></blockquote></div><br>
</div></blockquote><blockquote type="cite"><div><span>_______________________________________________</span><br><span>FreeSWITCH-users mailing list</span><br><span><a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a></span><br><span><a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a></span><br><span>UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users</span><br><span><a href="http://www.freeswitch.org">http://www.freeswitch.org</a></span><br></div></blockquote></body></html>