Hello.

Asterisk 13.2, PJSIP.

Problem: I do not get any AMI events when changing the status of the contact.

When using chan_sip I got "peerstatus" event.
When using res_pjsip and devices (endpoint configuration) I got "peerstatus" event. When using res_pjsip.so and OUTBOUND REGISTRATION WITH OUTBOUND AUTHENTICATION i got "registry" event.

When using "ENDPOINT CONFIGURED AS A TRUNK, OUTBOUND AUTHENTICATION" and status on contact changed I do not get any AMI event.
I missed something?
Tell me how to determine the change in the status of the contact (or endpoint/trunk) through AMI?


Simple config:
[srv_dev]
type=auth
auth_type=userpass
username=login
password=secret

[srv_dev]
type=aor
contact=sip:sip.example.com:5060
qualify_frequency=5
default_expiration=10
max_contacts=1
remove_existing=yes

[srv_dev]
type=endpoint
from_domain=example.com
aors=srv_dev
outbound_auth=srv_dev
rewrite_contact=yes
allow=!all,alaw

Dmitriy Serov

--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
              http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to