Freeswitch G729 pass through for Linksys Sipura

Submitted by devblog on Sun, 11/04/2010 - 17:40

After a rather long thread on the Freeswitch mailing lists I managed to get G729 passthru working on Freeswitch (svn 17048).

Requirements

mod_g729 should be enabled in modules.conf.xml.

In vars.xml G729 should be added to the codec prefs, or should be the only one if you are sure the provider(s) support G729.

  <X-PRE-PROCESS cmd="set" data="global_codec_prefs=G729,PCMU,PCMA,GSM,G7221@32000h,G7221@16000h,G722"/>

Free Pascal Win32 VersionInfo.pas

Submitted by devblog on Tue, 30/03/2010 - 00:01

I wanted to add some Windows version information into my Lazarus/FreePascal programs and tried these two options, one from Anders Melander , http://melander.dk/articles/versioninfo/ and the other a part of RXLib, a general Component Library developed for Delphi and ported to FreePascal, both of which are wrappers around the Win32 GetFileVersionInfo (and related) API functions.

Changing the font size in Drupal's Administration menu

Submitted by devblog on Mon, 18/01/2010 - 17:44

Tags:

Something you don't think you need until you see it.

The font size in the Administration Menu is 9pt, too small for my liking (your eyes, you mean - Ed).

To change it edit the file //sites/all/modules/admin_menu/admin_menu.css and change the font size. I prefer 12px.

/* $Id: admin_menu.css,v 1.25.2.4 2008/11/02 21:36:22 sun Exp $ */
/**
 * Administration Menu.
 *
 * Implementation of Sons of Suckerfish Dropdowns.
 * @see www.htmldog.com/articles/suckerfish
 **/

Line breaks, paragraphs and drupal input filters

Submitted by devblog on Sun, 27/12/2009 - 20:43

One area in Drupal that has always tripped me up is the matter of line breaks, paragraph breaks and formatting.

The culprits here are the Line Break Converter, the HTML Filter and the HTML Corrector.

It is an issue I have always had to work my head around, but I think I am now getting the hang of it.

Wherever the Line Break Converter comes across a line of text ending without a <br /> it adds a <br /> to ensure that when the web browser displays the page, the following text starts on a new line.

Setting up Domain Access on Drupal

Submitted by devblog on Tue, 17/11/2009 - 22:24

Tags:

Configuring Drupal for different publishing roles can be very time consuming. There are lots of modules to install, settings to configure, permissions and roles to grant, input formats, content types, and the whole bandwagon, and these can be very difficult to setup again when you create a new website.

You have to duplicate your database, delete your content and start again, hoping that you don't forget stuff you need.

Down with Grey on White fonts!!

Submitted by devblog on Sat, 12/09/2009 - 21:56

One of my pet hates on the web is grey on white fonts. They really annoy me, perhaps my eyesight isn't that good. For 600 years since Gutenberg mankind has been fed a healthy diet of black fonts on a white background, and all of a sudden the last twenty years has seen web page designers using grey and other pastel colours on a white background.

Do PHP and Drupal have a bright future? - A Tale of Two Blogs

Submitted by devblog on Sun, 18/01/2009 - 02:11

Tags:

I was going to add Dreamhost, but I will save it for another article (after I set up my promo code).

I have just set up my shiny new blog using Drupal of course, and been over to www.hiveminds.co.uk, the website/blog of my old pal Carl McDade to see how his site had been getting on. I learned how to compile a custom PHP and eaccelerator at Dreamhost from articles on his site. He had recently expressed dissatisfaction with PHP and Drupal, some sentiments I shared, and wound up turning comments into full blown articles.

Pages