So I added a Visual C++ project for it and added pablio.h and similar.

 

The dll builds and loads, and for now I’m just testing it with:

 

<extension name="test">

      <condition field="destination_number" expression="^9199$">

                <action application="answer"/>

                <action application="playback" data="portaudio_stream://test_stream"/>

      </condition>

    </extension>

 

It’s crashing my test 1.10.7 with EXCEPTION_ACCESS_VIOLATION_READ: Fatal Error: EXCEPTION_ACCESS_VIOLATION_READ

I just want to use one of my PortAudio channels as Music on Hold (moh) – using a soundcard for audio.

 

Anyone got any pointers?

 

 

From: FreeSWITCH-users <freeswitch-users-bounces@lists.freeswitch.org> on behalf of Support from NetworkedAudio LLC <support@naud.io>
Date: Friday, November 5, 2021 at 9:36 AM
To: FreeSWITCH Users Help <freeswitch-users@lists.freeswitch.org>
Subject: [Freeswitch-users] Examples of mod_portaudio_stream?

Hi,

 

There seems to be a mod_portaudio_stream that could be used as MOH for a conference with no other members.

 

Does anyone have any examples of how to use it?

 

Erik