Dear Guys,
I installed the vbilling sucessfully (no errors) in the freeswitch log. Here are my recommendations:
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
<X-PRE-PROCESS cmd="include" data="autoload_configs/*.xml"/>
Alternatively: I would recommend to create a file called vBilling.xml with the following contents
<include>
<!--
vBilling Custom Defines. START
--><X-PRE-PROCESS cmd="set" data="vBilling_xml_curl_binding=configuration|directory"/><X-PRE-PROCESS cmd="set" data="event_socket_listen_ip=127.0.0.1"/>
<X-PRE-PROCESS cmd="set" data="event_socket_listen_port=8021"/>
<X-PRE-PROCESS cmd="set" data="event_socket_password=ClueCon"/>
<!--
vBilling Custom Defines. END
-->
<section name="configuration" description="Various Configuration">
<X-PRE-PROCESS cmd="include" data="autoload_configs/*.conf.xml"/>
<configuration name="xml_curl.conf" description="cURL XML Gateway">
<bindings>
<binding name="production">
<param name="gateway-url" value="$${vBilling_xml_curl_url}" bindings="$${vBilling_xml_curl_binding}"/>
</binding>
</bindings>
</configuration>
</section>
<section name="dialplan" description="Regex/XML Dialplan">
<context name="default">
<extension name="vBilling">
<condition field="destination_number" expression="^(\d+)$">
<action application="lua" data="/usr/local/freeswitch/scripts/vBilling.luac"/>
<action application="bridge" data="${vBilling_bridge_data}"/>
</condition>
</extension>
</context>
</section>
</include>
In freeswitch.conf
Add the following line
<X-PRE-PROCESS cmd="include" data="vBilling.xml"/>
after the line saying
<section name="configuration" description="Various Configuration">
In Switch.conf
<param name="switchname" value="vBilling"/>
<param name="dump-cores" value="no"/>
Now it should be correctly installed. If you run ./freeswitch -nonat
you should not find any errors. Then run sofia status and you should see your profiles loaded.
However,
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?
2) ZRTP function stops?
any clue?
regards,
Sherif Omran