[asterisk-bugs] [JIRA] (ASTERISK-22745) chan_sip call setup very slow or fails when STUN server not available

Steve Davies (JIRA) noreply at issues.asterisk.org
Wed Aug 5 05:12:33 CDT 2015


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

Steve Davies commented on ASTERISK-22745:
-----------------------------------------

Hi, Is there any reason why this patch seems to have gone quiescent?

IMHO It is part of a necessary solution to a real problem and I plan to try and create an Asterisk 11.18 backport of it.

In fact it does not go far enough, as even patched in this way, a broken stun server will adversely affect a dial command of the form:
    Dial(SIP/noiceneeded&SIP/iuseice)
And to fix it more completely, the triggering of the STUN (and TURN) lookup would be deferred to the point where the new channel that owns the RTP is running in it's own thread (or something like that anyway - I need to research it more closely)


> chan_sip call setup very slow or fails when STUN server not available
> ---------------------------------------------------------------------
>
>                 Key: ASTERISK-22745
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-22745
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Channels/chan_sip/General, Resources/res_rtp_asterisk
>    Affects Versions: 12.0.0-beta1
>         Environment: Ubuntu 10.04
>            Reporter: Michael Walton
>         Attachments: ASTERISK-22745-gtalk-stun.r402438.patch, ASTERISK-22745-sip-stun.r402438.patch
>
>
> Asterisk 12 compiled with chan_pjsip and chan_sip enabled. Call setup to or from chan_sip peer takes 10 seconds or more. To reproduce:
> * Enable icesupport in rtp.conf
> * Use an unreachable STUN server address for stunaddr, or disconnect WAN
> * Disable icesupport in sip.conf for a chan_sip peer that does not require STUN, e.g. local phone
> * Dial to or from phone



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



More information about the asterisk-bugs mailing list