Hello I have a situation.
If in my transport-tcp its set allow_reload=no
Some calls can’t send invite, The asterisk response with error 500.
res_pjsip_endpoint_identifier_user.c auth_username_identify: Endpoint found for ‘21060000’ but ‘auth_username’ method not supported
INVITE
2021/06/02 18:55:39.786540 177.53.246.169:35122 → XXX.XXX.XXX.XXX:7048
INVITE sip:21060000@mypbx.com.br:7048;transport=tcp SIP/2.0
Allow: INVITE,BYE,REGISTER,ACK,OPTIONS,CANCEL,INFO,PRACK,SUBSCRIBE,NOTIFY,REFER,UPDATE
Authorization: Digest username=“21060000”,realm=“asterisk”,nonce=“1622670939/653314d736fab74f1a813dd2e8969783”,uri=“sip:21060000@mypbx.
m.br”,response=“1c1470ce108f06176eae01e62bba274e”,algorithm=MD5,cnonce=“E6F85C45”,opaque=“21ef5c9b598b4e42”,qop=auth,nc=00000001
Call-ID: lbPS6jcM-tfUX:5f@mypbx.com.br
Contact: sip:21060000@192.168.15.2:7048;transport=tcp
Content-Type: application/sdp
CSeq: 175 INVITE
From: sip:21060000@mypbx.com.br:7048;transport=tcp;tag=1-5A738C31
Max-Forwards: 70
P-Asserted-Identity: sip:30033003@mypbx.com.br:7048;transport=tcp
Session-Expires: 1800;refresher=uas
Session-ID: 22688a9345e20ee07b216f8a73ecbcf4
Supported: 100rel,timer,replaces,histinfo
To: sip:21060000@mypbx.com.br:7048;transport=tcp
Via: SIP/2.0/TCP 192.168.15.2:7048;rport;branch=z9hG4bK95203C65
Content-Length: 235
v=0
o=- 15 0 IN IP4 192.168.15.2
s=-
c=IN IP4 192.168.15.2
t=0 0
m=audio 12028 RTP/AVP 8 0 100
a=rtpmap:8 PCMA/8000
a=rtpmap:0 PCMU/8000
a=rtpmap:100 telephone-event/8000
a=fmtp:100 0-15
a=ptime:20
a=sendrecv
a=rtcp:12029
Configuration ENDPOINT
[21060000]
type=aor
max_contacts=1
remove_existing=yes
[21060000]
type = auth
realm=asterisk
username = 21060000
password = 21060000@@
[21060000]
type = endpoint
context=tronco
disallow=all
inband_progress=yes
use_ptime=yes
language=pt_BR
rtp_timeout=300
direct_media=no
subscribe_context=hint-asterisk
allow_subscribe=yes
outbound_auth=21060000
aors=21060000
allow=alaw
allow=ulaw
dtmf_mode=rfc4733
t38_udptl=yes
t38_udptl_ec=redundancy
t38_udptl_maxdatagram=400
rtp_symmetric=yes
force_rport=yes
rewrite_contact=yes
contact_user=21060000
auth=21060000
transport = transport-tcp