I have trouble getting asterisk to connect with a stun server. I am using Asterisk 1.6.1., behind a nat and a cable router, where the cable provider has been changing my ip address every few days, lately.
stun set debug on shows the following
stun set debug on
STUN Debugging Enabled
STUN Packet, msg Binding Response (0101), length: 68
Found STUN Attribute Mapped Address (0001), length 8
Ignoring STUN attribute Mapped Address (0001), length 8
Found STUN Attribute Source Address (0004), length 8
Ignoring STUN attribute Source Address (0004), length 8
Found STUN Attribute Changed Address (0005), length 8
Ignoring STUN attribute Changed Address (0005), length 8
Found STUN Attribute Non-RFC3489 Attribute (8020), length 8
Ignoring STUN attribute Non-RFC3489 Attribute (8020), length 8
Found STUN Attribute Non-RFC3489 Attribute (8022), length 16
Ignoring STUN attribute Non-RFC3489 Attribute (8022), length 16
Dunno what to do with STUN message 0101 (Binding Response)
sip.conf has nat settings as follows, that worked fine to connect both outside the nat, until the externip changes
Asterisk and most clients are behind the nat
externip = 69.201.157.22
localnet = 192.169.1.0/255.255.255.0