Friday, March 10, 2006

A2billing on asterisk@home


I finally make it..

Heres how i do:

Specs:
Pentium III-800256mb Memory40 GB hdTDM400p digium card

>install asterisk@home 2.1>change security (root password, maint.....etc)
>change ip address
>yum -y update
>configure trunk with sip provider
>modify extensions_custom.conf with this settings
[from-external]
exten => s,1,Answer
exten => s,2,Wait,2
exten => s,3,DeadAGI,a2billing.php
exten => s,4,Wait,2
exten => s,5,Hangup

>modify zapata-auto.conf with this parameters
context=from-external
group=0
channel => 1 (up to 4)

#%^&**Patch**()#
http://sourceforge.net/forum/forum.php?thread_id=1396155&forum_id=420324
>read conversation and look for the following:
>cd /usr/src/a2billing/A2Billing_AGI
>cp -r libs_a2billing /var/lib/asterisk/agi-bin
>cd /var/lib/asterisk/agi-bin
>chown asterisk:asterisk libs_a2billing514
>configure the a2billing system(trunk,groups) andcreate pins for testing.
>insert local extensions or local POTS in tdm400 card
>call extension and will prompt the pin and dial thedestination.

thats it...

//jollyr

 Posted by Picasa

After revisiting the google and search for a picture manager i found Picasa which i used when it is on demo last 2 years(big improvement) then i see the link of the Hello program which is to manage a sharing of pictures on the fly when chatting to someone and i found link also of this blogger site on picasa which you can edit and publish blog like this.

One thing get interest of me is the google adds that is ready to register in this picasa application which pay you per click ( idont know if it is true) but i did not try yet thinking of paypal payment which is not applicable in the Philippines(banned).. Posted by Picasa

Thursday, March 09, 2006

RRD Tool Reference

Before installing rrdtool you must installthe following module

1. Time:HiRes
2. File-Tail
3. freetype
4. libart_lgpl

Now all the libraries are set go to RRD home page and follow the instruction how to install the rrdtool applicaion in the rrd build page.
note: if you get an error on libart and freetype module not found. edit the 'configure' in the rrdtool dir and put the ff.
eg. CPPFLAGS="$CPPFLAGS -I/usr/include/libart-2.0must be: CPPFLAGS="$CPPFLAGS -I/usr/local/include/libart-2.0
same also in freetype
eg.CPPFLAGS="$CPPFLAGS -I/usr/local/include/freetype2must be: CPPFLAGS="$CPPFLAGS -I/usr/local/include/freetype2
In the mailgraph.pl script just the following command line
eg: use lib qw(/usr/local/rrdtool-1.2.12/lib/perl ../lib/perl );
Same also in the mailgraph.cgi
eg: use lib qw(/usr/local/rrdtool-1.2.12/lib/perl ../lib/perl );
optional:looks like it cant find the perl module RRDs.pm try looking on the box for it with this commandline:
find / -name RRDs.pm