TECH7Fox / asterisk-hass-addons

Asterisk add-on for Home Assistant
https://tech7fox.github.io/sip-hass-docs/
MIT License
69 stars 26 forks source link

Default STUN server timeout in local network #241

Closed ernst77 closed 2 months ago

ernst77 commented 1 year ago

Hello,

I've noticed that by default we have rtp.conf file with:


[general]
rtpstart=10000
rtpend=20000
icesupport=yes
stunaddr=stun.l.google.com:19302

The network for my SIP and asterisk does not have internet access, it's all internal so STUN request all timeout.

Thus by default the call start safter 6 sec when attempt to reach stun server times out.

image

Do we really need the line stunaddr=stun.l.google.com:19302 in rtp.conf ?

felipecrs commented 1 year ago

@ernst77, I believe this setting is helpful to reduce configuration for the majority of the users which have internet access on their Asterisk instance.

I have no personal preference however on what should be the default, as I don't use this feature.

You can of course customize this file as you want, to remove such line for example.

As this issue received no feedback from other people, I'm tempted to close it. But I will wait a few more days.

ernst77 commented 1 year ago

You can close it. I might be the only one without internet access on my SIP network. Maybe we should document it?

On 2023-07-28, Fri at 22:40, Felipe Santos @.***> wrote:

@ernst77 https://github.com/ernst77, I believe this setting is helpful to reduce configuration for the majority of the users which have internet access on their Asterisk instance.

I have no personal preference however on what should be the default, as I don't use this feature.

You can of course customize this file as you want, to remove such file.

As this issue received no feedback from other people, I'm tempted to close it. But I will wait a few more days.

— Reply to this email directly, view it on GitHub https://github.com/TECH7Fox/asterisk-hass-addons/issues/241#issuecomment-1656229846, or unsubscribe https://github.com/notifications/unsubscribe-auth/AEDWTAPX6FFSV5SE5GYUEP3XSQITLANCNFSM6AAAAAAWSTZXLM . You are receiving this because you were mentioned.Message ID: @.***>