Skip to content

Commit

Permalink
Merge pull request #200 from tayler6000/bugfix/Issue-194
Browse files Browse the repository at this point in the history
Fixes #194
  • Loading branch information
tayler6000 authored Jan 3, 2024
2 parents 6fb6161 + 45cc649 commit 1b59e70
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 @@ -1527,6 +1527,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 1b59e70

Please sign in to comment.