Hey all,

Joel, it’s failing saying the destination is unresolvable and Ben, I’m setting it like

Listen=tls:1.2.3.4:5061 advertise mydomain.com:5061

My domain.com srv is like 

_sips._tcp.domain.com resolving to sip.domain.com (among others like udp, etc)

I would expect Kamailio to resolve its own srv, or have an option NOT to attempt to resolve and just the set host in the record-route, but maybe that’s just not how it works. Yes, setting sip.domain.com:5061 works but the the record-route would have that (sip.domain.com) exact same host and the client might disconnect and reconnect to that dns instead of the actual SRV.

Regards,

David Villasmil
email: david.villasmil.work@gmail.com



On Mon, 1 Jul 2024 at 15:46, Ben Kaufman <bkaufman@bcmone.com> wrote:

Are you using a hostname that should resolve as srv , for example, sip.domain.com, or are you using the underscore, scheme, underscore transport protocol, hostname type like _sip._udp.domain.com ?

 

Regards,

Kaufman

 

From: David Villasmil via sr-users <sr-users@lists.kamailio.org>
Sent: Sunday, June 30, 2024 6:02 PM
To: Kamailio (SER) - Users Mailing List <sr-users@lists.kamailio.org>
Cc: David Villasmil <david.villasmil.work@gmail.com>
Subject: [SR-Users] SRV in advertise?

 

CAUTION: This email originated from outside the organization. Do not click links or open attachments unless you recognize the sender and know the content is safe.

 

Hello guys,

 

I'm trying to use an SRV as an advertised address but kamailio fails to start. Is this not possible?

 

Thanks,

 

David Villasmil