Skip to content

Commit

Permalink
[FIX] Fixed incorrect imports
Browse files Browse the repository at this point in the history
  • Loading branch information
tayler6000 committed Jan 8, 2024
1 parent 9cba94c commit 4530a48
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
4 changes: 0 additions & 4 deletions pyVoIP/SIP/__init__.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
from pyVoIP.SIP import error
from pyVoIP.SIP import client
from pyVoIP.SIP import message

__all__ = [
"error",
"client",
Expand Down
4 changes: 2 additions & 2 deletions pyVoIP/VoIP/phone.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
from pyVoIP import RTP
from pyVoIP.credentials import CredentialsManager
from pyVoIP.SIP.client import SIPClient
from pyVoIP.SIP.message import SIPMessage, SIPStatus
from pyVoIP.SIP.message import SIPMessage, SIPMessageType, SIPStatus
from pyVoIP.sock.sock import VoIPConnection
from pyVoIP.sock.transport import TransportMode
from pyVoIP.types import KEY_PASSWORD
Expand Down Expand Up @@ -105,7 +105,7 @@ def callback(
self, conn: VoIPConnection, request: SIPMessage
) -> Optional[str]:
# debug("Callback: "+request.summary())
if request.type == pyVoIP.SIPMessageType.REQUEST:
if request.type == SIPMessageType.REQUEST:
# debug("This is a message")
if request.method == "INVITE":
self._callback_MSG_Invite(conn, request)
Expand Down

0 comments on commit 4530a48

Please sign in to comment.