Hi. hope you are all fine.
We were trying to incorporate Jibri video Sip gateway in Jitsi. This installer instruction has been followed to install Jitsi Video-SIP-Gateway Installer. jitsi-videosipgw-installer
Also, following this listed document for step by step procedures. jibri as sip.
Our people search URL has been added and getting these from get-dail-plan.json.
But after inviting someone e.g: 7007 from the list there is no Register or Invite request coming to SIP server. In log I am getting Jibri is lunching pjsua.sh but no indication of SIP call.
Selenium joined the call, starting pjsua
2023-02-28 10:07:59.615 INFO: [58] JibriSubprocess.launch#42: Starting pjsua with command /opt/jitsi/jibri/pjsua.sh --id=7007 <sip:jibri@127.0.0.1> sip:7007@43.129.16.105([/opt/jitsi/jibri/pjsua.sh, --id=7007 <sip:jibri@127.0.0.1>, sip:7007@43.129.16.105])
2023-02-28 10:08:00.049 INFO: [61] StatefulJibriService.onServiceStateChange#39: SIP gateway service transitioning from state Starting up to Running
2023-02-28 10:08:00.050 INFO: [61] XmppApi$createServiceStatusHandler$1.invoke#334: Current service started up successfully, sending on iq <iq xmlns='jabber:client' to='sipbrewery@internal.auth.jitsi.vc8.bcc.gov.bd/focus' id='9NUHB-8' type='set'><jibri xmlns='http://jitsi.org/protocol/jibri' status='on' sipaddress='7007@43.129.16.105'/></iq>
2023-02-28 10:08:04.623 FINE: [20] ProcessStatePublisher$startProcessAliveChecks$1.invoke#86: Process pjsua hasn't written in 2 seconds, publishing periodic update
2023-02-28 10:08:04.631 INFO: [61] StatefulJibriService.onServiceStateChange#39: SIP gateway service transitioning from state Running to Error: PjsuaExitedPrematurely SESSION Pjsua exited with code 1
If I manually run pjsua.sh from terminal of my VM the sip account is getting registered in SIP server. So, I think my Jibri.config or pjsua.config is not correct. I am attaching this config.
actually I have not understood what is people search URL , I have a json file listing some users in there, but are those users registered in my SIP server? If I change asterisk SIP.conf with different users, then get-dial-plan.json file also need to change?
get-dial-plan.json contains the list of SIP clients who can be called by Jitsi. This SIP client should be registired in your SIP server when Jitsi calls them.
Ok, yes my current setup has those numbers and registered in SIP servers. but after I Invite one of them from meeting Drop down, no call or INVITE is sent to SIP server from Jibri.
Jibri is calling pjsua.sh though as that can be found in Jibri log.
@emrah thank you for the follow-up. We are trying this for several weeks now, really appreciating your help.
I am sharing pjsua.log. pjsua_all.log (59.7 KB)
What I am understanding, Jibri is registering it’s SIP account in this case, 7008 but not calling INVITE to destination. Can you please check this if there is anything described?
has solved this issue, now call is initiating, and my SIP device is connected and I can receive SIP device end’s video inside jitsi meeting, but meeting video is not received in SIP client end.
I’ve set --vcapture-dev=/dev/video0 as this and also tried with value=1, but occurring same.