PJSUA2 with Python

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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
 
 
_______________________________________________
Visit our blog: http://blog.pjsip.org

pjsip mailing list
pjsip@xxxxxxxxxxxxxxx
http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org

[Index of Archives]     [Asterisk Users]     [Asterisk App Development]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [Linux API]
  Powered by Linux