Pjsip Causing Asterisk Crash

Hi There, This PJSIP config seems to be causing Asterisk to crash a lot, but i cant work out why from logs. Asterisk seems to be crashing up to 10 times a day whereas similar configurations i have do not crash at all. I believe i have isolated the problem to pjsip.conf as when i remove this custom config from the file the crashes go away. Can somebody help ? Asterisk version 13.11.2



[transport_udp_4144]
type=transport
protocol=udp
async_operations=1
bind=0.0.0.0:4144
external_signaling_port=0
local_net=192.168.1.0/24
local_net=127.0.0.1/32
require_client_cert=false
verify_client=false
verify_server=false
tos=0
cos=0
allow_reload=no

; >>------- TEMPLATES ---------
[demoSIP_identify](!)
type=identify
match=123.123.123.123

[demoSIP_registration](!)
type=registration
transport=transport_udp_4144
retry_interval=30
forbidden_retry_interval=600
expiration=3600
auth_rejection_permanent=no
server_uri=
client_uri=
outbound_auth=

[demoSIP_endpoint](!)
type=endpoint
transport=transport_udp_4144
disallow=all
allow=alaw,ulaw,gsm
context=external-incoming
direct_media=no
from_domain=demo.net

[demoSIP_aor](!)
type=aor
max_contacts=1
qualify_frequency=25

[demoSIP_auth](!)
type=auth
auth_type=userpass
; --------- TEMPLATES ---------<<

                                          
; >>---- Extension Pattern 02012312312 ----<<
[02012312312](demoSIP_registration)
server_uri=sip:02012312312@proxy.demo.net:4144
client_uri=sip:02012312312@proxy.demo.net
outbound_auth=02012312312
contact_user=02012312312
[02012312312](demoSIP_identify)
endpoint=02012312312
[02012312312](demoSIP_auth)
username=username
password=password
[02012312312](demoSIP_endpoint)
aors=02012312312
outbound_auth=02012312312
from_user=02012312312
[02012312312](demoSIP_aor)
contact=sip:02012312312@proxy.demo.net



Your version of Asterisk was released in September of 2016. Numerous changes since then have occurred, so before spending time trying to dig in please upgrade. As well if the problem is occurring afterwards you’ll need to get a backtrace[1].

[1] https://wiki.asterisk.org/wiki/display/AST/Getting+a+Backtrace