Comments (6)
freeswitch version:1.6.20
from drachtio-freeswitch-modules.
Help, I've been stuck here.
from drachtio-freeswitch-modules.
Windows 10 System
from drachtio-freeswitch-modules.
I don't work on windows, so I may not be much help here. Also my testing is with freeswitch v1.8 not 1.6.
Having said that, are you sure the crash is in the thread you are referencing, and not the thread that is actually trying to do the connect? Can you provide a stack trace of both threads?
Its hard to understand why that line would crash, since at that point we have simply initialized a mutex and a condition variable, and then called that line of code to wait on the condition. Can you inspect the mutex and the condition variable in the debugger to see if they look valid?
What is happening there is
switch_mutex_init(&cb->mutex, SWITCH_MUTEX_NESTED, switch_core_session_get_pool(session));
switch_thread_cond_create(&cb->cond, switch_core_session_get_pool(session));
...
switch_mutex_lock(cb->mutex);
...
switch_thread_cond_wait(cb->cond, cb->mutex);
Are you sure you need this to work on Windows? I really dont see Windows as serious platform for server-based realtime communications, and would be interested to know why you are using it.
from drachtio-freeswitch-modules.
api:executeString("uuid_audio_fork "..call_uuid.." start ws://192.168.0.205:9988 mono 8k metadata");
the lua code is not executed down.
api = freeswitch.API();
local call_uuid = session:getVariable("uuid");
freeswitch.consoleLog("console", "-----------------call_uuid="..call_uuid.."\n")
api:executeString("uuid_audio_fork "..call_uuid.." start ws://192.168.0.205:9988 mono 8k metadata");
session2 = freeswitch.Session("sofia/internal/1000%192.168.0.205");
freeswitch.bridge(session, session2);
from drachtio-freeswitch-modules.
I'm unclear what you mean by "the lua code is not executed down." ?
from drachtio-freeswitch-modules.
Related Issues (20)
- RTP problem with examples/google_transcribe.js (Windows/Podman)
- Facing issue with Azure Transcribe module HOT 2
- mod_aws_transcribe locks when calls is destroyed before transcription is stopped HOT 3
- How to play the audio to caller? HOT 1
- How to activate mod_dialogflow in fusionpbx HOT 2
- lws_glue.cpp:185 connection failed: read failed HOT 1
- Smart Formatting on Deepgram HOT 1
- add support for Azure speech segmentation
- add support for google voice activity timeout
- mod_google_transcribe: Feature Request: Support for `google::cloud::speech::v2` HOT 2
- mod_google_transcribe: Feature Request: Make the sample rate in `RecognitionConfig` configurable
- mod_google_transcribe: Bug: Calling transcribe2_function in mod_google_transcribe.c sometimes crashes HOT 2
- mod_google_transcribe: Feature Request: Allow google speech to text endpoint to be configurable
- deepgram websocket connection closed after few seconds of transcription HOT 4
- mod_audio_fork: Do we need to disconnect audio fork connection?
- Executed the last dialplan instruction after use dialogflow_start
- freeswitch restart issue HOT 3
- **/usr/local/freeswitch/mod/mod_audio_fork.so: undefined symbol: fork_session_send_text**
- mod_audio_fork: memory leak in mod audio fork
- Ability to audio_fork callee channel mono to a wss-url
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from drachtio-freeswitch-modules.