Hi All,
I am trying to integrate URI-B with Asterisk-16.9 on Centos 8.
I have tried with Integrating URI using both chan_usbradio as well as chan_simpleusb.
In both cases the source code available was compatible with Asterisk 1.4. However, i have made the necessary changes in the source code and i am able to load both chan_usbradio and chan_simpleusb module in asterisk 16.9 version.
After that i created a node in rpt.conf and added the usb channel as mentioned below
rxchannel = SimpleUSB/usb_1999 (in case of simpleusb channel)
but asterisk is crashing after it load app_rpt application after giving the following error:
“chan_simpleusb.c:2148 setformat: Unable to re-open DSP device 0 (usb_1999): No such file or directory”
After analyzing i have found that channel is looking for /dev/dsp device which is not present in my system.
OSS is the package which is responsible for creating /dev/dsp devices, but it is deprecated in the latest linux kernels. I have also installed alsa-oss package but unable to get /dev/dsp.
PFB the output of sound drivers loaded:
lsmod | grep snd
snd_hda_codec_realtek 122880 1
snd_hda_codec_generic 86016 1 snd_hda_codec_realtek
ledtrig_audio 16384 2 snd_hda_codec_generic,snd_hda_codec_realtek
snd_hda_codec_hdmi 69632 1
snd_usb_audio 294912 8
snd_hda_intel 49152 12
snd_intel_dspcfg 24576 1 snd_hda_intel
snd_hda_codec 151552 4 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec_realtek
snd_usbmidi_lib 36864 1 snd_usb_audio
snd_hda_core 98304 5 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec,snd_hda_codec_realtek
snd_rawmidi 40960 1 snd_usbmidi_lib
snd_hwdep 16384 2 snd_usb_audio,snd_hda_codec
snd_seq 81920 0
snd_seq_device 16384 2 snd_seq,snd_rawmidi
snd_pcm 118784 6 snd_hda_codec_hdmi,snd_hda_intel,snd_usb_audio,snd_hda_codec,snd_hda_core
snd_timer 40960 2 snd_seq,snd_pcm
snd 94208 52 snd_hda_codec_generic,snd_seq,snd_seq_device,snd_hda_codec_hdmi,snd_hwdep,snd_hda_intel,snd_usb_audio,snd_usbmidi_lib,snd_hda_codec,snd_hda_codec_realtek,snd_timer,snd_pcm,snd_rawmidi
soundcore 16384 1 snd
Pls suggest the possible solution to solve.