Reload in PJSIP High Traffic

Hello, I need know how is better method for to do Reload in Asterisk.

I have many machines with 6000 , 8000 endpoints with PJSIP.

Many times when I make a reload we have a more crash incidents in Asterisk

I have two inssues in JIRA about crashs, but I need know whats is Better method for reload in Dialplan, PJSIP …

Better of which two options?

Which are the JIRA issues, and has the underlying cause been diagnosed for both of them?

The first chash I have like this:
The asterisk crash Alone many times per day. (JIRA ]([ASTERISK-29456] pjsip_transport_get_flag_from_type - Digium/Asterisk JIRA))

I think the problem is in module’s reload asterisk

$1 = {si_signo = 11, si_errno = 0, si_code = 1, _sifields = {_pad =
{32, 0 <repeats 27 times>}
, _kill =

{si_pid = 32, si_uid = 0}

, _timer = {si_tid = 32, si_overrun = 0, si_sigval = {sival_int = 0, sival_ptr = 0x0}}, _rt = {si_pid = 32, si_uid = 0, si_sigval = {sival_int = 0, sival_ptr = 0x0}}, _sigchld =

{si_pid = 32, si_uid = 0, si_status = 0, si_utime = 0, si_stime = 0}

, _sigfault =

{si_addr = 0x20}

, _sigpoll =

{si_band = 32, si_fd = 0}

}}
Signal Stop Print Pass to program Description
SIGSEGV Yes Yes Yes Segmentation fault

Thread 1 (Thread 0x7f9b803f0700 (LWP 29935)):
#0 pjsip_transport_get_flag_from_type (type=1286101096) at …/src/pjsip/sip_transport.c:398

The Second Crash I think is with Connections WebRTC

ASTERISK-29411]([ASTERISK-29411] Crash in pjsip_msg_find_hdr_by_name - Digium/Asterisk JIRA