Asterisk PBX on Linksys NSLU2 and Linksys SPA3102 

[ add comment ] ( 22 views ) permalink ( 3 / 91 )
Connect office X-Lite to asterisk server behind NAT  

Here is the my config to allow X-Lite outside network to connect asterisk server behind NAT:

sip.conf

externip = external_ip

[xlite]
;Turn off silence suppression in X-Lite ("Transmit Silence"=YES)!
;Note that Xlite sends NAT keep-alive packets, so qualify=yes is not needed
type=friend
regexten=401 ; When they register, create extension 401
username=xlite
secret=password
context=default
callerid="Vincent Li" <401>
host=dynamic
nat=no ; X-Lite is behind a NAT router
canreinvite=yes ; Typically set to NO if behind NAT
disallow=all
allow=ulaw
allow=gsm ; GSM consumes far less bandwidth than ulaw
mailbox=401@default

Then port forwarding sip controling 5060 and rtp port range 8000-20000 from my linksys router to my internal asterisk server

also see http://www.voip-info.org/wiki-Asterisk+ ... +solutions

[ add comment ] permalink ( 3 / 101 )
Linksys NSLU2 and Asterisk PBX system initial setup 

So the NSLU2 is flashed with unslung linux firmware, I followed the http://www.nslu2-linux.org/wiki/Unslung/Asterisk and http://www.nslu2-linux.org/wiki/Unslung ... ionForSlug to initally set up my first open source asterisk pbx system. I tried the softphone xlite from my powerbook to ibook labtop, it did not work at the network of my working place (UBC), but it does work at home network. here is a snap shot of my NSLU2 asterisk pbx box with two xlite on two mac laptops:


[ add comment ] ( 6 views ) permalink ( 3 / 108 )
SpamAssassin Chinese rules 

I trimmed some chinese rules from geewhiz to run fast with spamassassin

http://bl0g.blogdns.com/rules/99_geewhizg_mcli_zh.cf
http://bl0g.blogdns.com/rules/50_scores ... mcli_zh.cf
[ add comment ] permalink ( 3 / 103 )
Lower end network attached storage - Linksys NSLU2 

I got my brand new Linksys NSLU2, yay! I spent half day to read the documentation on http://www.nslu2-linux.org/ and successfully flashed the firmware and boot the box up from external USB Lacie drive
There is some trouble when I try to usling to the external usb drive. everytime when I boot the box up without usb harddrive, followed the unslung readme to enable the telnet from web, then attached the usb drive, the box won't recognize the usb drive. After reading the http://www.nslu2-linux.org/wiki/HowTo/T ... gCondition here is the final steps i got it worked:

1, Connect the usb lacie disk to powerbook, and format it as HFS Journal filesystem from disk utility
2, attach the usb drive with the NSLU2 box, power it up
3, format the usb drive with ext3 from web
4, reboot the box
5, enble the telnet from web,
6, telnet to the box using account root and password uNSLUng
7, /sbin/usling -nopw disk2
8, reboot the box, that is it

There is still a mistery that from step 4 and 6. From the usling readme. it says I should always dettach the usb drive before enable the telnet and telnet to NSLU2, otherwise, the password uNSLUng won't work because if the usb drive was attached, the password won't be uNSLUng but the factory password which nobody knows. It seems not true in my case. I am not sure If I can duplicate the same step, and it will work though, as it is painful to do so.
[ add comment ] permalink ( 3 / 112 )

Back Next