Closed nanosonde closed 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
Now got all events for pjsip working. Used DeviceStateChange for the state so doesn't have to poll.
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