DD-WRT + Asterisk + Google Voice

Post new topic   This topic is locked: you cannot edit posts or make replies.    DD-WRT Forum Index -> Broadcom SoC based Hardware
Goto page 1, 2, 3, 4  Next
Author Message
thegash35
DD-WRT Novice


Joined: 28 Mar 2011
Posts: 1

PostPosted: Mon Mar 28, 2011 0:08    Post subject: DD-WRT + Asterisk + Google Voice Reply with quote
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.
Sponsor
XP1
DD-WRT User


Joined: 18 Aug 2007
Posts: 59

PostPosted: Wed Apr 06, 2011 2:27    Post subject: Reply with quote
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)
STARDOUSER
DD-WRT Novice


Joined: 24 Jan 2011
Posts: 35

PostPosted: Sat Apr 09, 2011 14:20    Post subject: Reply with quote
There is a step-by-step tutorial on the official Asterisk website for how to do this, but you'll need to make a few adjustments to do it on DD-WRT.

  1. Install OTRW
  2. remove the old version
    Code:
    ipkg-opt remove asterisk14

  3. install the new version
    Code:
    ipkg-opt install asterisk18

  4. Install iksemel, an xml utility required by our favorite modules chan_gtalk and res_jabber
    Code:
    ipkg-opt install iksemel

  5. 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 :)

You should go to the Asterisk Installation thread for any troubleshooting issues or further discussion.

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 Smile
XP1
DD-WRT User


Joined: 18 Aug 2007
Posts: 59

PostPosted: Sun Apr 17, 2011 17:51    Post subject: Reply with quote
Thanks for the nice post, STARDOUSER!

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?

Found this wiki article, which is still a work in progress in January 2011, but maybe useful in the future:
http://www.dd-wrt.com/wiki/index.php/Asterisk_1.8%2B_with_Google_Voice

_________________
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)
bluedragon0
DD-WRT Novice


Joined: 02 Jun 2011
Posts: 1

PostPosted: Thu Jun 02, 2011 8:39    Post subject: additional Module to load Reply with quote
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

I added this because it is required for Asterisk to use its internal database to look up caller ID names, as per this article: http://supermario-world.blogspot.com/2010/11/caller-id-with-google-voice-and.html.

Thanks again for a great post!
linksysg11
DD-WRT Novice


Joined: 02 Jun 2011
Posts: 1

PostPosted: Thu Jun 02, 2011 17:01    Post subject: Reply with quote
Thanks stardouser. That is exactly what I was looking for Smile
_________________
www.cabletrain.com
lawin
DD-WRT Novice


Joined: 12 Apr 2011
Posts: 2

PostPosted: Mon Aug 15, 2011 19:09    Post subject: Reply with quote
Thanks. This is what I've been searching for. I have WRT54GSv1.1 flashed with DD-WRT, with SD/MMC mod working, with OPTWARE installed.
lost-in-space
DD-WRT Novice


Joined: 05 Mar 2012
Posts: 30

PostPosted: Thu Mar 22, 2012 11:42    Post subject: Reply with quote
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..
gatorback
DD-WRT User


Joined: 04 Feb 2007
Posts: 426
Location: Fountain of Youth

PostPosted: Thu Mar 22, 2012 13:45    Post subject: Reply with quote
This forum along with the Digium Asterisk forum provided me with enough guidance to successful standup Asterisk with Gtalk.

This was the first time I have used Asterisk. It can be done.

_________________
My Routers | RT-N16 Wiki | TMO Cellspot Wiki
Peacock Flashing | Wireless N Conf | Linking Routers |
DD-WRT Wiki | DD-WRT Builds | Broadcom FAQ| QoS| OTRW
lost-in-space
DD-WRT Novice


Joined: 05 Mar 2012
Posts: 30

PostPosted: Thu Mar 22, 2012 16:15    Post subject: Reply with quote
Thank you, I'll take a look at Digium Asterisk.
gatorback
DD-WRT User


Joined: 04 Feb 2007
Posts: 426
Location: Fountain of Youth

PostPosted: Thu Mar 22, 2012 22:46    Post subject: Reply with quote
Search for my posting in the Digium forum. They document the learning curve.
_________________
My Routers | RT-N16 Wiki | TMO Cellspot Wiki
Peacock Flashing | Wireless N Conf | Linking Routers |
DD-WRT Wiki | DD-WRT Builds | Broadcom FAQ| QoS| OTRW
lost-in-space
DD-WRT Novice


Joined: 05 Mar 2012
Posts: 30

PostPosted: Fri Mar 23, 2012 1:33    Post subject: Reply with quote
Hello gator,

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.

I'm going to have to hire a software guy...
gatorback
DD-WRT User


Joined: 04 Feb 2007
Posts: 426
Location: Fountain of Youth

PostPosted: Fri Mar 23, 2012 4:48    Post subject: Reply with quote
Do not give up! Do not expect it to work on the first try. It took a while for me to get the system running. It was worth it!

Divide and conquer. If you have any questions you may PM me.

Look in the my Signature in the Digium forums and get the * book.

I know nothing about your model: I have mine working on the RT-N16. I am working on an Asus WL520GU.

_________________
My Routers | RT-N16 Wiki | TMO Cellspot Wiki
Peacock Flashing | Wireless N Conf | Linking Routers |
DD-WRT Wiki | DD-WRT Builds | Broadcom FAQ| QoS| OTRW
lost-in-space
DD-WRT Novice


Joined: 05 Mar 2012
Posts: 30

PostPosted: Sat Mar 24, 2012 1:50    Post subject: Reply with quote
Hi Gator..

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.


INDEX:

http://www.asteriskdocs.org/en/3rd_Edition/asterisk-book-html-chunk/index.html


You're GREAT!!



THANK YOU GATOR!!!
THANK YOU GATOR!!!
THANK YOU GATOR!!!
gatorback
DD-WRT User


Joined: 04 Feb 2007
Posts: 426
Location: Fountain of Youth

PostPosted: Sat Mar 24, 2012 4:35    Post subject: Reply with quote
When you get the OTRW working, you can post your router model here:

http://www.dd-wrt.com/wiki/index.php/Optware,_the_Right_Way#Getting_Started

When you are successful building your system, you are then eligible to become a contributor and augment the community. I look forward to hearing your success story.

_________________
My Routers | RT-N16 Wiki | TMO Cellspot Wiki
Peacock Flashing | Wireless N Conf | Linking Routers |
DD-WRT Wiki | DD-WRT Builds | Broadcom FAQ| QoS| OTRW
Goto page 1, 2, 3, 4  Next Display posts from previous:    Page 1 of 4
Post new topic   This topic is locked: you cannot edit posts or make replies.    DD-WRT Forum Index -> Broadcom SoC based Hardware All times are GMT

Navigation

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum