Archive for February, 2008

Install Asterisk Resources

Wednesday, February 6th, 2008

on Linksys PAP2v2 and DLink VTA-VR

Broadband reports Link by mazilo.

————————————————————
on WRT54G

Link

:

http://zandbelt.dyndns.org/asterisk.html

http://members.home.nl/hans.zandbelt/openwrt/kamikaze/packages/asterisk-1.4/

http://downloads.openwrt.org/whiterussian/packages/

————————————————————

Asterisk on OpenWRT

Link1

Link2

————————————————————

- download the source code and compile it

Link

————————————————————

Downloading and Compiling from

Link

My experience in installing Asterisk on WRT54GS

http://blog.nyworldphone.com/2008/02/06/my-experience-in-installing-asterisk-on-wrt54gs/

Sphere: Related Content

Asterisk QoS

Wednesday, February 6th, 2008

voip-info Link

Link

My experience in installing Asterisk on WRT54GS

Wednesday, February 6th, 2008

 I followed the post on Asterisk on OpenWRT: Asterisk on OpenWRT part 2. Now, I report my process and problems here.

  • vi /etc/ipkg.conf (see updated info)
  • src whiterussian http://downloads.openwrt.org/whiterussian/packages
    src acvs http://12.176.248.4/ipkg
    dest root /
    dest ram /tmp

  • ipkg update
  • ipkg -cvs
  • vi /etc//modules.conf (slim modules)
  • [modules]
    autoload=yes
    noload => pbx_gtkconsole.so
    ;load => pbx_gtkconsole.so
    noload => pbx_kdeconsole.so
    noload => pbx_dundi.so
    noload => app_intercom.so
    ; load => chan_modem.so
    noload => res_musiconhold.so
    noload => chan_modem.so
    noload => cdr_pgsql.so
    noload => cdr_mysql.so
    noload => chan_alsa.so
    ;noload => chan_oss.so
    [global]
    ; chan_modem.so=yes
  • Set startup (see update info)
  • Please see below problems I got in the installationi process.
    1. When I run ipkg update, I got the following errors:

    root@OpenWrt:/etc# ipkg update
    Downloading http://openwrt.org/ipkg/Packages
    wget: .org: Unknown host
    Downloading http://12.176.248.4/ipkg/Packages
    wget: Unable to connect to remote host (12.176.248.4): Network is unreachable
    Downloading http://nthill.free.fr/openwrt/ipkg/stable/Packages
    wget: nthill.free.fr: Unknown host
    Downloading http://nthill.free.fr/openwrt/ipkg/testing/Packages
    wget: nthill.free.fr: Unknown host
    Downloading http://www.wildcatwireless.net/wrt54g/Packages
    wget: www.wildcatwireless.net: Unknown host
    An error ocurred, return value: 5.
    Collected errors:
    ipkg_download: ERROR: Command failed with return value 1: `wget –passive-ftp    -q -P /tmp/ipkg-mWFahm http://openwrt.org/ipkg/Packages’
    ipkg_download: ERROR: Command failed with return value 1: `wget –passive-ftp    -q -P /tmp/ipkg-mWFahm http://12.176.248.4/ipkg/Packages’
    ipkg_download: ERROR: Command failed with return value 1: `wget –passive-ftp    -q -P /tmp/ipkg-mWFahm http://nthill.free.fr/openwrt/ipkg/stable/Packages’
    ipkg_download: ERROR: Command failed with return value 1: `wget –passive-ftp    -q -P /tmp/ipkg-mWFahm http://nthill.free.fr/openwrt/ipkg/testing/Packages’
    ipkg_download: ERROR: Command failed with return value 1: `wget –passive-ftp    -q -P /tmp/ipkg-mWFahm http://www.wildcatwireless.net/wrt54g/Packages’
     

    Run route -n, I saw that gateway was 0.0.0.0.  I’m actually using it behind my dlink router which has LAN ip 192.168.0.1. So I changed ip to 192.168.0.100 with gateway 192.168.0.1. My computer is connected to one LAN port on . Another cable connect another LAN port on to dlink LAN port.

    You could do it manually using the following commands or in the GUI:

    nvram set lan_ipaddr=192.168.0.100
    nvram set lan_gateway=192.168.0.1
    nvram set lan_dns=192.168.0.1
    where 192.168.0.1 is your gateway address
    if you use WAN connection, use the same command with  wan_gateway and wan_dns

    Then when I run “ipkg -cvs” to  , I got an error “src http://openwrt.org/ipkg is unreachable”. But it seems was installed properly.

    2. When I run , I got the same problem as in the comment of the post:

    : can’t load library ‘libgcc_s.so.1′

    and

    : can’t load library ‘libssl.so.0.9.7′

    ln -s /usr/lib/libssl.so.0.9.8 /usr/lib/libssl.so.0.9.7

    and

    ln -s /lib/libc.so.0 /lib/libgcc_s.so.1

    This solved the problems.

    3. When I try to register user 3000 on server, I got an error message: Username/auth name mismatch.

    In .conf, host = dynamic instead of host = xx.xx.xx.xx solved the problem.

    4. Unable to connect to remote , can’t access to CLI with -r

    Receiving the following error message:
    Unable to connect to remote (does /var/run/.ctl exist?)

    /var/run/.ctl does exist and is running.

     The problem was:

    Edit your .conf file: /etc//.conf

     then add these lines to it or just uncomment them if already exist.

     [files]
    astctlpermissions = 0660
    astctlowner =
    astctlgroup = pbx
    astctl = .ctl

    5. For the voicestick registering problem, I followed the post: http://www.asteriskextras.com/index.php?option=com_content&task=view&id=13&Itemid=2I will copy the post later.Comment by alen — February 4, 2007 @ 1:38 am | Edit This

    Problems continued:

    6. pap2 couldn’t register
    nat = yes
    problem solved.
    5. 503: service unavailabe
    I have .conf:[3000]
    type = friend
    context = default
    username = 3000
    host = dynamic
    mailbox = 3000
    dtmfmode = rfc2833
    nat = yes

     

    and

    [3001]
    type = friend
    context = default
    username = 3001
    host = dynamic
    mailbox = 3001
    dtmfmode = rfc2833
    nat = yes

    extension.conf:

    [internal]
    exten => 3000,1,Dial(/3000,30,Ttm)
    exten => 3000,2,Playback(invalid)
    exten => 3000,3,Hangup
    exten => 3001,1,Dial(/3001,30,Ttm)
    exten => 3001,2,Playback(invalid)
    exten => 3001,3,Hangup

    Result:
    3000 is fine.
    3001, I got 503: service unavailable

    Don’t know why. 

    Update:

    http://zandbelt.dyndns.org/asterisk.html

    for whiterussian has been taken down. for is now obsolete.

    Kamikaze is now the official stable version. But it’m not sure if Kamikaze has a version for wrt54gs v1.0 v2.0 2.1.

    In the links in http://lestblood.imagodirt.net/archives/106-Asterisk-on-OpenWRT-part-2.html, only http://12.176.248.4/ipkg is still available.

    I put the following in the /etc/ipkg.conf:

    src libncurses http://download2.berlios.de/pub/xwrt/packages
    src acvs http://12.176.248.4/ipkg
    dest root /
    dest ram /tmp

    It seems it works. Or use the download links.

    src whiterussian http://downloads.openwrt.org/whiterussian/packages
    src non-free http://downloads.openwrt.org/whiterussian/packages/non-free
    src acvs http://12.176.248.4/ipkg
    dest root /
    dest ram /tmp

    Start automatically at startup

    Add a simulink /etc/init.d/S60asterisk to

    ln -s S60asterisk 

    Then  put the following content in /etc/default/.

    vi /etc/default/:

    ## startup options for /etc/init.d/

    ENABLE_ASTERISK=”yes”
    OPTIONS=”"

    I checked later. It seems that if I make a simulink S99asterisk, it’ll work without vi /etc/default/: ln -s S60asterisk .

    For authenticate methods, please check here: http://blog.nyworldphone.com/2008/02/06/how-to-authenticate-users-by-callerid/.

    Sphere: Related Content

    Google Maps with My Location (beta)

    Wednesday, February 6th, 2008
    See your location on the map, with or without GPS. Save time and tedious keystrokes finding where you are, what's around you, and how to get there. Watch the video on the right to see how it works.

    Press “0″ and look for the blue dot: or

    If you have a GPS-enabled device, this blue dot corresponds to your GPS location. At times, or if you do not have a GPS-enabled phone, you might see the blue dot surrounded by a light blue circle (as shown on the right) to indicate uncertainty about your location.

    Why the uncertainty? The My Location feature takes information broadcast from mobile towers near you to approximate your current location on the map - it's not GPS, but it comes pretty close (approximately 1000m close, on average). We're still in beta, but we're excited to launch this feature and are constantly working to improve our coverage and accuracy.

    The My Location feature is available for most web-enabled mobile phones, including Java, BlackBerry, Windows Mobile, and Nokia/Symbian devices.

    Get more info on the My Location feature and supported devices, or discuss Google Maps and My Location with other users.

     
     

    source: http://www.google.com/gmm/mylocation.html?hl=en

    Sphere: Related Content

    Barablu: GTalk, Skype Users Talk Via WiFi VoIP

    Wednesday, February 6th, 2008

    Product Website

    AGEphone SoftPhone for mobile

    Wednesday, February 6th, 2008

    AGEphone is a software that allows you to make and receive telephone calls from your PC or Smartphone just like from a normal telephone.

    AGEphone offers great sound quality and a lot of features that come in handy, like importing your address book from Outlook, a speed dial function, an answering machine, call melodies, simultaneous use of multiple services and many more.

    download

    Sphere: Related Content

    Unlock the Motorola VT1000 ATA

    Wednesday, February 6th, 2008

    Link here

    Use serial port to do unlocking.

    How to read and write chinese on your WM5?

    Wednesday, February 6th, 2008

    How to read chinese on your WM5, without installing cestar/monster etc

    fontpatch for wm5: enable wm2005 to read chinese sms

    http://www.ppcsg.com/index.php?showtopic=67386&view=findpost&p=443007

    Loading Fonts from Storage space and not from RAM

    Chinese input

    Display Chinese unicode as well as BIG5, GB1232 etc

    Asus T9 Pinyin + Chinese font

    无敌快手IME版for WM5

    无敌快手IME版for wm2003

    Chinese font tweak

    Adding regional language in WM5

    PinYinIME

    spzhcn

    Dopod

    Sphere: Related Content

    Mobile Registry Editor

    Wednesday, February 6th, 2008

    PHM Registry Editor 0.70

    Mobile Registry Editor v1.11 (from PC)

    Links for PDA/PPC/SmartPhone

    Wednesday, February 6th, 2008

    http://www.ppcsg.com/index.php?showtopic=21507

    http://www.ppcsg.com/index.php?showtopic=58972

    http://www.ppcsg.com/index.php?showtopic=21507&st=60&p=307288&#entry307288

    http://www.ppcsg.com/index.php?showtopic=58687

    Sphere: Related Content