Skip to content

Commit

Permalink
Merge branch 'master' into fix/Issue-125
Browse files Browse the repository at this point in the history
  • Loading branch information
tayler6000 authored Jan 3, 2024
2 parents ae107e1 + 1b59e70 commit fbe8024
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pyVoIP/SIP.py
Original file line number Diff line number Diff line change
Expand Up @@ -1533,6 +1533,7 @@ def gen_bye(self, request: SIPMessage) -> str:
byeRequest += f"Call-ID: {request.headers['Call-ID']}\r\n"
cseq = int(request.headers["CSeq"]["check"]) + 1
byeRequest += f"CSeq: {cseq} BYE\r\n"
byeRequest += "Max-Forwards: 70\r\n"
byeRequest += (
"Contact: "
+ f"<sip:{self.username}@{self.myIP}:{self.myPort}>\r\n"
Expand Down

0 comments on commit fbe8024

Please sign in to comment.