I recently bought a new Droid cell phone and decided to embark on a project to use it in wifi hotspots as a wifi phone. The idea is that when I’m connected to a wifi connection out in town, I can connect back to my server at home with a SIP program, and then route the call out my normal phone line.
I would also like the reverse. When a call comes in, and the cell phone is in a wifi spot, to ring the cell phone.
Talking with the guys in IRC, I’ve come up with a network layout to accommodate this… Here is a visual representation
As of right now, this is exactly how the network is set up. The asterisk server is also my router and providing DHCP for my network as well.
Going deeper, I’m planning to use the 3102 as a gateway. The idea was for it convert the phone audio to VoiP and back again.
Sadly, I have underestimated the amount of software set up this takes. I went in thinking that the 3102 was a just a glorified modem with a sound card. When I got gateway, and the “quick set up” instructions were warning me that putting in the wrong phone cord could blow the gateway, I realized I bought a very complected piece of telephony equipment.
Taking a step back I decided to try and learn how to hook everything up using the “starfish book” but I’m getting lost right from the get-go. It assumes I have something called a “Zaptel” and when step 2 of setting up asterisk has you “load the Zaptel driver” I think something is up. Following the tutorials doesn’t help either. They go into dailplans and extenions with strange regex or something. They are telling me how to set up “x-lite” and such. I’m not interested in extensions or extra lines.
So now I’m completely confused. I guess I’m looking for help to set up the 3102 and the proper extentions.conf and sip.conf with the following configuration.
- When my home phone rings, and my cell phone’s SIP program is online (I’m in a wifi spot), pick up and forward the audio to the cell phone
- When I want to make a call on my cell phone with the SIP program, I want the 3102 to dial out with the number I gave it, and then route the audio to my cell phone.
- If the cell phone is not online, do nothing. I’ll either pick up the normal phone or let my answering machine get it. I don’t feel that adventurous to set up voice mail in asterisk after fighting with this thing for 4 days.
I tn the diagram, I have my “normal” phone in the 3102. When I did that up, I kind of assumed it was a pass-though, like a modem. I’ll probably just split of off my jack (I only have one jack in my apartment) and just use that like a plain old phone.
Anyways can I get a little help in the right direction. I’d date to think I wasted money on a switch and the 3102.