[Freeswitch-trunk] [commit] r13916 - in freeswitch/trunk/libs/sofia-sip: . libsofia-sip-ua/sresolv

FreeSWITCH SVN mikej at freeswitch.org
Tue Jun 23 12:44:54 PDT 2009


Author: mikej
Date: Tue Jun 23 14:44:54 2009
New Revision: 13916

Log:

Tue Jun 23 10:01:36 CDT 2009  Pekka Pessi <first.last at nokia.com>
  * check_sres_sip: fixed records used in check_cname



Modified:
   freeswitch/trunk/libs/sofia-sip/.update
   freeswitch/trunk/libs/sofia-sip/libsofia-sip-ua/sresolv/check_sres_sip.c

Modified: freeswitch/trunk/libs/sofia-sip/.update
==============================================================================
--- freeswitch/trunk/libs/sofia-sip/.update	(original)
+++ freeswitch/trunk/libs/sofia-sip/.update	Tue Jun 23 14:44:54 2009
@@ -1 +1 @@
-Tue Jun 23 14:43:15 CDT 2009
+Tue Jun 23 14:44:02 CDT 2009

Modified: freeswitch/trunk/libs/sofia-sip/libsofia-sip-ua/sresolv/check_sres_sip.c
==============================================================================
--- freeswitch/trunk/libs/sofia-sip/libsofia-sip-ua/sresolv/check_sres_sip.c	(original)
+++ freeswitch/trunk/libs/sofia-sip/libsofia-sip-ua/sresolv/check_sres_sip.c	Tue Jun 23 14:44:54 2009
@@ -421,25 +421,28 @@
   su_addrinfo_t const *ai;
   url_string_t *uri;
 
-  s2_dns_record("cname1.example.com", sres_type_a,
+  s2_dns_default("example.com.");
+
+  s2_dns_record("cname1.example.com.", sres_type_a,
 		"", sres_type_cname, "a.example.com.",
+		"a", sres_type_a, "11.12.13.14",
 		NULL);
 
-  s2_dns_record("cname1.example.com", sres_type_naptr,
+  s2_dns_record("cname1.example.com.", sres_type_naptr,
 		"", sres_type_cname, "a.example.com.",
 		NULL);
 
-  s2_dns_record("cname1.example.com", sres_type_aaaa,
+  s2_dns_record("cname1.example.com.", sres_type_aaaa,
 		"", sres_type_cname, "a.example.com.",
 		NULL);
 
-  s2_dns_record("a.example.com", sres_type_a,
+  s2_dns_record("a.example.com.", sres_type_a,
 		"", sres_type_a, "11.12.13.14",
 		NULL);
 
-  s2_dns_record("cname2.example.com", sres_type_a,
+  s2_dns_record("cname2.example.com.", sres_type_a,
 		"", sres_type_cname, "a.example.com.",
-		"test.example.com", sres_type_a, "11.12.13.14",
+		"test.example.com.", sres_type_a, "11.12.13.14",
 		NULL);
 
   uri = (void *)"sip:cname1.example.com";



More information about the Freeswitch-trunk mailing list