Philipp,<div><br></div><div>Have you tried to add the &lt;groups&gt; and &lt;group&gt; XML elements? The wiki mentions those as part of a minimal request:</div><div><br></div><div><br></div><div><meta charset="utf-8"><span class="Apple-style-span" style="font-family: sans-serif; font-size: 13px; line-height: 19px; "><pre style="padding-top: 1em; padding-right: 1em; padding-bottom: 1em; padding-left: 1em; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-style: dashed; border-right-style: dashed; border-bottom-style: dashed; border-left-style: dashed; border-top-color: rgb(47, 111, 171); border-right-color: rgb(47, 111, 171); border-bottom-color: rgb(47, 111, 171); border-left-color: rgb(47, 111, 171); color: black; background-color: rgb(249, 249, 249); line-height: 1.1em; ">
&lt;document type=&quot;freeswitch/xml&quot;&gt;
  &lt;section name=&quot;directory&quot;&gt;
    &lt;domain name=&quot;domain1.awesomevoipdomain.faketld&quot;&gt;
      &lt;params&gt;
        &lt;param name=&quot;dial-string&quot; value=&quot;{presence_id=${dialed_user}@${dialed_domain}}${sofia_contact(${dialed_user}@${dialed_domain})}&quot;/&gt;
      &lt;/params&gt;
<b>      &lt;groups&gt;
        &lt;group name=&quot;default&quot;&gt;
</b>         &lt;users&gt;
          &lt;user id=&quot;1004&quot;&gt;
            &lt;params&gt;
              &lt;param name=&quot;password&quot; value=&quot;some_password&quot;/&gt;
            &lt;/params&gt;
          &lt;/user&gt;
         &lt;/users&gt;
<b>        &lt;/group&gt;
      &lt;/groups&gt;
</b>    &lt;/domain&gt;
  &lt;/section&gt;
&lt;/document&gt;</pre></span><div>Try that and see.</div><div>-MC</div><br><div class="gmail_quote">On Thu, Apr 14, 2011 at 12:15 PM, Philipp Kempgen <span dir="ltr">&lt;<a href="mailto:philipp.kempgen@amooma.de">philipp.kempgen@amooma.de</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">Hi,<br>
<br>
I&#39;m playing with mod_xml_curl per<br>
<a href="http://wiki.freeswitch.org/wiki/Mod_xml_curl#bindings.3D.22directory.22" target="_blank">http://wiki.freeswitch.org/wiki/Mod_xml_curl#bindings.3D.22directory.22</a><br>
but having some problems.<br>
<br>
Softphone (username &quot;11&quot;) sends a REGISTER to FreeSwitch (1.0.6)<br>
at 192.168.65.133.<br>
<br>
xml_curl.conf.xml:<br>
---------------------------------------------------------------<br>
  &lt;binding name=&quot;users directory&quot;&gt;<br>
    &lt;param name=&quot;gateway-url&quot; value=&quot;<a href="http://127.0.0.1:3000/freeswitch-directory-entries/search.xml" target="_blank">http://127.0.0.1:3000/freeswitch-directory-entries/search.xml</a>&quot; bindings=&quot;directory&quot; /&gt;<br>

  &lt;/binding&gt;<br>
---------------------------------------------------------------<br>
<br>
FS sends a lookup request to the web service. Parameters:<br>
---------------------------------------------------------------<br>
section=directory<br>
...<br>
key=id<br>
user=11<br>
domain=192.168.65.133<br>
---------------------------------------------------------------<br>
<br>
Fine.<br>
<br>
The response is:<br>
---------------------------------------------------------------<br>
&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot; standalone=&quot;yes&quot;?&gt;<br>
&lt;document type=&quot;freeswitch/xml&quot;&gt;<br>
  &lt;section name=&quot;directory&quot;&gt;<br>
    &lt;domain name=&quot;192.168.65.133&quot;&gt;<br>
      &lt;users&gt;<br>
        &lt;user id=&quot;11&quot; number-alias=&quot;1111&quot;&gt;<br>
          &lt;params&gt;<br>
            &lt;param name=&quot;dial-string&quot; value=&quot;${sofia_contact(<a href="mailto:11@192.168.65.133">11@192.168.65.133</a>)}&quot; /&gt;<br>
            &lt;param name=&quot;password&quot; value=&quot;123&quot; /&gt;<br>
            &lt;param name=&quot;vm-password&quot; value=&quot;417906717460606223&quot; /&gt;<br>
          &lt;/params&gt;<br>
          &lt;variables&gt;<br>
            &lt;variable name=&quot;accountcode&quot; value=&quot;11&quot; /&gt;<br>
            &lt;variable name=&quot;effective_caller_id_number&quot; value=&quot;foo&quot; /&gt;<br>
            &lt;variable name=&quot;effective_caller_id_name&quot; value=&quot;Foo, Foo&quot; /&gt;<br>
            &lt;variable name=&quot;outbound_caller_id_number&quot; value=&quot;foo&quot; /&gt;<br>
            &lt;variable name=&quot;outbound_caller_id_name&quot; value=&quot;Foo, Foo&quot; /&gt;<br>
            &lt;variable name=&quot;user_context&quot; value=&quot;default&quot; /&gt;<br>
            &lt;variable name=&quot;toll_allow&quot; value=&quot;domestic,international,local&quot; /&gt;<br>
            &lt;variable name=&quot;callgroup&quot; value=&quot;users&quot; /&gt;<br>
          &lt;/variables&gt;<br>
        &lt;/user&gt;<br>
      &lt;/users&gt;<br>
    &lt;/domain&gt;<br>
  &lt;/section&gt;<br>
&lt;/document&gt;<br>
---------------------------------------------------------------<br>
<br>
But I get a complaint on the console:<br>
[WARNING] sofia_reg.c:1872 Can&#39;t find user [<a href="mailto:11@192.168.65.133">11@192.168.65.133</a>]<br>
You must define a domain called &#39;192.168.65.133&#39; in your directory<br>
and add a user with the id=&quot;11&quot; attribute and you must configure<br>
your device to use the proper domain in it&#39;s authentication<br>
credentials.<br>
<br>
What can it be?<br>
<br>
A domain with name=&quot;192.168.65.133&quot; and a user with id=&quot;11&quot; is in<br>
the response, so why doesn&#39;t sofia find it?<br>
<br>
<br>
    Philipp<br>
<br>
<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>
</blockquote></div><br></div>