-
Notifications
You must be signed in to change notification settings - Fork 37
Description
I'm facing with error relate transfer call, logs as below. It worked with Python2.
`Traceback (most recent call last):
File "/usr/local/lib/python3.6/dist-packages/pjsua.py", line 2895, in _cb_on_call_state
_lib._cb_on_call_state(call_id)
File "/usr/local/lib/python3.6/dist-packages/pjsua.py", line 2792, in _cb_on_call_state
call._cb.on_state()
File "runclient_1.py", line 95, in on_state
self.call.transfer("sip:1@10.208.209.54")
File "/usr/local/lib/python3.6/dist-packages/pjsua.py", line 1732, in transfer
Lib._create_msg_data(hdr_list))
SystemError: returned NULL without setting an error
The above exception was the direct cause of the following exception:
SystemError: PyEval_EvalFrameEx returned a result with an error set
The above exception was the direct cause of the following exception:
SystemError: PyEval_EvalFrameEx returned a result with an error set
The above exception was the direct cause of the following exception:
SystemError: PyEval_EvalFrameEx returned a result with an error set
The above exception was the direct cause of the following exception:
SystemError: PyEval_EvalFrameEx returned a result with an error set
The above exception was the direct cause of the following exception:
SystemError: PyEval_EvalFrameEx returned a result with an error set
The above exception was the direct cause of the following exception:
SystemError: PyEval_EvalFrameEx returned a result with an error set
The above exception was the direct cause of the following exception:
SystemError: PyEval_EvalFrameEx returned a result with an error set
The above exception was the direct cause of the following exception:
SystemError: PyEval_EvalFrameEx returned a result with an error set
The above exception was the direct cause of the following exception:
SystemError: PyEval_EvalFrameEx returned a result with an error set
The above exception was the direct cause of the following exception:
SystemError: PyEval_EvalFrameEx returned a result with an error set
The above exception was the direct cause of the following exception:
SystemError: PyEval_EvalFrameEx returned a result with an error set
The above exception was the direct cause of the following exception:
SystemError: PyEval_EvalFrameEx returned a result with an error set
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/usr/local/lib/python3.6/dist-packages/pjsua.py", line 2901, in _cb_on_call_media_state
_lib._cb_on_call_media_state(call_id)
File "/usr/local/lib/python3.6/dist-packages/pjsua.py", line 2799, in _cb_on_call_media_state
call = self._lookup_call(call_id)
File "/usr/local/lib/python3.6/dist-packages/pjsua.py", line 2738, in _lookup_call
return _pjsua.call_get_user_data(call_id)
SystemError: returned a result with an error set
The above exception was the direct cause of the following exception:
SystemError: PyEval_EvalFrameEx returned a result with an error set
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "runclient_1.py", line 187, in
lib.destroy()
File "/usr/local/lib/python3.6/dist-packages/pjsua.py", line 2227, in destroy
self.handle_events(5)
File "/usr/local/lib/python3.6/dist-packages/pjsua.py", line 2259, in handle_events
return _pjsua.handle_events(timeout)
SystemError: returned a result with an error set`