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

how to correctly config a sip video gateway? #497

Open
lingen opened this issue Dec 19, 2022 · 4 comments
Open

how to correctly config a sip video gateway? #497

lingen opened this issue Dec 19, 2022 · 4 comments

Comments

@lingen
Copy link

lingen commented Dec 19, 2022

Hello,

I'm using the Jitsi Meet in our organization and everything is good. But when I want to deploy a sip video gateway to enable the sip device to join our meeting, I'm blocked by the fewer document

The only document I found on how to config it is this: https://jitsi.github.io/handbook/docs/devops-guide/videosipgw

But just as I config it as this document, I found it's too simple and outdated.

I did it in these steps:

  1. in Jibri, I add these configs
                sip-control-muc {
                    domain = "internal-muc.meet.jitsi"
                    room-name = "thesipbrewery"
                    nickname = "jibri-125276997-sip"
                }
  1. In Jicofo, I add these configs
  jibri-sip {
      brewery-jid = "[email protected]"
  }

I just found this config in sourcecode because your document is outdated about this point, the sip-communicator.properties is not exits any more in Jicofo

  1. enable JWT and config

If we want to invite some sip device to join our meeting, we must enable Jwt and provide a search URL

 config.enableUserRolesBasedOnToken = true
 config.peopleSearchQueryTypes = ['conferenceRooms']
 config.peopleSearchUrl = 'https://pcx.workplus.io/search'

and the peopleSearchUrl returns

[
 {
   "id": "[email protected]",
   "name": "Lingen Liu",
   "type": "videosipgw"
  }
]

And when I complete all these steps, I can invite from the Meeting Web UI, But nothing happened.

And then I tried many days to look it up and finally, I found It needs a program called PJSUA

Install PJSUA

I build a PJSUA from https://github.com/jitsi/pjproject

And finally, I can invite a remote sip from a meeting and the sip can receive a calling

But no video or sound.

I need help

Because there is no document about PJSUA and how to config it correctly, can you help me or provide some documents on how to solve this problem?

Thank you very much.

@saghul
Copy link
Member

saghul commented Dec 19, 2022

Can you please share the pjsua logs?

@lingen
Copy link
Author

lingen commented Dec 19, 2022

@saghul YES, I upload the pjsua.log
pjsua.log

The only problem I can see from the logs is '!SDL_Init() error: No available video device' But I have no idea about this.

I searched some articles and it's like I should install v4l2loopback or something like this first But there is no any document about this point.

@dp666x
Copy link

dp666x commented Feb 20, 2024

Hello! Have you solved your problem? I am currently experiencing the same problem and need to invite a sip video gateway in a meeting, my current configuration test is jigasi, but it does not support video. How to install jibri and configure sip account? It would be better if you have detailed information. Thank you very much.

@damencho
Copy link
Member

The setup process is not documented. There are few posts in the community forum from people sharing their steps.
Or you can use this to install it or at least follow the steps in the script to figure out the steps you need https://github.com/jitsi-contrib/installers/blob/main/jitsi-videosipgw/README.md
The setup us almost like jibri, but with one more audio device and one more video device, and a custom build of pjsua client.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants