Comments (4)
You're trying to build something really complicated, and I think trying to use this library to do something like that is unlikely to lead to success.
As I understand it you want to answer a call, do some IVR, and the forward the call to to something.
There are products like asterisk/freeswitch and kamailio that exist to do stuff like this. Those are not simple solution either. But if you want to comply with standards it's probably worth looking into it.
from sipsorcery.
No, I don't want to do some IVR and then forward the call. I just want to forward the call immediately, in other words just act exactly like a Proxy Server by using the Contact headers. This is not a complex use case, I feel like it's 15 lines of code on top of the massive standards-compliant library you guys have already built.
The next server that I forward it to is the one that has the IVR. The IVR destination server is also based on this library, it would be great if I could make the Proxy Server based on this library too, then I would have less variety of products to support and it would all be in .Net.
from sipsorcery.
Thanks for the explanation, that makes more sense now. Just to clarify, I'm a minor contributor to this project, and by no means a sip expert like the maintainers.
I'm not sure if sipsorcery respects record-route headers when sending an ACK, or if it replies to the contact in the sip invite ok. And indeed I'm not actually sure what it's supposed to do according to the standard. I recently had a similar problem in this area and couldn't bottom it out so implemented a workaround for my scenario.
To try to understand what it's doing I would use wireshark on the client and see where it's trying to send the ack to. That might give you some clues.
Then if you can include the full sip messages for your flow somebody more knowledgeable might be able to help you out with what eitherinyou are doing wrong, or what might need implementing in sipsorcery.
I'll be watching this in the hope somebody else jumps in with an answer. Routing in sip is hard to get your head around.
from sipsorcery.
Sounds like you're attempting to build a Stateful Proxy (like OpenSER, Kamailio) or a B2BUA Server (like Asterisk and FreeSWITCH w/o media).
Both options are feasible with this library but definitely not in 15 lines of code, probably closer to 1500.
There is an example of a B2BUA here.
from sipsorcery.
Related Issues (20)
- `RTCDataChannel.ordered` is wrong
- Data channels quickly slow down to a crawl under pressure HOT 3
- SipRegistrationUserAgent not responding to OPTIONS requests from server
- localDescription not updated after ICE gathering HOT 1
- Call SipServer with sipsorcery and answered call but automatically hungup.
- c# .net framework 4.7.2 make call to sip HOT 1
- Answer has extmap http://www.webrtc.org/experiments/rtp-hdrext/abs-send-time at level 0 that was not present in offer. HOT 1
- UAC send manuel Acknowledge(OK) with SDP HOT 1
- High latency in one direction only when connected to conference call HOT 2
- Registration not removed when logging in on different device HOT 2
- How to set requireEvenPort to false in RTPSession
- Signed Nuget package HOT 1
- Chrome Version 124 Update is breaking the DTLS Handshake for WebRTC HOT 19
- `IndexOutOfRangeException` while parsing compound packet with receiver report HOT 1
- nuget package 6.2.4,webrtc is work on windows with Chrome version 124,but not work on centos8
- Register Unauthorized HOT 1
- Possible Null pointer exception if using MdnsResolve HOT 1
- Unhandled exception at WebSocketSharp.WebSocket.Send(String data) if websocket client connect and immediately close it HOT 1
- Issue with Audio Level RTP Extension in Janus-Gateway
- Windows, .NET Framework4.8 console app
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 sipsorcery.