Skip to main content

Posts

Showing posts with the label asterisk

a2billing on Karmic Koala

During install a2billing on Karmic Koala by follow this wiki. In Step9 I get this error. root@freeradius:/usr/local/src/a2billing/CallBack# easy_install callback-daemon-py/dist/callback_daemon-1.0.prod_r1527-py2.5.egg Processing callback_daemon-1.0.prod_r1527-py2.5.egg Copying callback_daemon-1.0.prod_r1527-py2.5.egg to /usr/local/lib/python2.6/dist-packages Adding callback-daemon 1.0.prod-r1527 to easy-install.pth file Installing a2b_callback_daemon script to /usr/local/bin Installed /usr/local/lib/python2.6/dist-packages/callback_daemon-1.0.prod_r1527-py2.5.egg Processing dependencies for callback-daemon==1.0.prod-r1527 Searching for callback-daemon==1.0.prod-r1527 Reading http://pypi.python.org/simple/callback-daemon/ Couldn't find index page for 'callback-daemon' (maybe misspelled?) Scanning index of all packages (this may take a while) Reading http://pypi.python.org/simple/ No local packages or download links found for callback-daemon==1.0.prod-r1527 error: Could not f...

Try Asterisk on Ubuntu Hardy

I try install asterisk server on ubuntu hardy from repos. The 'asterisk-sounds-extra' is for testing sound[locate in /usr/share/asterisk/sounds/]. pnix@v400ast:~$ sudo aptitude install asterisk asterisk-sounds-extra Reading package lists... Done Building dependency tree Reading state information... Done Reading extended state information Initializing package states... Done Building tag database... Done The following NEW packages will be automatically installed: asterisk-config asterisk-sounds-main build-essential debhelper dpkg-dev g++ g++-4.2 gettext html2text intltool-debian libc-client2007 libc6-dev libcompress-raw-zlib-perl libcompress-zlib-perl libct3 libdigest-hmac-perl libdigest-sha1-perl libfile-remove-perl libgsm1 libiksemel3 libio-compress-base-perl libio-compress-zlib-perl libio-stringy-perl libmail-box-perl libmail-sendmail-perl libmailtools-perl libmime-types-perl libobject-realize-later-perl libpq5 libpri1.0 libradiusclient-ng2 libstd...

R4FXO channel did not hang up

Last time , configure r4fxo on trixbox using genzaptelconf command will generate zapata-channels like this. ;;; line="4 FXO/1/3 FXSKS (In use)" signalling=fxs_ks callerid=asreceived group=0 context= from-pstn channel => 4 context=default This look ok except context is set to 'from-pstn', I can make outbound and inbound call with out any problem except the call will never hang up!!!. To fix this problem[from this post ], change 'context=from-pstn'[bold above] to 'context=from-zaptel'.

Talk to asterisk with Asterisk-java

I just found the java way to talk to my trixbox. With Asterisk-java you can handle call from asterisk server via the FastAGI protocal , use the Manager api to connect to Asterisk server, send action and handle event. Last the Live api instead of using actions and events like the Manager api it use active domain objects (live objects) that represent Asterisk concepts like a channel or an extension. more example on tutorial page .

R4FXO card Installation note

Last year I have played with trixbox for two week and leave it sit under my desk for a long time. Last week I just got a new card to play with. It's Rhino R4FXO[4 FXO ports]. My goal now is make trixbox know the card and config it properly. I start with reinstall trixbox with the almost latest version[trixbox ce 2.4.2]. Upgrade all packages[Include zaptel driver 1.4.9.2-4] note: this zaptel driver is not work with current rhino driver in repos[for now 21/03/08]. It need to manual download the driver and install from console[ more detail ] After base system is ready. Install R4FXO card. 1. Shutdown the box. 2. Put R4FXO card to the pci slot. Boot trixbox again and run command 'genzaptelconf' to generate configuration files automatically. The config file is '/etc/zaptel.conf' and '/etc/asterisk/zapata-chanels.conf'. mine is look like this. [trixbox1.localdomain ~]# cat /etc/asterisk/zapata-channels.conf ; Autogenerated by /usr/sbin/genzaptelconf -- do not han...

Try Trixbox

Today, my company has a new project that need to deal with voip stuff. My boss wants me to going to see what's wrong with email function on the box he's setting up(It can't send email to user when others leave him a voice mail). It use trixbox and he try to fix it for a week. I don't want to interfere his system, It's work fine as a main pbx for our company except that email problem. So I setup a new box to test. After installation finish(very easy just put installation disc into cd drive and wait about 20 mins.), I use browser browse to the Trixbox configuration page. Fews things need to do before go furture. First login to Package manager(need to register) site to install two trixbox modules(webmin and phpmyadmin).Next install&upgrade modules of FreePBX. Now, my freepbx is ready to add a new user and I'll have my own voip network. My new setup box is work perfectly include email function. When I leave someone a voice mail, Trixbox sends him and email sud...