<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
<title></title>
</head>
<body 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 class="moz-txt-link-freetext" href="http://wiki.freeswitch.org/wiki/Xml_curl#Authorization">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>
Daniel<br>
<br>
</font></font>On 24.05.2010 00:27, Erwin Davis wrote:
<blockquote
cite="mid:AANLkTinDXvb_-69tK55KZIVurLjSkEP5cMrMTnXs7DXc@mail.gmail.com"
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 moz-do-not-send="true"
href="mailto:brian@freeswitch.org">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 moz-do-not-send="true"
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 class="im">
<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
moz-do-not-send="true" 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>
</body>
</html>