Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Peer to Peer calls support #60

Closed
balloob opened this issue Sep 10, 2022 · 3 comments
Closed

Peer to Peer calls support #60

balloob opened this issue Sep 10, 2022 · 3 comments
Assignees
Labels
enhancement New feature or request
Milestone

Comments

@balloob
Copy link
Contributor

balloob commented Sep 10, 2022

Context
I create Home Assistant (@home-assistant); a privacy focused open-source home automation platform. One of the things that people always want is a locally working voice assistant. Instead of an always listening microphone I have the idea to use phones. You don't need hot word detection or always listening microphones, instead you pick up the phone and say what you want.

I have a Grandstream HT801 that translates a phone into SIP. In the past I had it working on Python 2 with a package called linphone, but that package is no longer maintained and it wasn't pure Python so I shelved the idea.

But now I stumbled upon pyVoIP and it has given me hope that this could be the key to reviving this project. I've been playing with it today and I ran into the fact that PyVoIP does not support mimicking a SIP server to allow "peer 2 peer" calls (not sure what correct terminology is).

I tried stubbing out the register() call but that prevents invites from being responded 🙃

The reason I want peer to peer and not use something like Asterisk is because it would increase the users effort to get started.

Questions

  1. Could peer to peer calls be supported with the current architecture of pyVoIP?
  2. If yes, is this a feature that would fit in pyVoIP or would it better be created as a different package?
  3. I am myself very limited in time due to my other open source work. Would there be anyone that could be paid to work on this?
@tayler6000
Copy link
Owner

  1. P2P calling is not currently supported with pyVoIP.

  2. P2P support I think is a fine feature for pyVoIP.

  3. Currently I've also diverted most of my time to other projects due to budget constraints. However if you are interested in being a pyVoIP sponsor I would be more than happy to redirect time back into development on this project.

@tayler6000
Copy link
Owner

I am myself very limited in time due to my other open source work. Would there be anyone that could be paid to work on this?

Feel free to email me at [email protected] if you would like to work out sponsorship details.

@tayler6000 tayler6000 added the enhancement New feature or request label Sep 26, 2022
@tayler6000 tayler6000 moved this to Todo in pyVoIP Oct 18, 2022
@tayler6000 tayler6000 moved this from Todo to In Progress in pyVoIP Oct 18, 2022
@tayler6000 tayler6000 added this to the pyVoIP 2.0 milestone Oct 18, 2022
@tayler6000 tayler6000 self-assigned this Oct 19, 2022
tayler6000 added a commit that referenced this issue Nov 20, 2022
pyVoIP is now able to receive direct IP calls (P2P) #60
@tayler6000
Copy link
Owner

The feature/Add-TLS branch is now capable of receiving direct IP (P2P) calls, It cannot make them yet, and you will still have to stub out the register, but this should be enough to begin development on your project at least.

@github-project-automation github-project-automation bot moved this from In Progress to Done in pyVoIP Jan 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: Done
Development

No branches or pull requests

2 participants