From: Jeff Lenk Date: Fri, 16 Dec 2011 21:53:58 +0000 (-0600) Subject: temp fix for windows X-Git-Tag: v1.2-rc1~27^2~8 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a800993698771faef587d35aed9be99022651272;p=thirdparty%2Ffreeswitch.git temp fix for windows --- diff --git a/src/mod/endpoints/mod_sofia/mod_sofia.h b/src/mod/endpoints/mod_sofia/mod_sofia.h index 7d92a320df..13e50cdf51 100644 --- a/src/mod/endpoints/mod_sofia/mod_sofia.h +++ b/src/mod/endpoints/mod_sofia/mod_sofia.h @@ -131,7 +131,9 @@ typedef struct private_object private_object_t; #include "sofia-sip/sip_parser.h" #include "sofia-sip/tport_tag.h" #include +#ifndef WIN32 #include +#endif typedef enum { DTMF_2833, diff --git a/src/mod/endpoints/mod_sofia/sofia.c b/src/mod/endpoints/mod_sofia/sofia.c index ff722d385b..c116acad4b 100644 --- a/src/mod/endpoints/mod_sofia/sofia.c +++ b/src/mod/endpoints/mod_sofia/sofia.c @@ -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=\"\"",reg_id,str_guid); } +#endif if (ping_freq) { if (ping_freq >= 5) {