Comments (11)
Hi @padmanabanravikumar , I am on the fence as to whether we ought to remove the response timeout code altogether (you will see that it is marked with the [Obsolete] attribute in the codebase.)
However, if you are using database logging with NLog, then perhaps you might benefit from wrapping your database logging in an async target: https://github.com/nlog/NLog/wiki/AsyncWrapper-target
This will keep the NEventSocket worker threads from blocking and is generally worth doing if your log writes are going to be non-trivial.
Since working with FreeSwitch can involve a lot of trial and error, NEventSocket can be quite chatty with its logs to give you as much information as possible, you might also want to filter out Trace and Debug level logs from going to the DB.
from neventsocket.
thank you for your support. its working fine now.
i have one more issue. sometimes "StartDtmf" function call does not working well, no response received after a long period of waiting.
i have debugged for a while and noticed in EventSocket.cs file line 238 the method "SendCommand" call never happens.
from neventsocket.
Is this an Inbound socket controlling many channels or with just one channel?
from neventsocket.
Have you tried calling socket.SubscribeEvents() after connecting?
from neventsocket.
i am just using one channel.
i have called client.SubscribeEvents(EventName.Dtmf).
from neventsocket.
Let's move this discussion to the chat room: https://gitter.im/danbarua/NEventSocket
I might need you to paste me some trace level logs.
from neventsocket.
I've managed to replicate this now. Using LINQ queries with Rx is nice but sometimes you get race conditions where the message you want has arrived before the subscriber has been hooked up.
from neventsocket.
Is there any workaround?
from neventsocket.
Try the latest code, it should be ok now - v0.3.0 is up on NuGet.
from neventsocket.
@padmanabanravikumar Did this work for you?
from neventsocket.
yes, thank you.
from neventsocket.
Related Issues (20)
- Public member 'Where' on type 'Select(Of BasicMessage,EventMessage)' not found. HOT 14
- Not all CHANNEL_HANGUP_COMPLETE are received HOT 6
- ApiResponse.ErrorMessage returns a trailing "\n" HOT 2
- ApiResponse: Is "-ERR no reply" an error? HOT 3
- Use Logging/Diagnostics context for Channels
- Split Channel Events into separate message type/observable HOT 1
- Feature: Add Event helpers for Sofia custom events HOT 1
- socket disconnect HOT 1
- ChannelHangupComplete event HOT 8
- BridgedChannels and OtherLeg HOT 1
- BridgeTo hangs when called multiple times HOT 6
- BridgeTo does not return BridgeResult HOT 3
- Cannot access a disposed object. Object name: 'NEventSocket.InboundSocket'. HOT 3
- All calls return HangupCause.UnallocatedNumber HOT 2
- PlayGetDigitsResult is not Success when no digits is provided by user HOT 2
- Cancel networkStream.ReadAscync() on socket shutdown
- Bridge simultaneous ring multiple endpoints HOT 1
- I will pay for good help configuring freeswitch and making the demo code work.
- Hangup call after number of seconds
- Transfer audio between two legs of call
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 neventsocket.