[Freeswitch-users] curl_xml
Michael S Collins
msc at freeswitch.org
Sun May 23 20:43:27 PDT 2010
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.
-MC
Sent from my iPhone
On May 23, 2010, at 6:45 PM, Erwin Davis <davis.erwin at gmail.com> wrote:
> Hi, Daniel,
>
> 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,
>
> <document type="freeswitch/xml">
> <section name="directory" description="User Directory">
> <domain name="192.168.1.31">
> <user id="1018">
> <params>
> <param name="password" value="1018"/>
> </params>
> <variables>
> <variable name="sip-force-contact"
> value="NDLB-connectile-dysfunction"/>
> </variables>
> </user>
> </domain>
> </section>
> </document>
>
> On Sun, May 23, 2010 at 5:40 PM, Daniel Neubert <daniel.neubert at solomo.de
> > wrote:
> Hi Erwin,
>
> Your XML does not look valid/complete - please refer to http://wiki.freeswitch.org/wiki/Xml_curl#Authorization
> for an example response.
>
> My XML looks like this (stripped down to minimal requirements):
>
> <document type="freeswitch/xml">
> <section name="directory" description="User Profile">
> <domain name="{domain}">
> <user id="USERNAME">
> <params>
> <param name="password" value="PASSWORD"/>
> </params>
> <variables>
> <variable name="sip-force-contact" value="NDLB-
> connectile-dysfunction"/>
> </variables>
> </user>
> </domain>
> </section>
> </document>
>
> Regards,
> Daniel
>
> On 24.05.2010 00:27, Erwin Davis wrote:
>>
>> Hi, Brian,
>>
>> 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?
>> Below is the xml response from my web server. Thanks,
>>
>> <document type="freeswitch/xml">
>> <section name="directory" description="User Directory">
>> <domain name="192.168.1.31">
>> <groups>
>> <group name="default">
>> <users>
>> <user id="1018">
>> <params>
>> <param name="password"
>> value="1018"/>
>> </params>
>> </user>
>> </users>
>> </group>
>> </groups>
>> </domain>
>> </section>
>> </document>
>>
>>
>> e
>> On Wed, May 19, 2010 at 7:42 AM, Brian West <brian at freeswitch.org>
>> wrote:
>> Yes that is wrong you're missing some stuff please read: http://wiki.freeswitch.org/wiki/Xml_curl#Response
>>
>> /b
>>
>> On May 19, 2010, at 9:40 AM, Erwin Davis wrote:
>>
>>> the xml log file is in http://pastebin.freeswitch.org/13006
>>>
>>> The webserver sent back the response as below,
>>> <domain name="192.168.1.31">
>>> <user id="1018">
>>> <params>
>>> <param name="password" value="1018"/>
>>> </params>
>>> </user>
>>> </domain>
>>>
>>>
>>
>>
>
> _______________________________________________
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-
> users
> http://www.freeswitch.org
>
>
> _______________________________________________
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-
> users
> http://www.freeswitch.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100523/d9324e6e/attachment.html
More information about the FreeSWITCH-users
mailing list