TECH7Fox / asterisk-hass-integration

Asterisk integration for Home Assistant
57 stars 13 forks source link

Fix handling of pjsip endpoints events #49

Closed nanosonde closed 2 years ago

nanosonde commented 2 years ago

and remove old SIP module handling.

See https://wiki.asterisk.org/wiki/display/AST/Asterisk+18+ManagerAction_PJSIPShowEndpoints

https://wiki.asterisk.org/wiki/display/AST/Asterisk+18+ManagerEvent_EndpointList

https://wiki.asterisk.org/wiki/display/AST/Asterisk+18+ManagerEvent_EndpointListComplete

Maybe we can also use this: https://wiki.asterisk.org/wiki/display/AST/Asterisk+18+ManagerAction_ExtensionState

TECH7Fox commented 2 years ago

Now got all events for pjsip working. Used DeviceStateChange for the state so doesn't have to poll.