hello all, using only the srv did not work either:
listen=tls:1.2.3.4:443 advertise mydomain.com logs: 0(139992) ERROR: <core> [core/socket_info.c:350]: new_sock_info(): unable to resolve advertised name mydomain.com 0(139992) ERROR: <core> [core/socket_info.c:357]: new_sock_info(): could not allocate private memory from pkg pool 0(139992) ERROR: <core> [core/socket_info.c:784]: new_sock2list(): new_sock_info failed 0(139992) ERROR: <core> [core/socket_info.c:876]: add_listen_advertise_iface(): new_sock2list failed 0(139992) CRITICAL: <core> [core/cfg.y:1474]: yyparse(): cfg. parser: failed to add listen address Thanks & Regards, David Villasmil email: [email protected] On Mon, Jul 1, 2024 at 11:38 PM David Villasmil < [email protected]> wrote: > Thanks all, I’m using 5.3.9, I’ll also need to upgrade > > Regards, > > David Villasmil > email: [email protected] > > > > On Mon, 1 Jul 2024 at 20:47, Daniel-Constantin Mierla via sr-users < > [email protected]> wrote: > >> Hello, >> >> indeed, as mentioned, the presence of a port in a SIP address makes it to >> skip SRV lookup. >> >> Anyhow, I am jumping in to see what is the Kamailio version used in this >> scenario? I don't recall exactly, but a while ago there was a related >> commit, at least it looked like when I did some backports today for next >> planned release in 5.6.x series. >> >> Cheers, >> Daniel >> On 01.07.24 19:16, Ben Kaufman via sr-users wrote: >> >> 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]> >> <[email protected]> >> *Sent:* Monday, July 1, 2024 9:19 AM >> *To:* Ben Kaufman <[email protected]> <[email protected]> >> *Cc:* Kamailio (SER) - Users Mailing List <[email protected]> >> <[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 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: [email protected] >> >> >> >> >> >> >> >> On Mon, 1 Jul 2024 at 15:46, Ben Kaufman <[email protected]> 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 <[email protected]> >> *Sent:* Sunday, June 30, 2024 6:02 PM >> *To:* Kamailio (SER) - Users Mailing List <[email protected]> >> *Cc:* David Villasmil <[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] >> >> >> >> >> __________________________________________________________ >> 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: >> >> -- >> Daniel-Constantin Mierla (@ asipto.com)twitter.com/miconda -- >> linkedin.com/in/miconda >> Kamailio Consultancy, Training and Development Services -- asipto.com >> >> __________________________________________________________ >> 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: >> >
__________________________________________________________ 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:
