<div dir="ltr">Hi,<br><br>I have installed freeswitch successfully and able to make SIP 2 SIP calls. I want&nbsp; to&nbsp; make&nbsp; registration using mod_curl.<br><br>So i made following changes ..<br><br><b>in xml_curl.conf.xml</b><br>
<br><br>&lt;configuration name=&quot;xml_curl.conf&quot; description=&quot;cURL XML Gateway&quot;&gt;<br><br>&nbsp; &lt;binding name=&quot;directory fetcher&quot;&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;param name=&quot;gateway-url&quot; value=&quot;<a href="http://localhost/directory.php">http://localhost/directory.php</a>&quot; bindings=&quot;directory&quot;/&gt;<br>
&nbsp;&nbsp;&nbsp; &lt;/binding&gt;<br>&lt;/configuration&gt;<br><br><br>in sofia.conf.xml <br><br><pre style="font-family: arial,sans-serif;"><font size="2"><b>&lt;param name=&quot;accept-blind-reg&quot; value=&quot;true&quot;/&gt;<br>
<br><br>in    directory.php<br><br><br></b>&lt;?php<br><br>header(&#39;Content-Type: text/xml&#39;);<br><br>$response = &lt;&lt;&lt; XML<br>&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot; standalone=&quot;no&quot;?&gt;<br>
<br>&lt;document type=&quot;freeswitch/xml&quot;&gt;<br>  &lt;section name=&quot;directory&quot; description=&quot;example_curl_directory&quot;&gt;<br>     &lt;domain name=&quot;<a href="http://192.168.1.10">192.168.1.10</a>&quot;&gt;<br>
       &lt;user id=&quot;vids&quot;&gt;<br>         &lt;params&gt;<br>           &lt;param name=&quot;password&quot; value=&quot;123456&quot;/&gt;<br>         &lt;/params&gt;<br>       &lt;/user&gt;<br>     &lt;/domain&gt;<br>
  &lt;/section&gt;<br>&lt;/document&gt;<br><br>XML;<br><br>die($response);<br><br>?&gt;<br><br><b><br><br>No when i am trying to register with user vids pass :123456 <br><br>i am getting the following message: <br><br><br>
</b></font></pre>2008-07-28 20:02:38 [WARNING] sofia_reg.c:1247 sofia_reg_parse_auth() can&#39;t find user [<a href="mailto:vids@192.168.1.10">vids@192.168.1.10</a>]<br>You must define a domain called &#39;<a href="http://192.168.1.10">192.168.1.10</a>&#39; in your directory and add a user with the id=&quot;vids&quot; attribute<br>
and you must configure your device to use the proper domain in it&#39;s authentication credentials.<br><br>my conf/directory/default.xml file contains :<br><br>&lt;include&gt;<br>&nbsp; &lt;!--the domain or ip (the right hand side of the @ in the addr--&gt;<br>
&nbsp; &lt;domain name=&quot;$${<a href="http://192.168.1.10">192.168.1.10</a>}&quot;&gt;<br>&nbsp;&nbsp;&nbsp; &lt;params&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;param name=&quot;dial-string&quot; value=&quot;{presence_id=${dialed_user}@${dialed_domain},transfer_fallback_extension=${dialed_user}}${sofia_contact(${dialed_domain}/${dialed_user}@${dialed_domain})}&quot;/&gt;<br>
&nbsp;&nbsp;&nbsp; &lt;/params&gt;<br><br>&nbsp;&nbsp;&nbsp; &lt;variables&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;variable name=&quot;record_stereo&quot; value=&quot;true&quot;/&gt;<br>&nbsp;&nbsp;&nbsp; &lt;/variables&gt;<br><br>&nbsp;&nbsp;&nbsp; &lt;X-PRE-PROCESS cmd=&quot;include&quot; data=&quot;default/*.xml&quot;/&gt;<br>
&nbsp; &lt;/domain&gt;<br><br>&lt;/include&gt;<br><br><br><br>Can anyone please help me .. where i am doing wrong ..<br><br><br><br>&nbsp;  <br clear="all"><br>-- <br>Thanks and Regards <br><br>Vidhya Sagar Dixit<br>
</div>