I have a Endpoint with this configuration:
[1000]
type=endpoint
context=default
subscribe_context=subscribe
disallow=all
allow=ulaw,g722
accountcode=1000
dtmf_mode=rfc4733
direct_media=no
force_rport=yes
rtp_symmetric=yes
rewrite_contact=yes
call_group=1
pickup_group=1
transport=no-nat
auth=aut1000
aors=1000
[aut1000]
type=auth
auth_type=userpass
password=password
username=1000
[1000]
type=aor
max_contacts=1
remove_existing=yes
qualify_frequency=30
mailboxes=1000@default
When The Softphone send the SUBSCRIBE to Mailbox, the last response from Asterisk is:
2018/08/03 13:51:16.768439 144.202.15.148:5060 -> 93.41.37.15:5700
SIP/2.0 500 Internal Server Error
Via: SIP/2.0/UDP XX.XX.XX.XX:5700;rport=5700;received=XX.XX.XX.XX;branch=z9hG4bK-524287-1—f26f9533c0c25714
Call-ID: 92984MjkxOTRlMTg3M2IxYTIzNjRmYzQ5MDdiYmY5NTE5ZDA
From: “1000” sip:1000@XX.XX.XX.XX;tag=72055077
To: sip:1000@XX.XX.XX.XX;tag=z9hG4bK-524287-1—f26f9533c0c25714
CSeq: 2 SUBSCRIBE
Server: PJSIP
Content-Length: 0
Any hint?
Regards