E
E
eri2021-10-27 16:54:58
Asterisk
eri, 2021-10-27 16:54:58

How to subscribe to authentication events in asterisk?

For AMI there is `manager.register_event('ChallengeResponseFailed', lambda *a,**kw: print(a,kw))` and InvalidAccountID.

For ARI, in order to subscribe to events outside the channel, you must specify an event source, but there is no documentation of what event sources ARI has at all. Doesn't accept wildcards to view in real time... How can I monitor authorization events?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
E
eri, 2021-10-29
@eri

No way. The closest we have is the state of the endpoint via the `endpoint/PJSIP` channel. Failed authorizations can only be obtained via AMI

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question