[Freeswitch-users] curl_xml

Vitalii Colosov vetali100 at gmail.com
Mon May 24 05:12:38 PDT 2010


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100524/098811ca/attachment.html 


More information about the FreeSWITCH-users mailing list