Comments (8)
First off, you can investigate the HangupCause property to see why the originate failed.
But I recommend you install a logging library into your project to get a better view of what's going on. NEventSocket uses LibLog which will automatically detect and route log messages to most popular logging libraries. I personally use NLog.
With Trace level logging you get a full picture of all messages flowing through NEventSocket which is useful for debugging, just be sure to adjust the logging level to Info or Warning in production for performance reasons.
If you are having issues with NEventSocket, it always helps to post Trace level log output so we can get an idea of what's going on.
from neventsocket.
I tried it yesterday. If we concurrent outbound call using SendCommand method directly launch command Originate, so at the time of concurrent will not appear freeswitch call volume after reaching a certain number, number of freeswitch calls gradually becomes zero. If you call the Originate method of Inbound, the above situation will appear. This may be a problem with the Originate method.
from neventsocket.
calls count 0 not work.txt
calls count about 600 work fine.txt
calls count 0 not work using Originate method.
calls count about 600 using SendCommand like this.
var originateString = string.Format("{0}{1} {2}", op, "sofia/gateway/88165450/15311111111", "'&park()'");
Guid jobUUID = Guid.NewGuid();
var backgroundApiCommand = originateString != null
? "bgapi {0} {1}\nJob-UUID: {2}".Fmt("originate", originateString, jobUUID)
: "bgapi {0}\nJob-UUID: {1}".Fmt("originate", jobUUID);
await socket.SendCommand(backgroundApiCommand);
from neventsocket.
Please see related issue #29 and sample code: https://github.com/danbarua/NEventSocket/blob/master/src/NEventSocket.Examples/Examples/VoiceBlaster.cs
from neventsocket.
Can you show me the logs for 'calls count 0 not work using Originate method.'?
from neventsocket.
https://github.com/danbarua/NEventSocket/files/267343/calls.count.0.not.work.txt
I have uploaded.
from neventsocket.
I use SendCommand method to send Concurrent call. now work fine.
from neventsocket.
@yojinjin seems to be more of an application issue than a library issue - closing for now but re-open if you are still having problems.
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.