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">daniel.neubert@solomo.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 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">http://wiki.freeswitch.org/wiki/Xml_curl#Authorization</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">brian@freeswitch.org</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">http://wiki.freeswitch.org/wiki/Xml_curl#Response</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
http://pastebin.freeswitch.org/13006</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">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></blockquote></div><br>