You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using blocking=False I just get empty bytes and if I use blocking=True nothing gets recorded. I use sipgate as PBX. Do I make an obvious mistake and how can I get my code working? I use python version 3.10. Is it possible that you publish example code?
2. Calling
I try to call a german phone number 0176123123123 but I get
TODO: Add 500 Error on Receiving SIP Response
Traceback (most recent call last):
File "/Users/user/dev/phone-call/sipbot.py", line 54, in <module>
phone.call("0176XXXXXXX")
File "/Users/user/opt/miniconda3/envs/voice/lib/python3.10/site-packages/pyVoIP/VoIP.py", line 679, in call
request, call_id, sess_id = self.sip.invite(
File "/Users/user/opt/miniconda3/envs/voice/lib/python3.10/site-packages/pyVoIP/SIP.py", line 1597, in invite
response = SIPMessage(self.s.recv(8192))
File "/Users/user/opt/miniconda3/envs/voice/lib/python3.10/site-packages/pyVoIP/SIP.py", line 345, in __init__
self.parse(data)
File "/Users/user/opt/miniconda3/envs/voice/lib/python3.10/site-packages/pyVoIP/SIP.py", line 381, in parse
raise SIPParseError(
pyVoIP.SIP.SIPParseError: Unable to decipher SIP request:
How must I change my code or are there example code snippets?
The text was updated successfully, but these errors were encountered:
@corusm It is possible that you send us logs from the request and response. In the calling case. It's looks like, that you get an not supported SIP format.
Hi there, I am new to the VoIP topic and these things are unclear to me:
1. Recording Audio
I try to record voice of a person that calls:
When using
blocking=False
I just get empty bytes and if I useblocking=True
nothing gets recorded. I use sipgate as PBX. Do I make an obvious mistake and how can I get my code working? I use python version3.10
. Is it possible that you publish example code?2. Calling
I try to call a german phone number
0176123123123
but I getHow must I change my code or are there example code snippets?
The text was updated successfully, but these errors were encountered: