[Asterisk-Users] Almost there--Remote connection

Benjamin on Asterisk Mailing Lists benjk.on.asterisk.ml at gmail.com
Tue Oct 19 13:44:41 MST 2004


On Tue, 19 Oct 2004 13:30:20 -0400, Ferguson, Michael
<ferguson at brvmlaw.com> wrote:
> I just realised that I neglected to mention that the remote GS100 phone
> is sitting behind a firewall also.

Double NAT ?! Boy, you are really asking for trouble.

It's either tunneling or FWD then.

Sign up for two free accounts with FWD at
http://www.freeworlddialup.com, one for your Asterisk server, one for
your Grandstream phone. Then on both the Asterisk server and the
phone, register with the FWD server. Put reinvite=no and
canreinvite=no into your sip.conf for FWD (or use IAX to connect to
FWD). Finally set up your dialplan so that you call the phone's FWD
number if you dial the extension you want to give the phone, like so

...
exten => 2001,3,Dial(SIP/12345 at fwd,60,r)
...

assuming that your Grandstream phone's FWD number was 12345

On your Asterisk server, the phone would then be known as 2001 but it
would be dialled as 12345 on FWD.

You could then send incoming calls from FWD with the caller ID of your
GS phone to a context where it gets an IVR menu that allows it to dial
other extensions on your Asterisk server.

keywords for this are GotoIf, Background and DISA.

rgds
benjk

-- 
Sunrise Telephone Systems, 9F Shibuya Daikyo Bldg., 1-13-5 Shibuya,
Tokyo, Japan.

NB: Spam filters in place. Messages unrelated to the * mailing lists
may get trashed.



More information about the asterisk-users mailing list