Replies: 1 comment
-
@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. if check in self.SIPCompatibleVersions:
self.type = SIPMessageType.RESPONSE
self.parseSIPResponse(data)
elif check in self.SIPCompatibleMethods:
self.type = SIPMessageType.MESSAGE
self.parseSIPMessage(data)
else:
raise SIPParseError(
"Unable to decipher SIP request: " + str(heading, "utf8")
) This is the part, where the error starts. For the recording part, you may have a look her #80 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
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?
Beta Was this translation helpful? Give feedback.
All reactions