Hi All,
I am moving from chan_sip to PJSIP. Mostly everything working. I have a local network all on 192.168.1.X - my PJSIP client connects and I see that on my server by listing the AMI events.
However - when i stop asterisk on the PJSIP client and wait some time - I never see an AMI event that says ContactStatus and lost connection (or equivalent).
My PJSIP definitions for client is:
[nuc7]
type=wizard
accepts_registrations=no
sends_registrations=yes
accepts_auth=no
sends_auth=yes
outbound_auth/username=nuc7
outbound_auth/password=nuc7
endpoint/allow=!all,ulaw,alaw,gsm
endpoint/rtp_timeout=60
endpoint/rtp_timeout_hold=60
endpoint/rtp_keepalive=60
remote_hosts=192.168.1.X
endpoint/context=nuc7
aor/max_contacts=1
in PJSIP.conf I did enable this:
send_contact_status_on_update_registration=yes
to even get the ContactStatus to start with.
however - I dont seem to get the “lost registration” ContactStatus on the AMI. How do I get that?
Jerry