Reputation: 1171
I need to add some SIP based functionality to my company's python based software, to receive calls from SIP soft phones. Our python app will receive the call and get the audio stream and sent to our transcription engine.
I'm wondering if others have done this sort of thing and if so do you have any recommendations on how to get started.
Should I write my own SIP stack from scratch?
Should I consider other 3rd party libraries?
Upvotes: 2
Views: 11161
Reputation: 567
I have done a university project on forwarding Landline calls to android thorough VoIP (From Raspberry Pi). I have used python code and used Twinkle sip client. Twinkle can operate in terminal and GUI.
sudo apt-get install twinkle
Same time GUI and CLI version will be installed. To run it from terminal twinkle -c. First run GUI version and configure sip account. Then you can control Twinkle from python by python library subprocess. I have used following link for reference. Check steve's answer in below link SIP-Client for Raspberry Pi that works from command line?
There are windows version of command line sip clients also available
Upvotes: 2