Use pjsua-lib without sound device

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]


Hi everyone

So, I am trying to create a sip client for an embedded device that has no audio capabilities.
Therefore I am implementing a mem capture to a buffer for the audio data.
This works so far on a host system but not on the embedded target system.

Now, on the target system I'm stuck at the call disconnecting as soon as I pick up the phone.
Sniffing the traffic and looking at the logs tells me that my programm disconnects after pickup. (Thus no network/pbx/codec problem I guess)
The log points out this issue:
     pjsua_aud_channel_update() failed for call_id 0 media 0: Invalid operation (PJ_EINVALIDOP)
I looked into this it and only found some mentions about missing libraries ( Essentially tells me that portaudio is missing but I have it installed?)
and the following unanswered post that somewhat describes my issue:
Also using endpoint.audDevManager().setNullDev(); or endpoint.audDevManager().setNoDev(); doesn't change the outcome.

General information:
PJ-Sip Version: 2.10
My Code:
Log File:
Target Linux kernel version: 4.3

Local network only, everything on a single switch, no firewall
Embedded Sip Program's Address:
PBX Address:
Telephone's Address:

Note: For building the programm, I compiled PJ-Sip on the target and copied its shared object files over to the host system in order to link them.
         Not the best strategy but it appears to work as I couldn't cross compile the library.

I also looked into creating a null sound device on the os but it seems far more complex than what is probably required.
Would appreciate any help I can get to solve this problem.

Thanks and best regards
Kenneth Mathis
Visit our blog:

pjsip mailing list

[Index of Archives]     [Asterisk Users]     [Asterisk App Development]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [Linux API]
  Powered by Linux