diff --git a/sippy/UasStateRinging.py b/sippy/UasStateRinging.py index 9d83f3f9e..c61eb4f89 100644 --- a/sippy/UasStateRinging.py +++ b/sippy/UasStateRinging.py @@ -51,7 +51,7 @@ def recvEvent(self, event): self.ua.lSDP = body if self.ua.p1xx_ts == None: self.ua.p1xx_ts = event.rtime - self.ua.sendUasResponse(code, reason, body, extra_headers = eh) + self.ua.sendUasResponse(code, reason, body, (self.ua.lContact,), extra_headers = eh) for ring_cb in self.ua.ring_cbs: ring_cb(self.ua, event.rtime, event.origin, code) return None diff --git a/sippy/UasStateTrying.py b/sippy/UasStateTrying.py index 36eb92117..e1c464a6f 100644 --- a/sippy/UasStateTrying.py +++ b/sippy/UasStateTrying.py @@ -49,7 +49,7 @@ def recvEvent(self, event): self.ua.on_local_sdp_change(body, partial(self.ua.delayed_local_sdp_update, event)) return None self.ua.lSDP = body - self.ua.sendUasResponse(code, reason, body, extra_headers = eh) + self.ua.sendUasResponse(code, reason, body, (self.ua.lContact,), extra_headers = eh) if self.ua.no_progress_timer != None: self.ua.no_progress_timer.cancel() self.ua.no_progress_timer = None