[asterisk-bugs] [JIRA] (ASTERISK-29441) Core reload making TCP endpoints go offline

Luke Escude (JIRA) noreply at issues.asterisk.org
Thu May 20 11:17:17 CDT 2021


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

Luke Escude commented on ASTERISK-29441:
----------------------------------------

Cool I'll grab debug info... Here's pjsip.conf:

{code}
[global]
send_contact_status_on_update_registration=yes
user_agent=<Customer Identifier>
endpoint_identifier_order=username,ip

[transport-tcp]
type=transport
protocol=tcp
bind=0.0.0.0
tos=104
cos=3

[transport-udp]
type=transport
protocol=udp
bind=0.0.0.0
tos=104
cos=3

; Outbound register to a proxy:
[proxy1]
type=registration
transport=transport-tcp
outbound_auth=proxy1
server_uri=sip:<PROXY_IP>:<PROXY_PORT>
client_uri=sip:<CUSTID>@<PROXY_DNSNAME>
outbound_proxy=sip:<CUSTID>@<PROXY_IP>:<PROXY_PORT>
contact_user=<CUSTID>
expiration=120
retry_interval=2
forbidden_retry_interval=2
fatal_retry_interval=2
auth_rejection_permanent=no
max_retries=9999999

[proxy1]
type=endpoint
transport=transport-tcp
context=from-trunk
disallow=all
allow=g729
allow=ulaw
outbound_auth=proxy1
aors=proxy1
t38_udptl=no
rtp_keepalive=1
rtp_symmetric=yes
preferred_codec_only=yes
force_rport=yes
direct_media=no
rtp_timeout=20
rtp_timeout_hold=20
tos_audio=184
cos_audio=5
100rel=no

[proxy1]
type=auth
auth_type=userpass
username=<CUSTID>
password=<SIP_PASSWORD>

[proxy1]
type=aor
max_contacts=1
remove_existing=yes
contact=sip:<PROXY_IP>:<PROXY_PORT>
qualify_frequency=15
qualify_timeout=3
default_expiration=120
minimum_expiration=1
maximum_expiration=600

{code}

Besides the main issue we're discussing, if you see any wonkiness with my config, please do let me know.

> Core reload making TCP endpoints go offline
> -------------------------------------------
>
>                 Key: ASTERISK-29441
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-29441
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Core/PBX
>    Affects Versions: 16.18.0
>         Environment: CentOS 7 x64
>            Reporter: Luke Escude
>            Assignee: Luke Escude
>            Severity: Major
>
> So I updated our Asterisk image last night from 16.14 to the newest, 16.18.
> All of our endpoints use transport-tcp, and the image booted fresh just fine - Everything connected. Including outbound registrations (from Asterisk to an upstream SIP proxy)
> But, every time we perform a 'core reload' all TCP endpoints disconnect and won't re-register (Asterisk begins sending the REGISTER packets over UDP instead of TCP).
> The following errors appear in the console when reloading:
> [May 20 15:45:52] WARNING[8794]: res_pjsip/config_transport.c:559 transport_apply: Transport 'transport-udp' is not fully reloadable, not reloading: protocol, bind, TLS, TCP, ToS, or CoS options.
> [May 20 15:45:52] WARNING[8794]: res_pjsip/config_transport.c:559 transport_apply: Transport 'transport-tcp' is not fully reloadable, not reloading: protocol, bind, TLS, TCP, ToS, or CoS options.
> Restarting asterisk fixes the issue, but we cannot reload.



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



More information about the asterisk-bugs mailing list