Here output from dig.
Yes, for current setup I want setup as border gateway with couple redirection and failover to DR site. Currently I got ldap authentication working. trying test call between remote extension (which failing). And next step will forward to voicemail which partially done. PSTN forward is part of config I will need adjust couple expression to match dial string. That current plan.
[volga629@localhost ~]$ dig srv _sips._tcp.networklab.loc
; <<>> DiG 9.9.4-P2-RedHat-9.9.4-11.P2.fc20 <<>> srv _sips._tcp.networklab.loc
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 64602
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 2, ADDITIONAL: 4
;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 4096
;; QUESTION SECTION:
;_sips._tcp.networklab.loc. IN SRV
;; ANSWER SECTION:
_sips._tcp.networklab.loc. 3600 IN SRV 0 0 5061 dsm01.networklab.loc.
;; AUTHORITY SECTION:
networklab.loc. 86400 IN NS ns1.networklab.loc.
networklab.loc. 86400 IN NS ns2.networklab.loc.
;; ADDITIONAL SECTION:
dsm01.networklab.loc. 86400 IN A 192.168.100.145
ns1.networklab.loc. 86400 IN A 192.168.10.69
ns2.networklab.loc. 86400 IN A 192.168.10.99
;; Query time: 2 msec
;; SERVER: 192.168.10.99#53(192.168.10.99)
;; WHEN: Mon Mar 24 13:31:27 EDT 2014
;; MSG SIZE rcvd: 178
[volga629@localhost ~]$ dig srv _sip._udp.networklab.loc
; <<>> DiG 9.9.4-P2-RedHat-9.9.4-11.P2.fc20 <<>> srv _sip._udp.networklab.loc
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 15496
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 2, ADDITIONAL: 4
;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 4096
;; QUESTION SECTION:
;_sip._udp.networklab.loc. IN SRV
;; ANSWER SECTION:
_sip._udp.networklab.loc. 3600 IN SRV 0 0 5060 dsm01.networklab.loc.
;; AUTHORITY SECTION:
networklab.loc. 86400 IN NS ns2.networklab.loc.
networklab.loc. 86400 IN NS ns1.networklab.loc.
;; ADDITIONAL SECTION:
dsm01.networklab.loc. 86400 IN A 192.168.100.145
ns1.networklab.loc. 86400 IN A 192.168.10.69
ns2.networklab.loc. 86400 IN A 192.168.10.99
;; Query time: 2 msec
;; SERVER: 192.168.10.99#53(192.168.10.99)
;; WHEN: Mon Mar 24 13:32:30 EDT 2014
;; MSG SIZE rcvd: 177
From: "Alex Balashov" <abalashov@evaristesys.com>
To: sr-users@lists.sip-router.org
Sent: Monday, March 24, 2014 12:43:58 AM
Subject: Re: [SR-Users] kamailio db
On 03/24/2014 12:33 AM, Slava Bendersky wrote:
> 9(6003) DEBUG: <core> [dns_cache.c:830]: dns_cache_add():
> dns_cache_add: adding networklab.loc(14) 1 (flags=1) at 720
> 9(6003) ERROR: <core> [resolve.c:1733]: sip_hostport2su(): ERROR:
> sip_hostport2su: could not resolve hostname: "networklab.loc"
How are you checking the SRV records, exactly? Can you paste the
invocation and output of the 'host' command, or whatever you're using?
--
Alex Balashov - Principal
Evariste Systems LLC
235 E Ponce de Leon Ave
Suite 106
Decatur, GA 30030
United States
Tel: +1-678-954-0670
Web: http://www.evaristesys.com/, http://www.alexbalashov.com/
_______________________________________________
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