[asterisk-bugs] [JIRA] (ASTERISK-21856) STUN never works when asterisk started without internet access

Jeremy Kister (JIRA) noreply at issues.asterisk.org
Mon Jun 3 11:09:08 CDT 2013


    [ https://issues.asterisk.org/jira/browse/ASTERISK-21856?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=206984#comment-206984 ] 

Jeremy Kister edited comment on ASTERISK-21856 at 6/3/13 11:08 AM:
-------------------------------------------------------------------

you were right- touching {{res_stun_monitor}} before 'module reload res_stun_monitor.so' does make asterisk get back in the groove.


I'd expect this behavior to be more automatic, like SIP:
{noformat}
[Jun  3 12:02:44] NOTICE[20313]: chan_sip.c:29125 sip_poke_noanswer: Peer 's4' is now UNREACHABLE!  Last qualify: 0
[Jun  3 12:02:44] NOTICE[20313]: chan_sip.c:29125 sip_poke_noanswer: Peer 's2' is now UNREACHABLE!  Last qualify: 0
[Jun  3 12:02:44] NOTICE[20313]: chan_sip.c:29125 sip_poke_noanswer: Peer 's3' is now UNREACHABLE!  Last qualify: 0
[Jun  3 12:02:44] NOTICE[20313]: chan_sip.c:29125 sip_poke_noanswer: Peer 's1' is now UNREACHABLE!  Last qualify: 0
{noformat}

fix internet here

{noformat}
[Jun  3 12:03:08] NOTICE[20313]: chan_sip.c:23248 handle_response_peerpoke: Peer 's4' is now Reachable. (11ms / 2000ms)
[Jun  3 12:03:08] NOTICE[20313]: chan_sip.c:23248 handle_response_peerpoke: Peer 's2' is now Reachable. (12ms / 2000ms)
[Jun  3 12:03:08] NOTICE[20313]: chan_sip.c:23248 handle_response_peerpoke: Peer 's3' is now Reachable. (15ms / 2000ms)
[Jun  3 12:03:08] NOTICE[20313]: chan_sip.c:23248 handle_response_peerpoke: Peer 's1' is now Reachable. (17ms / 2000ms)
{noformat}

If i shouldn't expect that, surely safe to close this issue.
                
      was (Author: jkister):
    you were right- touching {{res_stun_monitor}} before 'module reload res_stun_monitor.so' does make asterisk get back in the groove.


I'd expect this behavior to be more automatic, like SIP:
{noformat}
[Jun  3 12:02:44] NOTICE[20313]: chan_sip.c:29125 sip_poke_noanswer: Peer 's4' is now UNREACHABLE!  Last qualify: 0
[Jun  3 12:02:44] NOTICE[20313]: chan_sip.c:29125 sip_poke_noanswer: Peer 's2' is now UNREACHABLE!  Last qualify: 0
[Jun  3 12:02:44] NOTICE[20313]: chan_sip.c:29125 sip_poke_noanswer: Peer 's3' is now UNREACHABLE!  Last qualify: 0
[Jun  3 12:02:44] NOTICE[20313]: chan_sip.c:29125 sip_poke_noanswer: Peer 's1' is now UNREACHABLE!  Last qualify: 0
{noformat}

# fix internet here

{noformat}
[Jun  3 12:03:08] NOTICE[20313]: chan_sip.c:23248 handle_response_peerpoke: Peer 's4' is now Reachable. (11ms / 2000ms)
[Jun  3 12:03:08] NOTICE[20313]: chan_sip.c:23248 handle_response_peerpoke: Peer 's2' is now Reachable. (12ms / 2000ms)
[Jun  3 12:03:08] NOTICE[20313]: chan_sip.c:23248 handle_response_peerpoke: Peer 's3' is now Reachable. (15ms / 2000ms)
[Jun  3 12:03:08] NOTICE[20313]: chan_sip.c:23248 handle_response_peerpoke: Peer 's1' is now Reachable. (17ms / 2000ms)
{noformat}

If i shouldn't expect that, surely safe to close this issue.
                  
> STUN never works when asterisk started without internet access
> --------------------------------------------------------------
>
>                 Key: ASTERISK-21856
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-21856
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Resources/res_stun_monitor
>    Affects Versions: 11.4.0
>            Reporter: Jeremy Kister
>            Severity: Minor
>
> If asterisk is started when it has no access to Internet/DNS, STUN will never come online even when internet access is restored.  An asterisk stop/start fixed the problem.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.asterisk.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira



More information about the asterisk-bugs mailing list