Replies: 3 comments
-
Don't take my word for it, as I only started seriously using with the library yesterday, but I think that one is intended to be used internally by SIPSorcery - its SIPTransport class implements retransmissions and relies on that to retry; thus the initial packet can trigger a DNS lookup (which will populate the DNS cache) but does not need to actively wait for it, instead it can fail early with an error, but the next retransmission (now with a populated DNS cache) will succeed. However it does seem like something else is broken; I am experiencing the same problem, even when setting |
Beta Was this translation helpful? Give feedback.
-
I am still stuck on this problem so I ended up opening an actual GitHub issue with a minimal example: #980 |
Beta Was this translation helpful? Give feedback.
-
Seems to be a bug introduced in 6.0.12? I am not experiencing this problem on 6.0.11 so I suggest downgrading until it's fixed. |
Beta Was this translation helpful? Give feedback.
-
The following call
fails with a HostNotFound status when using a dns hostname in the sip uri. IPAddress works fine. Yes, the hostname resolves on the machine that this code runs on. I was building the uri with custom code and doing a dns lookup to get an ip before I discovered the
SIPURI.ParseSIPURI()
method. And I'm trying hard to understand the purpose of the waitForDns argument. If we need to lookup an ip from the host name, how can we not wait for the result?Can anyone
Building the request using the code below and passing endpoints in the format:
sip:user@host:port
Beta Was this translation helpful? Give feedback.
All reactions