pjsua_aud.c ..Unable to open sound device: Unknown pjmedia-audiodev error

Status
Not open for further replies.

Claas Augner

Joined
Jan 16, 2019
Messages
2
Reaction score
0
I'm getting the following error in 3CXPhoneForWindows.log (*** added by me) when trying to initiate a call from 3CX Client for 3CX Phone System 15.5.12227.5 on Windows and the call cancels right away.

I have already reinstalled both the 3CX client and the sound device, and tried with another sound device. Any tips?

Code:
[16.01.2019 13:57:17.976][1] Activating main window on a call
[16.01.2019 13:57:17.982][1] 13:57:17.982 audiodev.c_3CX !pjmedia_aud_dev_refresh drv_cnt = 1
[16.01.2019 13:57:17.982][1] 13:57:17.982 audiodev.c_3CX  drv[0] = 6260a364, f = 60bf77c, f->op = 6260560c, f->op->refresh = 62425a80
[16.01.2019 13:57:17.982][1] 13:57:17.982 wmme_dev_3cx.c  wmme refresh start
[16.01.2019 13:57:17.982][1] 13:57:17.982 wmme_dev_3cx.c  wmme refresh 20
[16.01.2019 13:57:17.982][1] 13:57:17.982 wmme_dev_3cx.c  wmme refresh 30
[16.01.2019 13:57:17.982][1] 13:57:17.982 wmme_dev_3cx.c  wmme refresh 40
[16.01.2019 13:57:17.983][1] 13:57:17.983 wmme_dev_3cx.c  wmme refresh 50
[16.01.2019 13:57:17.983][1] 13:57:17.983 wmme_dev_3cx.c  wmme refresh 60
[16.01.2019 13:57:17.985][1] 13:57:17.985 wmme_dev_3cx.c  wmme refresh before get_dev_names
[16.01.2019 13:57:17.985][1] 13:57:17.985 wmme_dev_3cx.c  get_dev_names 10
[16.01.2019 13:57:17.985][1] 13:57:17.985 wmme_dev_3cx.c  get_dev_names 12 -2147417850
[16.01.2019 13:57:17.985][1] 13:57:17.985 wmme_dev_3cx.c  get_dev_names 14 1
[16.01.2019 13:57:17.985][1] 13:57:17.985 wmme_dev_3cx.c  get_dev_names 20 0
[16.01.2019 13:57:17.988][1] 13:57:17.988 wmme_dev_3cx.c  get_dev_names 30 0
[16.01.2019 13:57:17.988][1] 13:57:17.988 wmme_dev_3cx.c  get_dev_names 40 0 3
[16.01.2019 13:57:17.988][1] 13:57:17.988 wmme_dev_3cx.c  get_dev_names success
[16.01.2019 13:57:17.988][1] 13:57:17.988 wmme_dev_3cx.c  WMME! found 4 devices:
[16.01.2019 13:57:17.988][1] 13:57:17.988 wmme_dev_3cx.c   dev_id 0: Primary Sound Driver  (in=2, out=2)
[16.01.2019 13:57:17.988][1] 13:57:17.988 wmme_dev_3cx.c   dev_id 1: Kopfh�rermikrofon (Plantronics BT600)  (in=2, out=0)
[16.01.2019 13:57:17.988][1] 13:57:17.988 wmme_dev_3cx.c   dev_id 2: Kopfh�rer (Plantronics BT600)  (in=0, out=2)
[16.01.2019 13:57:17.988][1] 13:57:17.988 wmme_dev_3cx.c   dev_id 3: Realtek Digital Output (Realtek High Definition Audio)  (in=0, out=2)
[16.01.2019 13:57:17.988][1] 13:57:17.988 audiodev.c_3CX  pjmedia_aud_dev_refresh success
[16.01.2019 13:57:17.988][1] ApplyAudioDevices: captureDevGuid = , playbackDevGuid = , captureDevId = 0, playbackDevId = 0
[16.01.2019 13:57:17.988][1] ApplyAudioDevices finished
[16.01.2019 13:57:17.988][1] 13:57:17.988      PjsipCall  ***************** CREATING OUTGOING CALL TO 91, cl = 1338a428, this = 1328A280 1328A4A0
[16.01.2019 13:57:17.992][16] 13:57:17.992      PjsipCall !***************** CREATING OUTGOING CALL SIP URI = <sip:[email protected];tag3cx=7149ba8e54a84b10b277be7d1ce6cd05>
[16.01.2019 13:57:17.992][16] 13:57:17.992   pjsua_call.c  Making call with acc #1 to <sip:[email protected];tag3cx=7149ba8e54a84b10b277be7d1ce6cd05>
[16.01.2019 13:57:17.992][16] 13:57:17.992    pjsua_aud.c  .Set sound device: capture=0, playback=0
[16.01.2019 13:57:17.992][16] 13:57:17.992    pjsua_aud.c  ..Opening sound device PCM@32000/1/10ms
[16.01.2019 13:57:18.072][16] 13:57:18.072 wmme_dev_3cx.c  ... WaveAPI Sound player "Primary Sound Driver" initialized (format=PCM, clock_rate=32000, channel_count=1, samples_per_frame=320 (10ms))
[16.01.2019 13:57:18.100][16] 13:57:18.100 wmme_dev_3cx.c  ...Stopped WMME playback stream
[16.01.2019 13:57:18.103][16] 13:57:18.103    pjsua_aud.c  ..Opening sound device PCM@44100/1/10ms
[16.01.2019 13:57:18.123][16] 13:57:18.123 wmme_dev_3cx.c  ... WaveAPI Sound player "Primary Sound Driver" initialized (format=PCM, clock_rate=44100, channel_count=1, samples_per_frame=441 (10ms))
[16.01.2019 13:57:18.124][16] 13:57:18.124 wmme_dev_3cx.c  ...Stopped WMME playback stream
[16.01.2019 13:57:18.128][16] 13:57:18.128    pjsua_aud.c  ..Opening sound device PCM@48000/1/10ms
[16.01.2019 13:57:18.146][16] 13:57:18.146 wmme_dev_3cx.c  ... WaveAPI Sound player "Primary Sound Driver" initialized (format=PCM, clock_rate=48000, channel_count=1, samples_per_frame=480 (10ms))
[16.01.2019 13:57:18.147][16] 13:57:18.147 wmme_dev_3cx.c  ...Stopped WMME playback stream
[16.01.2019 13:57:18.151][16] 13:57:18.151    pjsua_aud.c  ..Opening sound device PCM@32000/1/10ms
[16.01.2019 13:57:18.170][16] 13:57:18.170 wmme_dev_3cx.c  ... WaveAPI Sound player "Primary Sound Driver" initialized (format=PCM, clock_rate=32000, channel_count=1, samples_per_frame=320 (10ms))
[16.01.2019 13:57:18.171][16] 13:57:18.171 wmme_dev_3cx.c  ...Stopped WMME playback stream
[16.01.2019 13:57:18.175][16] 13:57:18.175    pjsua_aud.c  ..Opening sound device PCM@16000/1/10ms
[16.01.2019 13:57:18.194][16] 13:57:18.194 wmme_dev_3cx.c  ... WaveAPI Sound player "Primary Sound Driver" initialized (format=PCM, clock_rate=16000, channel_count=1, samples_per_frame=160 (10ms))
[16.01.2019 13:57:18.195][16] 13:57:18.195 wmme_dev_3cx.c  ...Stopped WMME playback stream
[16.01.2019 13:57:18.199][16] 13:57:18.199    pjsua_aud.c  ..Opening sound device PCM@8000/1/10ms
[16.01.2019 13:57:18.218][16] 13:57:18.218 wmme_dev_3cx.c  ... WaveAPI Sound player "Primary Sound Driver" initialized (format=PCM, clock_rate=8000, channel_count=1, samples_per_frame=80 (10ms))
[16.01.2019 13:57:18.219][16] 13:57:18.219 wmme_dev_3cx.c  ...Stopped WMME playback stream
******************************************
[16.01.2019 13:57:18.223][16] 13:57:18.223    pjsua_aud.c  ..Unable to open sound device: Unknown pjmedia-audiodev error 450001 [status=450001]
******************************************
[16.01.2019 13:57:18.223][1] 13:57:18.223 desktop_dev.cp !Desktop video src initialized with 2 device(s):
[16.01.2019 13:57:18.223][1] 13:57:18.223 desktop_dev.cp   0: Screen 1
[16.01.2019 13:57:18.223][1] 13:57:18.223 desktop_dev.cp   1: Screen 2
[16.01.2019 13:57:18.227][1] 13:57:18.227    dshow_dev.c  Windows found no video input devices
[16.01.2019 13:57:18.227][1] 13:57:18.227    dshow_dev.c  DShow has 0 devices:
[16.01.2019 13:57:18.227][1] enumerating video devices, cnt = 4
[16.01.2019 13:57:18.227][1] video device #0: "Logo", guid='Logo'
[16.01.2019 13:57:18.227][1] video device #1: "Screen 1", guid='Desktop0'
[16.01.2019 13:57:18.227][1] video device #2: "Screen 2", guid='Desktop1'
[16.01.2019 13:57:18.227][1] video device #3: "Bitmap renderer", guid=''
[16.01.2019 13:57:18.243][1] 13:57:18.243 desktop_dev.cp  Desktop video src initialized with 2 device(s):
[16.01.2019 13:57:18.243][1] 13:57:18.243 desktop_dev.cp   0: Screen 1
[16.01.2019 13:57:18.243][1] 13:57:18.243 desktop_dev.cp   1: Screen 2
[16.01.2019 13:57:18.247][1] 13:57:18.247    dshow_dev.c  Windows found no video input devices
[16.01.2019 13:57:18.247][1] 13:57:18.247    dshow_dev.c  DShow has 0 devices:
[16.01.2019 13:57:18.247][1] enumerating video devices, cnt = 4
[16.01.2019 13:57:18.247][1] video device #0: "Logo", guid='Logo'
[16.01.2019 13:57:18.247][1] video device #1: "Screen 1", guid='Desktop0'
[16.01.2019 13:57:18.247][1] video device #2: "Screen 2", guid='Desktop1'
[16.01.2019 13:57:18.247][1] video device #3: "Bitmap renderer", guid=''
 
The problem still persists and I cannot execute any calls.
 
The reason the call cancels immediately is because you are getting the error with the audio device.

Also as a side note, you should consider upgrading to at least V15.5 SP6 as soon as possible to avoid any license activation issues. You can follow the instructions here: https://www.3cx.com/blog/news/pbx-upgrade-update-6/
(this is not the problem though)

In the 3CX Client audio settings I see you have selected the Primary Audio Device. This means that it will try to bind to whatever you have selected as "Primary Audio Device" and "Primary Communication Device" in Windows.
Try the following:
- Set you BT device as the primary device:
9634

If that doesn't work, then try to set in the 3CX Client Audio settings the BT device instead of the Primary. If that also doesn't work, try settings another device.
 
Status
Not open for further replies.

Forum statistics

Threads
112,025
Messages
590,365
Members
164,976
Latest member
Roman Mazur