[Freeswitch-users] vBilling Beta Program!! - Review

Sherif Omran sherifomran2000 at yahoo.com
Sun Jan 8 01:06:34 MSK 2012


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_url=http://localhost/xmlcurl/index.php"/>
<X-PRE-PROCESS cmd="set" data="vBilling_xml_curl_binding=configuration|directory"/>
<X-PRE-PROCESS cmd="set" data="vBilling_xml_cdr_url=http://localhost/xmlcurl/index.php"/>
<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







--- On Wed, 1/4/12, nbhatti <nbhatti at gmail.com> wrote:

From: nbhatti <nbhatti at gmail.com>
Subject: Re: [Freeswitch-users] vBilling Beta Program!! - Review
To: freeswitch-users at lists.freeswitch.org
Date: Wednesday, January 4, 2012, 9:14 PM


And you would also have to change .htaccess

On Wed, Jan 4, 2012 at 4:08 AM, sherif omran [via freeswitch-users] <[hidden email]> wrote:




	Hi every body,

I had a chance 3 days to install vBilling manually, which was not so trivial and would like to share  my experience with you.



Installation script is clearly written, any developer with some linux experience can follow it and do the required changes. In fact, I did not use the installation script because I have custom modules enabled. Also, I use the freeswitch xml tree, which is different that what the script do. Additionally, I have BlueBox installed and they should work together.



The installation script creates a custom freeswitch.xml file with the required modules. If these freeswitch modules were not previously installed, you have to install them manually. No need to reinstall freeswitch again using (make install)



enable them in the freeswitch source and compile using
make
 modulename-install

Regarding the installation path:
I used Centos 6 Server

The software uses the /var/www/html/ folder as the base path. However, since i have bluebox installed, I tried to do the required changes in (freeswitch.xml) and install vBilling in /var/www/html/vBilling. However, after contacting Muhammed, he recommended to enabled mod-rewrite for the apache server. After checking out, I found that it was already enabled for centos using the .htaccess file. I could log to the front page but 404 error pops, if i enter the password leading to another path.  I checked the login php function and corrected the path. At least i could see that after login click, it was trying to call a page from the correct subfolder. However, I would not recommend to install it in a subfolder because it will not work properly. May be this needs some additional investement. When i placed it in the root web server folder, and made the required
 adjustments it worked fine.

During the installation, I had to create a database using the given script, however I changed the username and password in the mysql tag. It returned that i could not login to the frontpage, since the password in encrypted. I had then to install phpmyadmin to revert the changes and change the password from the frontpage.



It is now running fine. However, I still did not start playing with its reporting functions or any call log but it looks very promising.

If i install some script, I usually check for spying functions such as sending back precious information without a permission to the author. However, the software is really clean. I did not find any spying functions or backholes. I checked the PHP files as well.




Finally, i would like to thank Muhammed Bhatti for sharing this nice software with us. 

kind regards,
Sherif
 Omran

+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Sherif Omran Dr. sc. nat. 
(Title from University of Zurich)
Signal and Image Processing, Acoustics, Artificial Intelligence Engineer and Neural Scientist. Design, Modeling and Simulation. Expert in Biomedical devices and Cochlear Implants. Telecommunication Consultant and ERICSSON Certified Engineer.


Munich - Germany
e-mail: [hidden email] 
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++




--- On Tue, 1/3/12, Muhammad Naseer Bhatti <[hidden email]> wrote:



From: Muhammad Naseer Bhatti <[hidden email]>
Subject: Re: [Freeswitch-users] vBilling Beta Program!!


To: "FreeSWITCH Users Help" <[hidden email]>
Date: Tuesday, January 3, 2012,
 8:16 PM


Sherif, have you installed manually? If so, you would have to enable mod_rewrite in your apache configuration.


On Tue, Jan 3, 2012 at 9:08 PM, Sherif Omran <sherifomran2000 at ...> wrote:




Can you give more details how it does not work? I have the same situation.




I can reach the frontpage and when i give the username i get 404.

Is this the case you have?

Do you have Centos or Redhat ?


regards,
Sherif


--- On Tue, 1/3/12, Zenny <garbytrash at ...> wrote:





From: Zenny <garbytrash at ...>


Subject: Re: [Freeswitch-users] vBilling Beta Program!!


To: "FreeSWITCH Users Help" <freeswitch-users at ...>
Date: Tuesday, January 3, 2012, 11:18 AM





looks promising, but the user login does not work.

Best of luck, Mr. Bhatti and Happy New Year 2012, though belated to
all freeswitchers!

On 1/3/12, nbhatti <nbhatti at ...> wrote:




> Yes, it will support prepaid calling card and many more features soon.
>
> On Tue, Jan 3, 2012 at 3:17 AM, dfretes [via freeswitch-users]
> <ml-node+s2379917n7145235h43 at ...> wrote:




>> It looks great!
>>
>> Will vBilling support batch user/prepaid calling card creation?
>>
>> ________________________________
>> If you reply to this email, your message will be added to the discussion




>> below:
>> http://freeswitch-users.2379917.n2.nabble.com/vBilling-Beta-Program-tp6760999p7145235.html




>> To
 unsubscribe from vBilling Beta Program!!, click here.
>> NAML
>
>
> --
> View this message in context:
> http://freeswitch-users.2379917.n2.nabble.com/vBilling-Beta-Program-tp6760999p7145871.html




> Sent from the freeswitch-users mailing list archive at Nabble.com.

_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting at ...




http://www.freeswitchsolutions.com








Official FreeSWITCH
 Sites
http://www.freeswitch.org
http://wiki.freeswitch.org


http://www.cluecon.com



FreeSWITCH-users mailing list
FreeSWITCH-users at ...
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users




UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org





_________________________________________________________________________

Professional FreeSWITCH Consulting Services:

consulting at ...

http://www.freeswitchsolutions.com









Official FreeSWITCH Sites

http://www.freeswitch.org

http://wiki.freeswitch.org

http://www.cluecon.com



FreeSWITCH-users mailing list

FreeSWITCH-users at ...

http://lists.freeswitch.org/mailman/listinfo/freeswitch-users

UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users

http://www.freeswitch.org





-----Inline Attachment Follows-----

_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting at ...


http://www.freeswitchsolutions.com






Official FreeSWITCH Sites
http://www.freeswitch.org
http://wiki.freeswitch.org


http://www.cluecon.com

FreeSWITCH-users mailing list
FreeSWITCH-users at ...


http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users


http://www.freeswitch.org

_________________________________________________________________________

Professional FreeSWITCH Consulting Services:

[hidden email]

http://www.freeswitchsolutions.com





Official FreeSWITCH Sites

http://www.freeswitch.org
http://wiki.freeswitch.org


http://www.cluecon.com

FreeSWITCH-users mailing list

[hidden email]

http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users


http://www.freeswitch.org

	
	

	

	
	
		If you reply to this email, your message will be added to the discussion below:
		http://freeswitch-users.2379917.n2.nabble.com/vBilling-Beta-Program-tp6760999p7148890.html
	
	
		
		To unsubscribe from vBilling Beta Program!!, click here.



		NAML
	


	


View this message in context: Re: vBilling Beta Program!! - Review

Sent from the freeswitch-users mailing list archive at Nabble.com.

-----Inline Attachment Follows-----

_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting at freeswitch.org
http://www.freeswitchsolutions.com




Official FreeSWITCH Sites
http://www.freeswitch.org
http://wiki.freeswitch.org
http://www.cluecon.com

FreeSWITCH-users mailing list
FreeSWITCH-users at lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20120107/4ea076ca/attachment-0001.html 


Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users mailing list