I just finished setting up Asterisk for home usage and am having several issues with externally registered phones. Please see the details of my configuration below:
Working
Internal
Internal to SIP Provider
External to Internal
Not Working
Internal to External (does not ring on either end)
External to SIP Provider (calls ring and connect with no audio)
sip.conf
[general]
register => XXXXXXX:XXXXXXXX@sip-provider.com
registertimeout=20
externip=mydomainname.com
localnet=192.168.11.0/255.255.255.0
context=sipprovider-inbound
allowoverlap=no
bindport=5060
bindaddr=0.0.0.0
srvlookup=no
subscribecontext=from-sip
directmedia=no
[2004]
type=friend
host=dynamic
dtmfmode=rfc2833
nat=yes
username=2004
secret=secret
context=phones
canreinvite=no
#directmedia=no
callerid=“John Doe”
Firewall Configuration
5060 Open to Asterisk RTP Open to match range in rtp.conf
Codecs
I have confirmed that all devices are using G711 ULAW
CLI Output
== Using SIP RTP CoS mark 5
– Executing [2004@phones:1] Dial(“SIP/2000-00000000”, “SIP/2004”) in new stack
== Using SIP RTP CoS mark 5
– Called SIP/2004
[Nov 20 23:18:35] WARNING[18243]: chan_sip.c:4175 retrans_pkt: Retransmission timeout reached on transmission 119d17a8483dfe824f209828115ff597@192.168.11.20:5060 for seqno 102 (Critical Request) – See wiki.asterisk.org/wiki/display/ … nsmissions
Packet timed out after 32000ms with no response
– SIP/2004-00000001 is circuit-busy
[Nov 20 23:18:35] WARNING[18243]: chan_sip.c:4204 retrans_pkt: Hanging up call 119d17a8483dfe824f209828115ff597@192.168.11.20:5060 - no reply to our critical packet (see wiki.asterisk.org/wiki/display/ … nsmissions).
== Everyone is busy/congested at this time (1:0/1/0)
– Auto fallthrough, channel ‘SIP/2000-00000000’ status is ‘CONGESTION’
Does anyone have any idea what may be going wrong? Any help would be greatly appriciated.