Festival + Asterisk 

Just setup text2speech software festival to work with asterisk, festival should be patched to work with asterisk, but there is simple way to patch it, read the festival.README in asterisk source contrib directory.

start festival first, then add extension in asterisk:

[incoming]

; incoming calls from the FXO port are directed to this context from zapata.conf

exten => s,1,Answer
exten => s,n,Festival(Welcome to open source asterisk pbx telephone system. this is vincent. press one reach me at office. press two reach me at home. press three leave me message. press four play subtraction addition game. press five listen my favorite song. press six ping an eye-p address type pound sign as dot)

[ add comment ] permalink ( 3.1 / 70 )
voipstunt config for my home asterisk 

With following config, I can make cheap long distance voip call to China

sip.conf

[voipstunt]
type=friend ; (or "peer" if we don't need incoming call)s
host=sip.voipstunt.com
disallow=all
allow=ulaw
allow=alaw
allow=gsm
allow=g726
username=myusername
fromuser=myusername
secret=secret
qualify=1000 ; optional
canreinvite=no ; new SIP servers don't like reINVITEs
dtmfmode=inband ; only inband currently works, and not that well

extensions.conf

[out-voipstunt]
; outgoing voipstunt
exten => _0086.,1,Dial(SIP/${EXTEN}@voipstunt)

[default]

; include outgoing voipstunt
include => out-voipstunt



[ add comment ] permalink ( 3.4 / 101 )
My newer version of SpamAssassin P0f plugin 

[ add comment ] ( 11 views ) permalink ( 3 / 94 )
file utility upgrade 

Amaivsd security alert:

http://www.amavis.org/security/asa-2007-3.txt

when I upgrade file-4.20 to file-4.21 on Fedora core 3, run file command complains:
"file: version mismatch (4 != 2) in `/usr/local/share/file/magic.mgc'"

link old magic.mgc make the error message gone

ln -s /usr/share/file/magic.mgc /usr/local/share/file/magic.mgc
[ add comment ] permalink ( 3 / 85 )
SpamAssassin Malformed UTF-8 character 

Running latest SpamAssassin-3.2.0-rc3 with some SARE rules will generate tons of "Malformed UTF-8 character...", here is the relevant bug summary:

http://issues.apache.org/SpamAssassin/s ... gi?id=3787

There are multiple ways to avoid this problem in the bug report. My simple way would be adding "use bytes;" back to Message.pm module, It will break normalize_charset, since I don't have rules written in other language, I guess I can escape this problem.
[ add comment ] permalink ( 3 / 96 )

Back Next