Hello,
I would like to start SIP programming with Python. As far, as I understand, I should use pjsua2, as this is the most current API.
Unfortunately documentation and examples all over show only pjsua-scripts.
On the distribution there is only a complex and broken TKinter based application (https://www.pjsip.org/docs/book-latest/html/samples.html).
Its not possible, to establish a call, as it looks like, you have to create a buddy before. But when I try to configure a buddy, i receive an error message:
>> TypeError: in method 'BuddyConfig_subscribe_set', argument 2 of type 'bool'
With no background in TKinter it is very hard, to get a clue, how a basic python application should look like, which:
registers to an registrar with credentials
establishing a call
answering a call
dealing with DTMF information (sending and receiving)
finishing a call
Does anybody knows a lean and straightforward Python example, which is based on the current PJSUA2 ?
Furthermore, when I try to test my selfcompiled pjsip libraries, I tried
./pjsip-apps/bin/pjsystest-armv7l-unknown-linux-gnueabihf
but this searches for some wav-files, like input.8.wav, which is not part of the distribution.
Thanks for all hints, which could help me to start the right way.
Tom
Hi Vor,
What are you trying, or would like to, achieve with your program?
Thanks
//M
On Wed, Aug 28, 2019, 7:20 PM Vor Name sip-beginner@gmx.de wrote:
Hello,
I would like to start SIP programming with Python. As far, as I
understand, I should use pjsua2, as this is the most current API.
Unfortunately documentation and examples all over show only pjsua-scripts.
On the distribution there is only a complex and broken TKinter based
application (https://www.pjsip.org/docs/book-latest/html/samples.html).
Its not possible, to establish a call, as it looks like, you have to
create a buddy before. But when I try to configure a buddy, i receive an
error message:
TypeError: in method 'BuddyConfig_subscribe_set', argument 2 of type
'bool'
With no background in TKinter it is very hard, to get a clue, how a basic
python application should look like, which:
Does anybody knows a lean and straightforward Python example, which is
based on the current PJSUA2 ?
Furthermore, when I try to test my selfcompiled pjsip libraries, I tried
./pjsip-apps/bin/pjsystest-armv7l-unknown-linux-gnueabihf
but this searches for some wav-files, like input.8.wav, which is not part
of the distribution.
Thanks for all hints, which could help me to start the right way.
Tom
Visit our blog: http://blog.pjsip.org
pjsip mailing list
pjsip@lists.pjsip.org
http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org