Adobe Runtime Error AppData

June 27th, 2010

Updated to the latest version of Adobe Acrobat Pro (to 9.3) and it started crashing on me. Got a runtime error and then adobe would crash. After searching the internet I found a blurb which fixed it right away.

“In Win 7 the Application Data folder has a restriction on it. The account “Everyone” has a special permission of “Deny”. If you modify the permission for “Everyone”, the Deny checkmark is on the “List folder / read data” line. Remove the checkmark on the Deny for that line. Acrobat will now work.”

Hope this helps someone!

Pure VOIP VS PRI pros and cons

March 24th, 2010

Very interesting discussion on why someone should not go with JUST a VOIP solution. Read at

http://www.trixbox.org/forums/trixbox-forums/trunks/sip-vs-pri-pros-cons

Some reasons why PIAF is better on VMWare

March 19th, 2010

http://www.trixbox.org/forums/trixbox-forums/help/re-improving-quality-vmware

Clockdrift on Trixbox on Esxi

March 19th, 2010

The following website has some tips on the clock drifting inside Trixbox on Esxi.

http://www.trixbox.org/forums/trixbox-forums/help/clock-drift-trixbox-vm-vmware-esxi

find mysql database size

February 3rd, 2010

The following query finds out how many bytes is a specific table in your database.

select SUM(data_length) + SUM(index_length) as size from information_schema.tables where table_schema = ‘mydb’;

Transferring Directories from Linux to Windows

December 13th, 2009

This link explains everything…basically you need to pass some parameters to smbclient after connecting and then start the transfer using mput. Its amazing!!!

http://www.techsneeze.com/smbclient-to-backup-files-from-linux-to-a-windows-server

Trixbox 2.8.0.2 Segregating Extensions

December 2nd, 2009

I have the following scenario.
One trixbox server
Three company’s, A, B and C.
Company A’s extensions 100, 101, 102
Company B’s extensions 103,104,105
Company C’s extensions 106,107,108

All companies use the same trunks for outgoing calls and the same trunks for incoming calls. Based on the incoming DID, calls get routed to the correct company’s extension.

I wanted to stop Company A’s extensions from dialing Company B’s or C’s extensions and vice-versa for all three company’s.
There is an excellent module that you can add to trixbox called “custom contexts” and you can get it from
http://www.freepbx.org/support/documentation/module-documentation/third-party-unsupported-modules/customcontexts

All the instructions are at the website but I’ll write the gist of it here.
After installing the module I had “Custom Contexts” on the left side menu in trixbox’s admin website. Created a new custom context called 100-102 and in description wrote “Company A’s Extensions”
In Dial Rules, I added
103
104
105
106
107
108
Then under Set All To I chose Deny Rules. Hit submit and then apply. Then go to Extensions. For each of Company A’s extensions choose “Company A’s Extensions” under Device Options Custom Context drop down box and hit submit and apply and VOILA, Company A cannot dial all the extensions I added in the dial rules. ANYTHING aside from that works like its supposed to!

Now do the same thing for Company B (as in create the custom context like 103-105) add the extensions you do not want it to dial, Set All to Deny Rules, modify each extension to Custom Context and done!

Same deal for Company C and that’s it!! You are now running three different company’s extensions OFF of ONE trixbox server! Hope this helps someone!

Trixbox 2.8.0.2 Callback

December 2nd, 2009

Callback took a bit of work to get working.
1. Had to install Ruby on my trixbox machine. Did a yum install ruby.
2. Had to backup my old callback config. Did a mv /var/lib/asterisk/bin/callback /var/lib/asterisk/bin/callback.original
3. Had to download a script from http://wiki.github.com/jsgoecke/freepbx_callback and then extrack ‘callback’ to /var/lib/asterisk/bin
4. Had to set permissions on the script by doing chmod +x /var/lib/asterisk/bin/callback
5. Had to add the following parameters to /etc/amportal.conf
CALLBACK_PREFIX=
CALLBACK_CLI=Callback
CALLBACK_RETRY=1
CALLBACK_INTERVAL=10
CALLBACK_WAIT=30
6. Had to re-read the configs.

That was it. Now my callback works PERFECTLY!! Hope this helps someone!
This is all taken from this link http://wiki.github.com/jsgoecke/freepbx_callback

Trixbox Mysql remote login

November 24th, 2009

I wanted to write my own PHP script to get CDR information out of Trixbox’s Mysql database. Find out a handy command that lets me define a user to login remotely to Trixbox’s Mysql specifying an IP Address. The command is

GRANT ALL PRIVILEGES ON *.* TO USERNAME@IP IDENTIFIED BY “PASSWORD”

Got this information from this website

http://help.hardhathosting.com/question.php/87

Hope this helps someone!

Trixbox Raid Rebuild and Email Monitoring

November 22nd, 2009

Two resources which helped me set up Raid Rebuild, Raid Email Monitoring and to simulate a Raid Failure to get an Email Notification are the following websites:-

1. http://ubuntuforums.org/showthread.php?t=1185134

2. http://linux-raid.osdl.org/index.php/Detecting,_querying_and_testing

For my Trixbox 2.8.0.2 these are the general steps that I took:-

Made sure there was my ISP’s SMTP server in Settings -> General Settings

Opened up the file /etc/mdadm.conf using vi /etc/mdadm.conf

Then I modified the line MAILADDR root to MAILADDR my@email.com

Then I added the line MAILFROM fromemail@email.com

Save and close mdadm.conf

run

mdadm --monitor --scan --test --oneshot

You should get an email with a subject that says Test Message Event on /dev/something

Then I ran

mdadm --monitor --scan --daemonize --test --syslog

and that was it!! Now whenever there is a failure of any one of the drives in my trixbox I get an email telling me so!!

To simulate a failure to test it out follow the instructions on the second link I provided at the top. It has detailed instructions on how to do a software raid failure test!

Hope this helps someone!