I’ve been trying to get Asterisk up and running but so far not much luck, at least when I use NAT. It works fine within the network. The problem is when calling a user or voicemail the connection is opened but after a few seconds it is closed. For example the voicemail says: “You have eight new” and then the connection is gone. The Asterisk console shows the normal output for a few seconds more but then also exists the connection.
The internal ip is 192.168.1.90 and ports have been forwarded from the router to the Asterisk server
sip.conf:
[general]
nat = yes
externip =externip
fromdomain = subdomain.dyndns-ip.com
localnet = 192.168.0.0/255.255.255.0
[2000]
type = friend
secret = 1234
host = dynamic
Console output
– <SIP/2000-00000001> Playing ‘vm-youhave.ulaw’ (language ‘en’)
– <SIP/2000-00000001> Playing ‘digits/8.ulaw’ (language ‘en’)
– <SIP/2000-00000001> Playing ‘vm-INBOX.ulaw’ (language ‘en’)
– <SIP/2000-00000001> Playing ‘vm-messages.ulaw’ (language ‘en’)
– <SIP/2000-00000001> Playing ‘vm-onefor.ulaw’ (language ‘en’)
– <SIP/2000-00000001> Playing ‘vm-INBOX.ulaw’ (language ‘en’)
– <SIP/2000-00000001> Playing ‘vm-messages.ulaw’ (language ‘en’)
– <SIP/2000-00000001> Playing ‘vm-opts.ulaw’ (language ‘en’)
[Dec 28 14:11:37] WARNING[2772]: chan_sip.c:3778 retrans_pkt: Maximum retries exceeded on transmission 063df149-e910-e011-9a9b-00248c541961@roel for seqno 5 (Critical Response) – See doc/sip-retransmit.txt.
– <SIP/2000-00000001> Playing ‘vm-helpexit.ulaw’ (language ‘en’)
[Dec 28 14:11:44] WARNING[2772]: chan_sip.c:3778 retrans_pkt: Maximum retries exceeded on transmission 043d9a4d-e910-e011-9a9b-00248c541961@roel for seqno 2 (Critical Response) – See doc/sip-retransmit.txt.
[Dec 28 14:11:44] WARNING[2772]: chan_sip.c:3805 retrans_pkt: Hanging up call 043d9a4d-e910-e011-9a9b-00248c541961@roel - no reply to our critical packet (see doc/sip-retransmit.txt).
== Spawn extension (default, 2999, 1) exited non-zero on ‘SIP/2000-00000001’