<div dir="ltr">Hello Sherif,<br>You don&#39;t need to include any other configuration files unless you really know what you are doing. You can create profiles from vBilling interface. Navigate to FreeSWITCH -&gt; New Profile and fill in the form. We are not using mod_cdr_csv. We are storing all the cdr(s) in the database using mod_xml_cdr. If you create your own profiles and gateways, I am afraid you won&#39;t be able to use vBilling.<br>

<br>For any vBilling issues, please post them to <a href="http://forum.vbilling.org/">http://forum.vbilling.org/</a> and someone would help you out.<br><br>Thanks.<br><br><div class="gmail_quote">On Sun, Jan 8, 2012 at 1:06 AM, Sherif Omran <span dir="ltr">&lt;<a href="mailto:sherifomran2000@yahoo.com">sherifomran2000@yahoo.com</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><table border="0" cellpadding="0" cellspacing="0"><tbody><tr><td style="font:inherit" valign="top">Dear Guys,<br><br>I installed the vbilling sucessfully (no errors) in the freeswitch log. Here are my recommendations:<br>

<br>1- vBilling creates a file called freeswitch.xml by default auto-install script. If you want to use it you have to add the following line in between lines 176 and 177 because it does not load any profiles by default<br>

<br>

















<p class="MsoNormal"><span style="font-family:Helvetica">&lt;X-PRE-PROCESS cmd=&quot;include&quot;
data=&quot;autoload_configs/*.xml&quot;/&gt;</span></p>





<br>Alternatively: I would recommend to create a file called vBilling.xml with the following contents<br><br><br><br>&lt;include&gt;<br><br>&lt;!--<br>vBilling Custom Defines. START<br>--&gt;<div class="im"><br>&lt;X-PRE-PROCESS cmd=&quot;set&quot; data=&quot;vBilling_xml_curl_url=<a href="http://localhost/xmlcurl/index.php" target="_blank">http://localhost/xmlcurl/index.php</a>&quot;/&gt;<br>

</div>&lt;X-PRE-PROCESS cmd=&quot;set&quot; data=&quot;vBilling_xml_curl_binding=configuration|directory&quot;/&gt;<div class="im"><br>&lt;X-PRE-PROCESS cmd=&quot;set&quot; data=&quot;vBilling_xml_cdr_url=<a href="http://localhost/xmlcurl/index.php" target="_blank">http://localhost/xmlcurl/index.php</a>&quot;/&gt;<br>

</div>&lt;X-PRE-PROCESS cmd=&quot;set&quot; data=&quot;event_socket_listen_ip=127.0.0.1&quot;/&gt;<br>&lt;X-PRE-PROCESS cmd=&quot;set&quot; data=&quot;event_socket_listen_port=8021&quot;/&gt;<br>&lt;X-PRE-PROCESS cmd=&quot;set&quot; data=&quot;event_socket_password=ClueCon&quot;/&gt;<br>

&lt;!--<br>vBilling Custom Defines. END<br>--&gt;<br><br><br>&lt;section name=&quot;configuration&quot; description=&quot;Various Configuration&quot;&gt;<br> &lt;X-PRE-PROCESS cmd=&quot;include&quot; data=&quot;autoload_configs/*.conf.xml&quot;/&gt;<br>

<br>&lt;configuration
 name=&quot;xml_curl.conf&quot; description=&quot;cURL XML Gateway&quot;&gt;<br>&lt;bindings&gt;<br>&lt;binding name=&quot;production&quot;&gt;<br>&lt;param name=&quot;gateway-url&quot; value=&quot;$${vBilling_xml_curl_url}&quot; bindings=&quot;$${vBilling_xml_curl_binding}&quot;/&gt;<br>

&lt;/binding&gt;<br>&lt;/bindings&gt;<br>&lt;/configuration&gt;<br>&lt;/section&gt;<br><br>&lt;section name=&quot;dialplan&quot; description=&quot;Regex/XML Dialplan&quot;&gt;<br>&lt;context name=&quot;default&quot;&gt;<br>

&lt;extension name=&quot;vBilling&quot;&gt;<br>&lt;condition field=&quot;destination_number&quot; expression=&quot;^(\d+)$&quot;&gt;<br>&lt;action application=&quot;lua&quot; data=&quot;/usr/local/freeswitch/scripts/vBilling.luac&quot;/&gt;<br>

&lt;action application=&quot;bridge&quot; data=&quot;${vBilling_bridge_data}&quot;/&gt;<br>&lt;/condition&gt;<br>&lt;/extension&gt;<br>&lt;/context&gt;<br>&lt;/section&gt;<br>&lt;/include&gt;<br><br><br>

















<p class="MsoNormal">In freeswitch.conf</p>

<p class="MsoNormal">Add the following line</p>

<p class="MsoNormal"><span>   
</span>&lt;X-PRE-PROCESS cmd=&quot;include&quot; data=&quot;vBilling.xml&quot;/&gt;</p>

<p class="MsoNormal">after the line saying</p>

<p class="MsoNormal"><span>  </span>&lt;section
name=&quot;configuration&quot; description=&quot;Various
Configuration&quot;&gt;</p>

<p class="MsoNormal">In Switch.conf</p>

<p class="MsoNormal">&lt;param name=&quot;switchname&quot; value=&quot;vBilling&quot;/&gt;</p>

<p class="MsoNormal">&lt;param name=&quot;dump-cores&quot;
value=&quot;no&quot;/&gt;</p>





<br>Now it should be correctly installed. If you run ./freeswitch -nonat <br>you should not find any errors. Then run sofia status and you should see your profiles loaded.<br><br><br>However, <br><br>1) in my case, when i do a call and i check it being registered in the log/cdr-csv/Master.csv  , I still can not find it in the vBilling system? did i miss any configuration? Should I create a user first in vBilling system before testing a call? <br>

<br>2) ZRTP function stops?<br><br>any clue?<br><br>regards,<br>Sherif Omran<br><br><br><br></td></tr></tbody></table></blockquote></div><br></div>