[Asterisk-Users] Re: Remote SIP Connections

Francis Ballares ballares at gmail.com
Thu Jul 7 06:03:45 MST 2005


You can try to open up port for SIP 5060udp and RTP 100000-20000udp...
(default setting) to your asterisk box. You will also have to specify
that your extensions are nat=yes & your externip=xxx.xxx.xxx.xxx (in
SIP.conf) so that the SDP protocol will write the public IP and port
translations for RTP (voice data).  If this doesn't work,  switch to
IAX2 protocol-  there are many hard-phones out there that support IAX2
protocol-  You will only have to open up 4569udp on your firewall to
your asterisk box and thats it.

I have given my relatives an IAX2 hardphone so that we can all
communicate... everything works well... (plus-  I didn't have to
configure or troubleshoot their firewall...major time saver!!!). 
Before you buy a Hardphone-  try using an IAX2 softphone and see how
it does for you...  you can download one here:

http://www.laser.com/dante/diax/diax.html

cheers,
francis








On 7/6/05, Blake Krone <blakekrone at gmail.com> wrote:
> forgot to include the list
> 
> ---------- Forwarded message ----------
> From: Blake Krone <blakekrone at gmail.com>
> Date: Jul 6, 2005 9:07 PM
> Subject: Re: [Asterisk-Users] Re: Remote SIP Connections
> To: dbruce <dbruce at bananatel.ca>
> 
> 
> Just had my brother connect from his time warner cable in minnesota to
> my adelphia in colorado springs, both NAT'd and I have my DMZ on,
> still nothing :(
> 
> Any other ideas???
> I wanted to setup an asterisk server so I could have VoIP in the house
> but then send SIP phones to my parents in Minnesota to save on long
> distance costs and cell minute usage.
> 
> Thanks!
> 
> On 7/5/05, Blake Krone <blakekrone at gmail.com> wrote:
> > Well I had it setup with DMZ and port forwarding, removed the port
> > forwards and still no luck :(
> >
> > Might end up going back to @home seen as other things like music on
> > hold won't work properly, maybe something is just messed up in my
> > gentoo install of asterisk.
> >
> > -Blake
> >
> > On 7/5/05, dbruce <dbruce at bananatel.ca> wrote:
> > > You have forgotten that the WRT54G is a NAT router.
> > >
> > > The phones that are trying to connect to your server are also very likely to
> > > be behind a NAT router. This make it almost impossible to tell what ports
> > > are actually going to be used for inbound or outbound traffic... many NAT
> > > routers do not attach any significance to SIP protocol messages. Add to that
> > > the fact that many IP phones do not use the same port range for RTP that
> > > asterisk uses by default, and you have a VERY difficult time determining
> > > which port ranges need to be forwarded.
> > >
> > > Your easiest solution is to remove the forwarding rules, give your asterisk
> > > server a static IP address on your local network, and configure that IP
> > > address as the DMZ. All unsolicited requests to the router are sent to the
> > > IP address configured as the DMZ.
> > >
> > > The DMZ settings are found under the "Applications & Gaming" tab on the
> > > WRT54G.
> > >
> > > You could also play with port triggering settings, but that is also a very
> > > dificult process.
> > >
> > > Regards,
> > > Derek Bruce
> > >
> > >
> > > ----- Original Message -----
> > > From: "Blake Krone" <blakekrone at gmail.com>
> > > To: <asterisk-users at lists.digium.com>
> > > Sent: Tuesday, July 05, 2005 7:10 PM
> > > Subject: [Asterisk-Users] Re: Remote SIP Connections
> > >
> > >
> > > I have gotten them to be able to connect but I am unable to hear the
> > > other person and they can't hear me either.
> > >
> > > What else am I missing?
> > >
> > > On 7/5/05, Blake Krone <blakekrone at gmail.com> wrote:
> > > > Hello all, I have my * server setup behind a Linksys WRT54G on
> > > > Adelphia cable. I have forwarded 5060,10000-10020, and another port
> > > > set can't remember off the top of my head but I can't seem to connect
> > > > to the * server from any locations that are direct connects to the
> > > > Internet. Am I missing a portset for forwarding?
> > > >
> > > > If I use the name service (voip.*****.com) from my home connection on
> > > > the same LAN as the * server it will connect fine.
> > > >
> > > > Any ideas?
> > > >
> > > > TIA!
> > > > -blake
> > > >
> > > _______________________________________________
> > > Asterisk-Users mailing list
> > > Asterisk-Users at lists.digium.com
> > > http://lists.digium.com/mailman/listinfo/asterisk-users
> > > To UNSUBSCRIBE or update options visit:
> > >    http://lists.digium.com/mailman/listinfo/asterisk-users
> > >
> > >
> >
> _______________________________________________
> Asterisk-Users mailing list
> Asterisk-Users at lists.digium.com
> http://lists.digium.com/mailman/listinfo/asterisk-users
> To UNSUBSCRIBE or update options visit:
>   http://lists.digium.com/mailman/listinfo/asterisk-users
> 


-- 
Francis Ballares
francis at ballares.com



More information about the asterisk-users mailing list