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 )
cdrecord on Yellow dog linux 

run cdrecord --scanbus, it gives me:

scsibus0:
0,0,0 0) 'SONY ' 'DVD RW DW-Q28A ' 'KAS7' Removable CD-ROM
0,1,0 1) *
0,2,0 2) *
0,3,0 3) *
0,4,0 4) *
0,5,0 5) *
0,6,0 6) *
0,7,0 7) *

but cdrecord -v dev=0,0,0 iso_file complains that could not open /dev/pg0.

my /etc/fstab has:

/dev/hda /media/cdrecorder auto pamconsole,exec,noauto,managed 0 0

So ln -s /dev/hda /dev/pg0 make the cdrecord work, simple but nice trick

[ add comment ] permalink ( 3 / 107 )

Back Next