Hello, I'm trying to create a DNSSRV record that resolves to multiple Kamailio servers for my clients to authenticate against. Before using Kamailio, we had a DNSSRV record setup that resolved to our multiple Asterisk servers via their WAN Address.
I've tried to do the same with Kamailio, but not having much luck.
The DNSSRV record is setup as follows, as you can see from the output of a `dig` query:
;_sip._udp.kam.some-domain.com. IN SRV
;; ANSWER SECTION: _sip._udp.kam.some-domain.com. 14399 IN SRV 20 100 5060 kam1.some-domain.com. _sip._udp.kam.some-domain.com. 14399 IN SRV 10 100 5060 kam2.some-domain.com.
I am not able to register any devices to this SRV record. However I /CAN/ register directly to kam1.some-domain.com and kam2.some-domain.com
Registration attempts to the DNSSRV Record (kam.some-domain.com) do not even appear in /var/log/messages.
We have the domain name for kam (SRV Record), kam1 and kam2 setup in kamailio.domain and kamailio.dispatcher.
What am I missing here? Thank you for taking the time to read this!
Derek Bolichowski
On Sat, Feb 20, 2016 at 03:08:00AM +0000, Derek Bolichowski wrote:
I am not able to register any devices to this SRV record. However I /CAN/ register directly to kam1.some-domain.com and kam2.some-domain.com
Registration attempts to the DNSSRV Record (kam.some-domain.com) do not even appear in /var/log/messages.
This doesn't sound like a kamailio issue. But the only way to start is to take a look at the network layer, are messages being sent and are they received on the kamailio host.
As Daniel mention, try to ngrep or tcpdump if messages are received or not.
Some Phones need to activate an special option to use DNS SRV instead A registers
BR
Alberto
2016-02-22 10:10 GMT+01:00 Daniel Tryba d.tryba@pocos.nl:
On Sat, Feb 20, 2016 at 03:08:00AM +0000, Derek Bolichowski wrote:
I am not able to register any devices to this SRV record. However I /CAN/ register directly to kam1.some-domain.com and kam2.some-domain.com
Registration attempts to the DNSSRV Record (kam.some-domain.com) do not even appear in /var/log/messages.
This doesn't sound like a kamailio issue. But the only way to start is to take a look at the network layer, are messages being sent and are they received on the kamailio host.
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users