Posted: Mon Mar 28, 2011 0:08 Post subject: DD-WRT + Asterisk + Google Voice
I have a Linksys WRT610N V1. I've been able to install DD-WRT without any problem. I also set up Optware to run on a USB stick.
I would love to get asterisk running to accept and make google voice calls with a SIP phone. However, none of the stuff I've found so far really explains how to do this in a straighforward way. I don't have any asterisk experience at all, hence why this is complicated to me.
If anyone has any experience with this or has any good resources that are clear and explanatory, that would be great.
I would like to to know where to find such setup guides as well. _________________ 2 x Belkin F7D8301: v24-sp2 (07/20/12) mega (BrainSlayer 19519)
1 x Linksys E4200: mega (18024)
1 x Netgear WNDR3700: v24-sp2 (06/14/11) std (17201)
5 x Netgear WNDR3300: v24-sp2 (07/20/12) std (BrainSlayer 19519)
Install iksemel, an xml utility required by our favorite modules chan_gtalk and res_jabber
Code:
ipkg-opt install iksemel
Edit /opt/etc/asterisk/modules.conf
Code:
[modules]
autoload=no
load => format_pcm.so ; uLaw/ALaw
load => codec_ulaw.so ; mu-Law
load => format_g726.so ; Raw G.726
load => codec_g726.so ; g-726
load => format_gsm.so ; Raw gsm
load => codec_gsm.so ; gsm Coder/Decoder
load => app_dial.so ; Dialing
load => app_macro.so ; Extension Macros
load => app_playback.so ; Sound File Playback
load => app_mixmonitor.so ; Record calls
load => app_setcallerid.so ; Set CallerID
load => app_disa.so ; DISA
load => app_transfer.so ; Transfer calls
load => func_timeout.so ; Adjust timeout;
load => func_callerid.so ; Caller ID
load => func_logic.so ; GotoIf() and friends
load => func_strings.so ; String handling
load => pbx_config.so ; dialplan
load => pbx_spool.so ; call files work
load => chan_sip.so ; SIP
load => chan_gtalk.so ; Gtalk
load => res_jabber.so ; sign in Gtalk
load => res_musiconhold.so ; Music-on-Hold
load => func_shell.so ; Execute shell
load => func_channel.so ; channel information
load => cdr_csv.so ; call record
load => res_rtp_asterisk ; rtp, for 1.8
load => app_exec.so ; system command
load => app_system.so ; system command
load => func_global.so ; use global variables
load => func_math.so ; math func. for multi GV accounts
Now you're pretty much ready to set up Google Voice and Google Talk using the official Asterisk guide. I highly recommend reading the documentation at length, editing your asterisk.conf, etc. There is alot to consider regarding security, and your configuration may drastically differ from the next person depending on your needs. But that should be enough to get your first call made. The rest is up to you :)
The default modules.config is a big gotcha, because it blocks chan_gtalk and res_jabber by default, and autoloads many unnecessary modules. One of those modules was causing my asterisk to SEGFAULT upon recieving calls. Big thanks to Kate6 for figuring that out for me
Just to make it clear, Optware, the Right Way requires either a USB port with flash drive or an SD/MMC mod with flash card.
The wiki article only mentions that this is recommended. Does this mean that Optware, the Right Way can be enabled on routers that have large storage memory, for example 8 MB flash, but no USB port or SD mod?
Posted: Thu Jun 02, 2011 8:39 Post subject: additional Module to load
This post was exactly what I needed to get my Asterisk1.8+GoogleVoice running on my Asus WL-500Gp v2 router running DD-WRT! The only thing I ended up doing differently as far as the modules.conf file goes was I added the following line at the bottom:
load => func_db.so ; DB functions for incoming CID support
Is there "ANYWHERE" that I can find basic "step-by-step" setup instruction that will explain to me how to set up and use ASTERISK? Otherwise, ASTERISK is OF NO USE to me or anyone else who is not familiar with ASTERISK..
Thank You for the assistance. I found your posts and have been reading through the forum for several hours. I'm not doing so well. Most of it just doesn't make sense to me. The communication, terminology and information shared in the posts is way above my present understanding of Asterisk. I'm a electronic hardware individual and not literate in software or programming.
My present weakness is that 90% of the terminology being used is totally unfamiliar to me.
I purchased a second WRT600N for a backup knowing how much work it is to set one up in the event my primary WRT600N has a failure. The #2 WRT600N (supposedly a working unit) showed up bricked.. At least I have one good WRT600N with DD-WRT running and I see a half year of work nightly at my present rate of progress.
HEY!! I followed the link/information on your signature as you suggested. I located the book you mentioned, I did find it online in complete detail and bookmarked it for immediate use.
I also found the 500 page "hard copy" of the book on eBay and couldn't resist! I also bought the book. Looks like "ALL" the information that I will "need" to understand the entire program, modules, and also the TERMINOLOGY necessary to get me started. I'll enjoy the reading.