Skip to content

Commit 2cf2510

Browse files
author
Moha
committed
reverted changes
1 parent 1d91cb0 commit 2cf2510

4 files changed

Lines changed: 6 additions & 3 deletions

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ voip.call('number', audio_file=audio_file)
5959
Or call using TTS (Auto geerated audio from text input)
6060
```python
6161
text = "Hello, this is a call for Moha"
62-
voip.call('number', audio_file=audio_file)
62+
voip.call('number', tts=True, text=text)
6363
```
6464
## Documentation
6565

__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
]
2626

2727
__version__ = "1.0.0"
28-
__license__ = "No license"
28+
__license__ = "MIT License"
2929
__copyright__ = "Copyright (C) 2023-present Moha"
3030

3131
DEBUG = True

client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -277,7 +277,7 @@ def build_invite_message(self, auth=False, msg=None, data=None):
277277
msg += f"Min-SE: 90\r\n"
278278
msg += f"Client-Checksum: {generated_checksum.checksum}\r\n"
279279
msg += 'Location:{"MNC":"01","MCC":"637"}\r\n'
280-
msg += f"User-Agent: WAAFI-iOS-8.0.8\r\n"
280+
msg += f"User-Agent: PySIP-1.0.0\r\n"
281281
msg += f"Client-Timestamp: {generated_checksum.timestamp}\r\n"
282282
msg += f"Content-Type: application/sdp\r\n"
283283

requirements.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
pydub
2+
requests
3+
edge-tts

0 commit comments

Comments
 (0)