While I don't know if it will or won't cause the failure, you shouldn't have a 
port number in something you're intending to use as a SRV record.

- Kaufman


From: David Villasmil <[email protected]>
Sent: Monday, July 1, 2024 9:19 AM
To: Ben Kaufman <[email protected]>
Cc: Kamailio (SER) - Users Mailing List <[email protected]>
Subject: Re: [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.

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<http://1.2.3.4:5061/> advertise 
mydomain.com:5061<http://mydomain.com:5061/>

My domain.com<http://domain.com/> srv is like

_sips._tcp.domain.com<http://tcp.domain.com/> resolving to 
sip.domain.com<http://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<http://sip.domain.com:5061/> works but the the record-route 
would have that (sip.domain.com<http://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: [email protected]<mailto:[email protected]>



On Mon, 1 Jul 2024 at 15:46, Ben Kaufman 
<[email protected]<mailto:[email protected]>> wrote:
Are you using a hostname that should resolve as srv , for example, 
sip.domain.com<http://sip.domain.com/>, or are you using the underscore, 
scheme, underscore transport protocol, hostname type like 
_sip._udp.domain.com<http://udp.domain.com/> ?

Regards,
Kaufman

From: David Villasmil via sr-users 
<[email protected]<mailto:[email protected]>>
Sent: Sunday, June 30, 2024 6:02 PM
To: Kamailio (SER) - Users Mailing List 
<[email protected]<mailto:[email protected]>>
Cc: David Villasmil 
<[email protected]<mailto:[email protected]>>
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
email: [email protected]<mailto:[email protected]>

__________________________________________________________
Kamailio - Users Mailing List - Non Commercial Discussions
To unsubscribe send an email to [email protected]
Important: keep the mailing list in the recipients, do not reply only to the 
sender!
Edit mailing list options or unsubscribe:

Reply via email to