[asterisk-bugs] [JIRA] (ASTERISK-28123) stun keeps revaluating

Joshua C. Colp (JIRA) noreply at issues.asterisk.org
Mon Oct 22 08:10:47 CDT 2018


     [ https://issues.asterisk.org/jira/browse/ASTERISK-28123?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Joshua C. Colp closed ASTERISK-28123.
-------------------------------------

    Resolution: Not A Bug

This appears to be working as expected. The module regularly sends out a STUN request and waits for a response. In your case it is sending out a request, and receiving no response. This could be because of the NAT involved or something else. You would need to do packet captures to see what is going on. When this occurs it opens a new local UDP port and sends a new request, which works in your case. This would force a fresh NAT mapping.

> stun keeps revaluating
> ----------------------
>
>                 Key: ASTERISK-28123
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-28123
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Resources/res_stun_monitor
>    Affects Versions: 13.23.1
>         Environment: fedora 28
>            Reporter: Sean Darcy
>            Severity: Minor
>
> STUN is being reevaluated every  1 - 5 minutes:
> [Oct 20 14:57:38] WARNING[1175]: res_stun_monitor.c:140 stun_monitor_request: STUN poll got no response. Re-evaluating STUN server address.
> [Oct 20 14:57:59] NOTICE[1175]: res_stun_monitor.c:151 stun_monitor_request: Old external address/port <myipaddr>:56659 now seen as <myipaddr>:44335.
>  IAX, got a network change message, renewing all IAX registrations.
> [Oct 20 14:58:38] WARNING[1175]: res_stun_monitor.c:140 stun_monitor_request: STUN poll got no response. Re-evaluating STUN server address.
> [Oct 20 14:58:59] NOTICE[1175]: res_stun_monitor.c:151 stun_monitor_request: Old external address/port <>:44335 now seen as <>:43465.
>  IAX, got a network change message, renewing all IAX registrations.
> [Oct 20 14:59:38] WARNING[1175]: res_stun_monitor.c:140 stun_monitor_request: STUN poll got no response. Re-evaluating STUN server address.
> [Oct 20 14:59:59] NOTICE[1175]: res_stun_monitor.c:151 stun_monitor_request: Old external address/port <>:43465 now seen as <myipaddr>:59330.
>  IAX, got a network change message, renewing all IAX registrations.
> cat res_stun_monitor.conf | grep -v ^\;
> [general]
> stunaddr = stun2.l.google.com:19302
> I didn't change the default stunrefresh of 30.
> I've also tried xten , counterpath and numb.viagenie.ca servers.
> This is a NAT'd machine, of course. Firewall open for 19302 and 3478.
> But if it were a firewall issue, then the stun monitor would never find the address.
> Not a big deal, but really spams the logs.



--
This message was sent by Atlassian JIRA
(v6.2#6252)



More information about the asterisk-bugs mailing list