Skip to content

Commit

Permalink
Add debug.
Browse files Browse the repository at this point in the history
  • Loading branch information
sobomax committed Jul 28, 2024
1 parent 80e9548 commit 8979de8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions sippy/UA.py
Original file line number Diff line number Diff line change
Expand Up @@ -391,6 +391,7 @@ def getCID(self):
return tuple(rval)

def delayed_remote_sdp_update(self, event, remote_sdp_body, ex=None):
print(f'delayed_remote_sdp_update: {event=}, {ex=}')
if ex is not None:
if not isinstance(ex, (RtpProxyError, SdpParseError)): raise ex
event = CCEventFail((ex.code, ex.msg))
Expand Down
2 changes: 2 additions & 0 deletions sippy/b2bua_radius.py
Original file line number Diff line number Diff line change
Expand Up @@ -181,6 +181,7 @@ def filter_SDP(self, body, done_cb):
done_cb(body)

def recvEvent(self, event, ua):
print(f'CallController.recvEvent: {event=}, {ua=}, {self.state=}')
if ua == self.uaA:
if self.state == CCStateIdle:
if not isinstance(event, CCEventTry):
Expand Down Expand Up @@ -235,6 +236,7 @@ def recvEvent(self, event, ua):
self.uaA.recvEvent(event)

def rDone(self, results):
print(f'CallController.rDone: {results=}, {self.state=}')
# Check that we got necessary result from Radius
if len(results) != 2 or results[1] != 0:
if isinstance(self.uaA.state, UasStateTrying):
Expand Down

0 comments on commit 8979de8

Please sign in to comment.