Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Split SIPMessage into SIPRequest and SIPResponse #234

Merged
merged 5 commits into from
Feb 13, 2024

Conversation

tayler6000
Copy link
Owner

Fixes #206

[ADD] Created `SIPMessage.from_bytes` to create a SIPReqeust or SIPResponse
[ADD] Added SIP version regex to better determine what is a request and what is
      a response if a new version of SIP is ever released
[CHANGE] Split `pyVoIP.SIP.message` into `message.message`, `message.parse`,
         and `message.response_codes`
[CHANGE] Changed `pyVoIP.SIPCompatibleMethods` to `message.SIPMethod`
[ADD] Added repr for ResponseCode and SIPMethod enum
[ADD] Added automatic map to populate SIPCompatibleMethods
[CHANGE] Changed all existing code to use the new SIPMessage implementation
[CHANGE] Changed all existing code to use the new ResponseCode enum
[FIX] Fixed type annotation of `SIPMessage.from_bytes`
[FIX] Fixed incorrect type annotations for SIPMessage and subclasses
[FIX] Fixed some mypy errors
@tayler6000 tayler6000 merged commit 48d846a into development Feb 13, 2024
6 checks passed
@tayler6000 tayler6000 deleted the feature/Issue-206 branch February 13, 2024 15:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant