Displaying 20 results from an estimated 5000 matches similar to: "sip_nat.conf - Asterisk with two Ethernet Interfaces"
2010 Feb 25
1
Asterisk 1.6.0.17 PBX with two interfaces does not routes RTP packets - SIP Conf Problem likely
Hi,
I am try to configure Asterisk as PBX system with two interfaces as
shown below. One interface pointing to the local subnet with a SIP phone
and another interface pointing to the external ISP SIP Sever.
SJPhone(X.X.141.32)<--------->(Y.Y.47.149)local-intf-|Asterisk|external-
intf(Z.Z.247.106)<-------->(w.w.158.26)ISP-SIP-Server----OutsideWorld
I am able to setup a call from the
2009 Aug 14
2
no ring tone
how do i troubleshoot no ring tone. It was working and all i added was the lines below now it doesn't ring.
Edit sip_nat.conf for proper NAT:
localnet=192.168.1.0/255.255.255.0 externhost=pbx.DOMAIN.com (Set your external hostname name here)
externrefresh=10
fromdomain=DOMAIN.com (Set your external domain name here)
nat=yes
qualify=yes
canreinvite=no
Add extra codecs to
2009 Jan 29
2
RTP/NAT Traffic to private IP
Hi all,
I'd like to connect a softphone at home (nat, dynamic-ip) to a sip-phone
in the office via asterisk 1.4.21 (nat, fixed-ip). SIP works well, the
phone is ringing, but when I pickup the call, there's no audio on both
sides.
I debugged the rtp-traffic at home. As long as the phone is ringing,
everything is fine. But after the pickup, asterisk sends a SIP/SDP
package with its
2013 Jun 28
1
Asterisk behind NAT and Kamailio --> Internal IP in SDP and not "externip"
Hi,
We have some Asterisk servers that we are moving behind a NAT to
preserve public addresses and make room for growth. This is Asterisk 1.4
NAT works very good with the externip/localnet-setting when we are
connected directly to our teleco. But when I try to use NAT and put them
behind our Kamailio something interesting happens: The media-address in
the SDP is the internal ip and not the
2012 Feb 02
2
externip nat audio sip trunk issue problem
Hi all,
I've tried search this problem on the list... no luck...
The case is:
without externip/localnet config on sip.conf [general] my SIP trunk works,
but with no audio NAT problem (asterisk sends the private 192 address to
the outside...)
when I configure externip/localnet correctly my SIP trunk simply disappear!
Checking the signalling with tcpdump shows me that Im sending the
2009 Jun 16
2
no sdp or contact replacement using externip
Hi all! Do anybody has a full working environment using externip on an asterisk box behind a nat? I tried with two diferent boxes (Elastix-1.4.24 e Trixbox-1.4.22-3)and the asterisk do not replace neither contact, neither sdp headers info with the externip informed on sip.conf general parameters.
I used these two statements:
externip=XXX.XXX.XXX.XXX
localnet=192.168.200.0/255.255.255.0
Do
2010 Jun 17
1
Asterisk no audio on calls problem.
Hi there,
I am trying to setup a configuration that requires me to use SIP and asterisk behind a firewall and over a VPN to a remote office and with some local Phones also.
I can't use IAX to my provider because they don't offer it and my handsets ( snom 300 ) also don't support IAX so it's all SIP.
The configuration is a follows
Asterisk PBX 10.202.17.217/24 ------>|
2006 Nov 03
4
Audio goes one way during the call for a few seconds. Is it RTP, NAT, dyndns, or what it is?
Hi everybody,
I finally want to get rid of 1-way audio problem. Please help me here.
I have 3 scenarios.
1. Audio is always one way. Caller who dialed can't listen the called party
but called party can listen him. In this scenatio Asterisk is on dynamic IP
with dyndns FQDN. sip.conf has externip = abc.dyndns.org and localnet =
xxx.xxx.xxx.xxx entry. Trunk and extensions are SIP. Where is
2008 Jan 10
1
WARNING[19164] chan_sip.c: Forbidden - wrong password on authentication for INVITE to '"unknown" <sip:unknown@xxx.xxx.xxx.xxx>
Hi,
I'm using an Asterisk 1.2.18 box with a remote Snom 360. My Snom always
rings but sometimes (it happens randomly!) no voice is passing thru (2
ways).
Asterisk CLI shows this warning:
Jan 10 10:03:26 WARNING[19164] chan_sip.c: Forbidden - wrong password on
authentication for INVITE to '"unknown" <sip:unknown at xxx.xxx.xxx.xxx>
I have already set localnet and
2010 Sep 17
1
externip/localnet
Hi All,
Is it possible to specify more than 1 localnet? I know this is an odd
question. I have a customer that has multiple sites linked by VPN.
Main range is 192.168.33.0/24 and a remote site is 10.1.1.0/24
We want to allow some access to the public IP address at the main site. For
this to work I need to use the externip and localnet directive. If I do this
it rewrites the SDP with the
2009 Jan 29
2
Don't get asterisk to run behind NAT router
Hi people!
I am not getting smart getting asterisk 1.6 behind a NAT to run.
1. I enabled IP forwarding on debian linux
2. told asterisk in "general" that he is behind NAT and mentioned him
his external static IP Adress as well his domain in the outside world.
If a client who is connected with a DSL modem calls me, a grandstream
module in the LAN behind the router, in the same network
2009 Jun 01
1
Suddenly the voice became garbage (like robot) using Asterisk 1.4.19.2
Hi All;
I was using since one year Asterisk 1.4.19.2 and zaptel 1.4.10.1 and they were working fine via SIP, IAX and Digium fxo and fxs ports.
Suddenly just before 2 or 3 days, the voice become garbage like robot when I place a call from the SIP Phone (which is in a country and the Asterisk box in another country). I am surprise what is the reason that let rtp become like this ! The sound now
2007 Oct 01
1
SIP trought Firewall
Hi to everyone!
I have succerfully instaled my new Asterisk 1.4 on my debian etch.
I have my users in sip.conf like this:
[200]
type=peer
host=dynamic
context=home
secret=200
callerid= 200
dtmfmode=rfc2833
nat=yes
mailbox=200 at home
disallow=all
allow=ulaw
I can make calls in my LAN but i can?t ear comunications with another client
trought Internet.
My Asterisk is in my LAN and i not have a
2008 Mar 03
1
ekiga sip registration fails; externip no help
ekiga registration fails. I've set nat = yes ( also blank ) and i've set
externip. Anybody have a sip.conf that works?
Here's the sip debug:
Reliably Transmitting (NAT) to 86.64.162.35:5060:
REGISTER sip:ekiga.net SIP/2.0
Via: SIP/2.0/UDP 10.10.11.180:5060;branch=z9hG4bK17818198;rport
Max-Forwards: 70
From: <sip:test at ekiga.net>;tag=as64618445
To: <sip:test at
2004 Jan 26
1
SIP behind NAT - use of "externip" option
I am having difficulty configuring SIP behind NAT (using latest CVS).
Using sip.conf:
[general]
port=5060 ; Port to bind to
externip=ww.xx.yy.zz
bindaddr=0.0.0.0
nat=yes
register=>[userid]:[password]@voiptalk.org/2000
[voiptalk.org]
nat=yes
externip=ww.xx.yy.zz
type=friend
secret=[password]
nat=yes
reinvite=no
canreinvite=no
I fail to register. SIP Debug gives:
SIP
2004 Mar 08
3
SIP registration fails
Thanks for the info so far. I am still trying to asterisk'ize my ML9.2
firewall box and can't get the external SIP registration to work. If I
hook up my Sipura directly to the WAN it registers OK.
This is the message I get from asterisk:
Mar 8 21:03:07 NOTICE[196621]: chan_sip.c:3140 sip_reg_timeout:
Registration for '263872@192.246.69.223' timed out, trying again
If tried
2005 Aug 13
1
receiving calls from FWD
I have successfully configured asterisk to make outgoing calls over FWD,
but cannot receive incoming calls. The console shows no messages,
even though an XTEN client on the same network has no problems receiving
incoming calls.
This is the relevant part of sip.conf
[general]
.....
register => 688426:xxxxxxxx@fwd.pulver.com/6000
[fwd.pulver.com]
type=friend
username=688426
fromuser=688426
2014 Jan 15
2
Asterisk ignoring nat settings
Hello,
I have an asterisk box with a peer configured with nat=force_rport,comedia,
but asterisk keeps sending the audio to the private IP address and ignoring
the client peer nat settings.
If I check the "sip show peer extension", I see both symmetric RTP and
Force Rport are set to yes, but asterisk seems ignoring them.
Force rport : Yes
Symmetric RTP: Yes
Asterisk is behind a
2023 Mar 10
2
401 error
On Thu, Mar 9, 2023 at 9:42 PM Jerry Geis <jerry.geis at gmail.com> wrote:
> I have a SIP trunk - calls going out work fine.
>
> Trying to setup an incoming call with a DNIS
>
> When I dial the number - I see nothing on the CLI.
> The person says the server is returning 401
>
> How do I debug that. Using asterisk 18.8.0
>
> Thanks
>
> Jerry
>
Thanks I
2004 Dec 22
2
Can't Receive/Send Calls
Hi,
I can't receive/send calls with Asterisk. Could someone please give me a
few pointers on my configuration?
Regards,
Norman Zhang
; sip.conf
[general]
disallow=all
allow=ulaw
port=5060
bindaddr=0.0.0.0
externip=x.x.x.x
localnet=192.168.22.0
mask=255.255.255.0
context=inbound-sip
maxexpirey=180
defaultexpirey=160
tos=reliability
srvlookup=yes
register =>