No audio from SIP

Hi @damencho
I have faced with no audio too Problem using Jigasi from Ubuntu package - #23 by Xearo
/# cat /etc/*release
PRETTY_NAME=“Debian GNU/Linux 11 (bullseye)”
NAME=“Debian GNU/Linux”
VERSION_ID=“11”
VERSION=“11 (bullseye)”
VERSION_CODENAME=bullseye
ID=debian

Sep 19 18:36:01 au11.mydomain.net jigasi[2477110]: java.lang.UnsatisfiedLinkError: no jng722 in java.library.path: [/usr/share/jigasi/lib]
Sep 19 18:36:01 au11.mydomain.net jigasi[2477110]: 	at java.base/java.lang.ClassLoader.loadLibrary(ClassLoader.java:2673)
Sep 19 18:36:01 au11.mydomain.net jigasi[2477110]: 	at java.base/java.lang.Runtime.loadLibrary0(Runtime.java:830)
Sep 19 18:36:01 au11.mydomain.net jigasi[2477110]: 	at java.base/java.lang.System.loadLibrary(System.java:1873)
Sep 19 18:36:01 au11.mydomain.net jigasi[2477110]: 	at org.jitsi.impl.neomedia.codec.audio.g722.JNIEncoder.<clinit>(JNIEncoder.java:17)
Sep 19 18:36:01 au11.mydomain.net jigasi[2477110]: 	at org.jitsi.impl.neomedia.codec.audio.g722.JNIEncoderImpl.doOpen(JNIEncoderImpl.java:67)
Sep 19 18:36:01 au11.mydomain.net jigasi[2477110]: 	at org.jitsi.impl.neomedia.codec.AbstractCodec2.open(AbstractCodec2.java:412)
Sep 19 18:36:01 au11.mydomain.net jigasi[2477110]: 	at net.sf.fmj.media.BasicFilterModule.doRealize(BasicFilterModule.java:83)
Sep 19 18:36:01 au11.mydomain.net jigasi[2477110]: 	at net.sf.fmj.media.PlaybackEngine.buildTrackFromGraph(PlaybackEngine.java:579)
Sep 19 18:36:01 au11.mydomain.net jigasi[2477110]: 	at net.sf.fmj.media.ProcessEngine$ProcGraphBuilder.buildTrackFromGraph(ProcessEngine.java:262)
Sep 19 18:36:01 au11.mydomain.net jigasi[2477110]: 	at net.sf.fmj.media.ProcessEngine$ProcGraphBuilder.buildCustomGraph(ProcessEngine.java:239)
Sep 19 18:36:01 au11.mydomain.net jigasi[2477110]: 	at net.sf.fmj.media.ProcessEngine$ProcGraphBuilder.buildGraph(ProcessEngine.java:252)
Sep 19 18:36:01 au11.mydomain.net jigasi[2477110]: 	at net.sf.fmj.media.ProcessEngine$ProcTControl.buildTrack(ProcessEngine.java:688)
Sep 19 18:36:01 au11.mydomain.net jigasi[2477110]: 	at net.sf.fmj.media.PlaybackEngine.doRealize1(PlaybackEngine.java:1135)
Sep 19 18:36:01 au11.mydomain.net jigasi[2477110]: 	at net.sf.fmj.media.ProcessEngine.doRealize(ProcessEngine.java:1197)
Sep 19 18:36:01 au11.mydomain.net jigasi[2477110]: 	at net.sf.fmj.media.RealizeWorkThread.process(BasicController.java:1145)
Sep 19 18:36:01 au11.mydomain.net jigasi[2477110]: 	at net.sf.fmj.media.StateTransitionWorkThread.run(BasicController.java:1224)
Sep 19 18:36:03 au11.mydomain.net jigasi[2477110]: Sep 19, 2022 6:36:03 PM org.jitsi.utils.logging.LoggerImpl log
Sep 19 18:36:03 au11.mydomain.net jigasi[2477110]: SEVERE: [ctx=1663601750321192320819] Stopped receiving RTP for Call: id=16636017540821490731129 peers=1

I think g722 is currently non-functional, but damencho can confirm.

Yep, that’s true. Disable it and use another codec.

yes, i enabled only alaw and ulaw codecs but have next issue - one-way- audio. No audio from sip.
In jigasi logs i see
SEVERE: Unable to handle format: LINEAR, 48000.0 Hz, 16-bit, Mono, LittleEndian, Signed
jagasi.log (22.7 KB)

What is the sip part like? Does it perform latching?

I use Asterisk 1.16, config

[1001]
type=friend
host=dynamic
secret=1234

[transport-jigasi]
type = transport
protocol = udp
bind = 0.0.0.0:5160

[jigasi_auth]
type = auth
auth_type = userpass

password = *******
username = jigasi

[jigasi]
type = aor
max_contacts = 1
remove_existing = yes

[jigasi]
type = endpoint
transport = transport-jigasi
;context = jigasi-in
context = public
direct_media = no
disallow = all
allow = alaw
allow = ulaw
auth = jigasi_auth
aors = jigasi

Nope its not latching.

I change to
[jigasi]
type = endpoint
transport = transport-jigasi
context = public
direct_media = no
disallow = all
allow=ulaw,alaw
auth = jigasi_auth
aors = jigasi
rtp_symmetric=yes
force_rport=yes
rewrite_contact=yes

but the problem with one-way audio remained
jigasi2.log (13.0 KB)