[Freeswitch-users] curl_xml
Milena
testeador01 at gmail.com
Mon May 24 07:34:49 PDT 2010
Hello,
You're not meant to send a whole website full of html tags as a response.
Just reply the part of the lines 29 - 46 on your pastebin and get rid of the
rest.
2010,
/5/24 Erwin Davis <davis.erwin at gmail.com>
> Hi, I am stuck, My console log is in http://pastebin.freeswitch.org/13030and my xml log is in
> http://pastebin.freeswitch.org/13029. I guess that the problem should be
> pretty small but I just can not figure it out. -:( Thanks for your help.
>
> On Mon, May 24, 2010 at 8:12 AM, Vitalii Colosov <vetali100 at gmail.com>wrote:
>
>> Hi Erwin,
>> Maybe you need to add the first line <?xml version="1.0" encoding="UTF-8"
>> standalone="no"?>
>>
>> This is what I have and it works perfectly, tested right now:
>>
>> <?xml version="1.0" encoding="UTF-8" standalone="no"?>
>> <document type="freeswitch/xml">
>> <section name="directory">
>> <domain name="$${domain}">
>> <params>
>> <param name="dial-string" value="{presence_id=${dialed_user}@
>> ${dialed_domain}}${sofia_contact(${dialed_user}@${dialed_domain})}"/>
>> </params>
>> <groups>
>> <group name="default">
>> <users>
>> <user id="1000">
>> <params>
>> <param name="a1-hash" value="somehashvalue"/>
>> <param name="vm-a1-hash" value="somehashvalue"/>
>> </params>
>> <variables>
>> <variable name="user_context" value="default"/>
>> <variable name="accountcode" value="1000"/>
>> </variables>
>> </user>
>> </users>
>> </group>
>> </groups>
>> </domain>
>> </section>
>> </document>
>>
>> Regards,
>> Vitalie
>>
>> _______________________________________________
>> 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/20100524/9221c8d9/attachment.html
More information about the FreeSWITCH-users
mailing list