This project is read-only.

How do I configure Transport Layer

Feb 27, 2016 at 1:19 AM
Edited Feb 27, 2016 at 1:48 AM
// Configure the SIP transport layer.
        m_sipTransport = new SIPTransport(SIPDNSManager.ResolveSIPService, new SIPTransactionEngine());
SIPDNSManager.ResolveSIPService expects SIPURI and a boolean parameter and returns SIPDNSLookupResult whereas SIPTransport expects ResolveSIPEndPointDelagate

Error BC30311 Value of type 'SIPDNSLookupResult' cannot be converted to 'ResolveSIPEndPointDelegate'.
Feb 27, 2016 at 8:59 AM
That line of code is correct and compiles, where are you getting the error?

The SIPDNSManager.ResolveSIPService is a function delegate that allows the SIP transport layer you are creating to do DNS lookups. If you knew you were going to all your SIP addressing using only IP addresses you could set that parameter of the SIPTransport constructor to null.
Feb 27, 2016 at 6:02 PM
It is working fine in C#. I was trying to use the library in one of my application. There were other issues too in
Feb 29, 2016 at 9:09 AM
Sorry I don't know how function delegates work in VB.Net. If you've got a suggestion for a new SIPTransport constructor that's more suitable for VB.Net I'm happy to consider it.