<div dir="ltr"><div>Hi,</div>
<div>&nbsp;</div>
<div>First of all sorry to post again as i didn&#39;t see my mail in list ..</div>
<p>I have installed freeswitch successfully and able to make SIP 2 SIP calls. I want&nbsp; to&nbsp; make&nbsp; registration using mod_curl.</p>
<p>So i made following changes ..</p>
<p>in xml_curl.conf.xml</p>
<p><br>&lt;configuration name=&quot;xml_curl.conf&quot; description=&quot;cURL XML Gateway&quot;&gt;</p>
<p>&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;</p>
<p><br>in sofia.conf.xml </p>
<p><br>&lt;param name=&quot;accept-blind-reg&quot; value=&quot;true&quot;/&gt;<br>in&nbsp;&nbsp;&nbsp; directory.php&lt;?phpheader(&#39;Content-Type: text/xml&#39;);$response = &lt;&lt;&lt; XML&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot; standalone=&quot;no&quot;?&gt;<br>
&lt;document type=&quot;freeswitch/xml&quot;&gt;&nbsp; &lt;section name=&quot;directory&quot; description=&quot;example_curl_directory&quot;&gt;&nbsp;&nbsp;&nbsp;&nbsp; &lt;domain name=&quot;<a href="http://192.168.1.10">192.168.1.10</a>&quot;&gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;user id=&quot;vids&quot;&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;params&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;param name=&quot;password&quot; value=&quot;123456&quot;/&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/params&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/user&gt;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/domain&gt;<br>&nbsp; &lt;/section&gt;&lt;/document&gt;XML;die($response);?&gt;No when i am trying to register with user vids pass :123456 i am getting the following message: <br>
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.</p>
<p>my conf/directory/default.xml file contains :</p>
<p>&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;<a href="mailto:%7Bpresence_id=$%7Bdialed_user%7D@$%7Bdialed_domain%7D,transfer_fallback_extension=$%7Bdialed_user%7D%7D$%7Bsofia_contact($%7Bdialed_domain%7D/$%7Bdialed_user%7D@$%7Bdialed_domain%7D)%7D%22/">{presence_id=${dialed_user}@${dialed_domain},transfer_fallback_extension=${dialed_user}}${sofia_contact(${dialed_domain}/${dialed_user}@${dialed_domain})}&quot;/</a>&gt;<br>
&nbsp;&nbsp;&nbsp; &lt;/params&gt;</p>
<p>&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;</p>
<p>&nbsp;&nbsp;&nbsp; &lt;X-PRE-PROCESS cmd=&quot;include&quot; data=&quot;default/*.xml&quot;/&gt;<br>&nbsp; &lt;/domain&gt;</p>
<p>&lt;/include&gt;</p>
<p>&nbsp;</p>
<p>Can anyone please help me .. where i am doing wrong ..<br clear="all"><br>-- <br>Thanks and Regards <br><br>Vidhya Sagar Dixit<br></p></div>