]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
temp fix for windows
authorJeff Lenk <jeff@jefflenk.com>
Fri, 16 Dec 2011 21:53:58 +0000 (15:53 -0600)
committerJeff Lenk <jeff@jefflenk.com>
Fri, 16 Dec 2011 21:54:24 +0000 (15:54 -0600)
src/mod/endpoints/mod_sofia/mod_sofia.h
src/mod/endpoints/mod_sofia/sofia.c

index 7d92a320df223a67fd503719316609c6d87094bb..13e50cdf513ec72adc114758f5b793e695193d1b 100644 (file)
@@ -131,7 +131,9 @@ typedef struct private_object private_object_t;
 #include "sofia-sip/sip_parser.h"
 #include "sofia-sip/tport_tag.h"
 #include <sofia-sip/msg.h>
+#ifndef WIN32
 #include <sofia-sip/uniqueid.h>
+#endif
 
 typedef enum {
        DTMF_2833,
index ff722d385bb3b36fa0f9d5896991d38791fe5140..c116acad4b0c59315d6b9e8f5c7e9ff5144e382a 100644 (file)
@@ -2463,6 +2463,8 @@ static void parse_gateways(sofia_profile_t *profile, switch_xml_t gateways_tag)
                                        gateway->register_transport = transport;
                                }
                        }
+#ifndef WIN32
+                       /* Windows todo figure this out! */
                        /* RFC 5626 enable in the GW profile and the UA profile */
                        if (rfc_5626 && sofia_test_pflag(profile, PFLAG_ENABLE_RFC5626)) {
                                char str_guid[su_guid_strlen + 1];
@@ -2471,6 +2473,7 @@ static void parse_gateways(sofia_profile_t *profile, switch_xml_t gateways_tag)
                                su_guid_sprintf(str_guid, su_guid_strlen + 1, guid);
                                str_rfc_5626 = switch_core_sprintf(gateway->pool, ";reg-id=%s;+sip.instance=\"<urn:uuid:%s>\"",reg_id,str_guid);
                        }
+#endif
 
                        if (ping_freq) {
                                if (ping_freq >= 5) {