diff --git a/.gitignore b/.gitignore
index ff9c25c0e2..b271188bbf 100644
--- a/.gitignore
+++ b/.gitignore
@@ -254,4 +254,5 @@ libs/ilbc-*/
libs/broadvoice-*/
libs/libcodec2-*/
libs/libsilk-*/
-
+libs/rabbitmq-c-*/
+libs/rabbitmq-c-*.zip
diff --git a/Freeswitch.2015.sln b/Freeswitch.2015.sln
index e347bda003..e544a41779 100644
--- a/Freeswitch.2015.sln
+++ b/Freeswitch.2015.sln
@@ -634,6 +634,8 @@ Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Download libcodec2", "libs\
EndProject
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Download libsilk", "libs\win32\Download libsilk.2015.vcxproj", "{08782D64-E775-4E96-B707-CC633A226F32}"
EndProject
+Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "mod_amqp", "src\mod\event_handlers\mod_amqp\mod_amqp.2015.vcxproj", "{7AC7AB4F-5EF3-40A0-AD2B-CF4D9720FAC3}"
+EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
All|Win32 = All|Win32
@@ -2906,6 +2908,18 @@ Global
{08782D64-E775-4E96-B707-CC633A226F32}.Release|Win32.Build.0 = Release|Win32
{08782D64-E775-4E96-B707-CC633A226F32}.Release|x64.ActiveCfg = Release|Win32
{08782D64-E775-4E96-B707-CC633A226F32}.Release|x64.Build.0 = Release|Win32
+ {7AC7AB4F-5EF3-40A0-AD2B-CF4D9720FAC3}.All|Win32.ActiveCfg = Release|Win32
+ {7AC7AB4F-5EF3-40A0-AD2B-CF4D9720FAC3}.All|Win32.Build.0 = Release|Win32
+ {7AC7AB4F-5EF3-40A0-AD2B-CF4D9720FAC3}.All|x64.ActiveCfg = Release|x64
+ {7AC7AB4F-5EF3-40A0-AD2B-CF4D9720FAC3}.All|x64.Build.0 = Release|x64
+ {7AC7AB4F-5EF3-40A0-AD2B-CF4D9720FAC3}.Debug|Win32.ActiveCfg = Debug|Win32
+ {7AC7AB4F-5EF3-40A0-AD2B-CF4D9720FAC3}.Debug|Win32.Build.0 = Debug|Win32
+ {7AC7AB4F-5EF3-40A0-AD2B-CF4D9720FAC3}.Debug|x64.ActiveCfg = Debug|x64
+ {7AC7AB4F-5EF3-40A0-AD2B-CF4D9720FAC3}.Debug|x64.Build.0 = Debug|x64
+ {7AC7AB4F-5EF3-40A0-AD2B-CF4D9720FAC3}.Release|Win32.ActiveCfg = Release|Win32
+ {7AC7AB4F-5EF3-40A0-AD2B-CF4D9720FAC3}.Release|Win32.Build.0 = Release|Win32
+ {7AC7AB4F-5EF3-40A0-AD2B-CF4D9720FAC3}.Release|x64.ActiveCfg = Release|x64
+ {7AC7AB4F-5EF3-40A0-AD2B-CF4D9720FAC3}.Release|x64.Build.0 = Release|x64
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
@@ -3136,5 +3150,6 @@ Global
{CB4E68A1-8D19-4B5E-87B9-97A895E1BA17} = {F881ADA2-2F1A-4046-9FEB-191D9422D781}
{9CFA562C-C611-48A7-90A2-BB031B47FE6D} = {C120A020-773F-4EA3-923F-B67AF28B750D}
{08782D64-E775-4E96-B707-CC633A226F32} = {C120A020-773F-4EA3-923F-B67AF28B750D}
+ {7AC7AB4F-5EF3-40A0-AD2B-CF4D9720FAC3} = {9ADF1E48-2F5C-4ED7-A893-596259FABFE0}
EndGlobalSection
EndGlobal
diff --git a/src/mod/event_handlers/mod_amqp/mod_amqp.2015.vcxproj b/src/mod/event_handlers/mod_amqp/mod_amqp.2015.vcxproj
new file mode 100644
index 0000000000..f0ba526010
--- /dev/null
+++ b/src/mod/event_handlers/mod_amqp/mod_amqp.2015.vcxproj
@@ -0,0 +1,151 @@
+
+
+
+
+ Debug
+ Win32
+
+
+ Debug
+ x64
+
+
+ Release
+ Win32
+
+
+ Release
+ x64
+
+
+
+ mod_amqp
+ mod_amqp
+ Win32Proj
+ {7AC7AB4F-5EF3-40A0-AD2B-CF4D9720FAC3}
+
+
+
+ DynamicLibrary
+ MultiByte
+ v140
+
+
+ DynamicLibrary
+ MultiByte
+ v140
+
+
+ DynamicLibrary
+ MultiByte
+ v140
+
+
+ DynamicLibrary
+ MultiByte
+ v140
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <_ProjectFileVersion>10.0.30319.1
+
+
+
+ %(AdditionalIncludeDirectories)
+
+
+
+
+ false
+
+
+
+
+
+
+ X64
+
+
+ %(AdditionalIncludeDirectories)
+
+
+
+
+ false
+
+
+ MachineX64
+
+
+
+
+ %(AdditionalIncludeDirectories)
+
+
+
+
+ %(AdditionalLibraryDirectories)
+ false
+
+
+
+
+
+
+ X64
+
+
+ %(AdditionalIncludeDirectories)
+
+
+
+
+ %(AdditionalLibraryDirectories)
+ false
+
+
+ MachineX64
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {202d7a4e-760d-4d0e-afa1-d7459ced30ff}
+ false
+
+
+
+
+
+
diff --git a/src/mod/event_handlers/mod_amqp/mod_amqp.h b/src/mod/event_handlers/mod_amqp/mod_amqp.h
index 145d8112ff..0282c1a34c 100644
--- a/src/mod/event_handlers/mod_amqp/mod_amqp.h
+++ b/src/mod/event_handlers/mod_amqp/mod_amqp.h
@@ -43,7 +43,10 @@
#include
#include
#include
+
+#ifndef _MSC_VER
#include
+#endif
#define MAX_LOG_MESSAGE_SIZE 1024
#define AMQP_MAX_HOSTS 4
diff --git a/w32/Setup/Setup.2015.wixproj b/w32/Setup/Setup.2015.wixproj
index 92931d3f7d..6db627261c 100644
--- a/w32/Setup/Setup.2015.wixproj
+++ b/w32/Setup/Setup.2015.wixproj
@@ -543,6 +543,14 @@
Binaries;Content;Satellites
INSTALLFOLDER
+
+ mod_amqp
+ {7ac7ab4f-5ef3-40a0-ad2b-cf4d9720fac3}
+ True
+ True
+ Binaries;Content;Satellites
+ INSTALLFOLDER
+
mod_cdr_csv
{44d7deaf-fda5-495e-8b9d-1439e4f4c21e}
diff --git a/w32/rabbitmq-c-version.props b/w32/rabbitmq-c-version.props
new file mode 100644
index 0000000000..cea5739846
--- /dev/null
+++ b/w32/rabbitmq-c-version.props
@@ -0,0 +1,19 @@
+
+
+
+
+
+
+ 0.8.0
+
+
+ true
+
+
+
+
+
+ $(rabbitmq_cVersion)
+
+
+
diff --git a/w32/rabbitmq-c.props b/w32/rabbitmq-c.props
new file mode 100644
index 0000000000..30db81dfdd
--- /dev/null
+++ b/w32/rabbitmq-c.props
@@ -0,0 +1,62 @@
+
+
+
+
+
+
+
+
+ $(BaseDir)libs\rabbitmq-c-$(rabbitmq_cVersion)
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ $(rabbitmq_c_libDir)\include;%(AdditionalIncludeDirectories)
+
+
+ $(rabbitmq_c_libDir)\binaries\$(Platform)\$(Configuration)\;%(AdditionalLibraryDirectories)
+ librabbitmq.4.lib;%(AdditionalDependencies)
+
+
+
+