<div dir="ltr"><div>Hi,</div>
<div> </div>
<div>First of all sorry to post again as i didn't see my mail in list ..</div>
<p>I have installed freeswitch successfully and able to make SIP 2 SIP calls. I want to make registration using mod_curl.</p>
<p>So i made following changes ..</p>
<p>in xml_curl.conf.xml</p>
<p><br><configuration name="xml_curl.conf" description="cURL XML Gateway"></p>
<p> <binding name="directory fetcher"><br> <param name="gateway-url" value="<a href="http://localhost/directory.php">http://localhost/directory.php</a>" bindings="directory"/><br>
</binding><br></configuration></p>
<p><br>in sofia.conf.xml </p>
<p><br><param name="accept-blind-reg" value="true"/><br>in directory.php<?phpheader('Content-Type: text/xml');$response = <<< XML<?xml version="1.0" encoding="UTF-8" standalone="no"?><br>
<document type="freeswitch/xml"> <section name="directory" description="example_curl_directory"> <domain name="<a href="http://192.168.1.10">192.168.1.10</a>"><br>
<user id="vids"> <params> <param name="password" value="123456"/> </params> </user> </domain><br> </section></document>XML;die($response);?>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't find user [<a href="mailto:vids@192.168.1.10">vids@192.168.1.10</a>]<br>You must define a domain called '<a href="http://192.168.1.10">192.168.1.10</a>' in your directory and add a user with the id="vids" attribute<br>
and you must configure your device to use the proper domain in it's authentication credentials.</p>
<p>my conf/directory/default.xml file contains :</p>
<p><include><br> <!--the domain or ip (the right hand side of the @ in the addr--><br> <domain name="$${<a href="http://192.168.1.10">192.168.1.10</a>}"><br> <params><br> <param name="dial-string" value="<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})}"/</a>><br>
</params></p>
<p> <variables><br> <variable name="record_stereo" value="true"/><br> </variables></p>
<p> <X-PRE-PROCESS cmd="include" data="default/*.xml"/><br> </domain></p>
<p></include></p>
<p> </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>