提交 5150934c authored 作者: Giovanni Maruzzelli's avatar Giovanni Maruzzelli

skypiax: nothin to see here

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16619 d0543943-73ff-0310-b7d9-9358b9ac24b2
上级 67228dbd
Index: mod_skypiax.c
===================================================================
--- mod_skypiax.c (revision 16576)
+++ mod_skypiax.c (working copy)
@@ -1741,7 +1741,7 @@
if (channel) {
- if (!switch_channel_test_flag(channel, CF_BRIDGED)) {
+ //FIXME if (!switch_channel_test_flag(channel, CF_BRIDGED)) {
switch_dtmf_t dtmf = { (char) value[0], switch_core_default_dtmf_duration(0) };
DEBUGA_SKYPE("received DTMF %c on channel %s\n", SKYPIAX_P_LOG, dtmf.digit, switch_channel_get_name(channel));
@@ -1750,10 +1750,10 @@
switch_channel_queue_dtmf(channel, &dtmf);
switch_set_flag(tech_pvt, TFLAG_DTMF);
switch_mutex_unlock(tech_pvt->flag_mutex);
- } else {
- NOTICA
- ("received a DTMF on channel %s, but we're BRIDGED, so let's NOT relay it out of band\n", SKYPIAX_P_LOG, switch_channel_get_name(channel));
- }
+ //FIXME } else {
+ //FIXME NOTICA
+ //FIXME ("received a DTMF on channel %s, but we're BRIDGED, so let's NOT relay it out of band\n", SKYPIAX_P_LOG, switch_channel_get_name(channel));
+ //FIXME }
} else {
WARNINGA("received %c DTMF, but no channel?\n", SKYPIAX_P_LOG, value[0]);
}
Index: skypiax_protocol.c
===================================================================
--- skypiax_protocol.c (revision 16576)
+++ skypiax_protocol.c (working copy)
@@ -96,7 +96,7 @@
#ifdef WIN32
sockbufsize = SAMPLES_PER_FRAME * 8 * 3;
#else
- sockbufsize = SAMPLES_PER_FRAME * 8;
+ sockbufsize = SAMPLES_PER_FRAME * 8 * 3;
#endif //WIN32
size = sizeof(int);
setsockopt(s, SOL_SOCKET, SO_RCVBUF, (char *) &sockbufsize, size);
@@ -113,7 +113,7 @@
#ifdef WIN32
sockbufsize = SAMPLES_PER_FRAME * 8 * 3;
#else
- sockbufsize = SAMPLES_PER_FRAME * 8;
+ sockbufsize = SAMPLES_PER_FRAME * 8 * 3;
#endif //WIN32
size = sizeof(int);
setsockopt(s, SOL_SOCKET, SO_SNDBUF, (char *) &sockbufsize, size);
差异被折叠。
include $(top_srcdir)/build/modmake.rulesam
MODNAME=mod_skypiax
mod_LTLIBRARIES = mod_skypiax.la
mod_skypiax_la_SOURCES = mod_skypiax.c skypiax_protocol.c
mod_skypiax_la_CFLAGS = $(AM_CFLAGS) -DSKYPIAX_SVN_VERSION=\"`cat $(switch_builddir)/.version`\"
mod_skypiax_la_LIBADD = $(switch_builddir)/libfreeswitch.la
mod_skypiax_la_LDFLAGS = -avoid-version -module -no-undefined -shared -lX11
差异被折叠。
Skypiax, Skype Endpoint and Trunk
All documentation on compiling, using, configuring,
tricks and tweaks, possible problems at:
http://wiki.freeswitch.org/wiki/Skypiax_Skype_Endpoint_and_Trunk
< gmaruzz at gmail dot com >
差异被折叠。
差异被折叠。
<?xml version="1.0" encoding="Windows-1252"?>
<VisualStudioProject
ProjectType="Visual C++"
Version="9.00"
Name="mod_skypiax"
ProjectGUID="{C6E78A4C-DB1E-47F4-9B63-4DC27D86343F}"
RootNamespace="mod_skypiax"
Keyword="Win32Proj"
TargetFrameworkVersion="131072"
>
<Platforms>
<Platform
Name="Win32"
/>
</Platforms>
<ToolFiles>
</ToolFiles>
<Configurations>
<Configuration
Name="Debug|Win32"
ConfigurationType="2"
InheritedPropertySheets="..\..\..\..\w32\module_debug.vsprops"
CharacterSet="2"
>
<Tool
Name="VCPreBuildEventTool"
/>
<Tool
Name="VCCustomBuildTool"
/>
<Tool
Name="VCXMLDataGeneratorTool"
/>
<Tool
Name="VCWebServiceProxyGeneratorTool"
/>
<Tool
Name="VCMIDLTool"
/>
<Tool
Name="VCCLCompilerTool"
UsePrecompiledHeader="0"
WarningLevel="4"
WarnAsError="false"
/>
<Tool
Name="VCManagedResourceCompilerTool"
/>
<Tool
Name="VCResourceCompilerTool"
/>
<Tool
Name="VCPreLinkEventTool"
/>
<Tool
Name="VCLinkerTool"
AdditionalOptions="rpcrt4.lib "
RandomizedBaseAddress="1"
DataExecutionPrevention="0"
/>
<Tool
Name="VCALinkTool"
/>
<Tool
Name="VCManifestTool"
/>
<Tool
Name="VCXDCMakeTool"
/>
<Tool
Name="VCBscMakeTool"
/>
<Tool
Name="VCFxCopTool"
/>
<Tool
Name="VCAppVerifierTool"
/>
<Tool
Name="VCPostBuildEventTool"
/>
</Configuration>
<Configuration
Name="Release|Win32"
ConfigurationType="2"
InheritedPropertySheets="..\..\..\..\w32\module_release.vsprops"
CharacterSet="2"
>
<Tool
Name="VCPreBuildEventTool"
/>
<Tool
Name="VCCustomBuildTool"
/>
<Tool
Name="VCXMLDataGeneratorTool"
/>
<Tool
Name="VCWebServiceProxyGeneratorTool"
/>
<Tool
Name="VCMIDLTool"
/>
<Tool
Name="VCCLCompilerTool"
UsePrecompiledHeader="0"
/>
<Tool
Name="VCManagedResourceCompilerTool"
/>
<Tool
Name="VCResourceCompilerTool"
/>
<Tool
Name="VCPreLinkEventTool"
/>
<Tool
Name="VCLinkerTool"
AdditionalOptions="rpcrt4.lib "
RandomizedBaseAddress="1"
DataExecutionPrevention="0"
/>
<Tool
Name="VCALinkTool"
/>
<Tool
Name="VCManifestTool"
/>
<Tool
Name="VCXDCMakeTool"
/>
<Tool
Name="VCBscMakeTool"
/>
<Tool
Name="VCFxCopTool"
/>
<Tool
Name="VCAppVerifierTool"
/>
<Tool
Name="VCPostBuildEventTool"
/>
</Configuration>
</Configurations>
<References>
</References>
<Files>
<File
RelativePath="..\mod_skypiax\mod_skypiax.c"
>
</File>
<File
RelativePath=".\skypiax.h"
>
</File>
<File
RelativePath=".\skypiax_protocol.c"
>
</File>
</Files>
<Globals>
</Globals>
</VisualStudioProject>
gcc -shared .libs/mod_skypiax_la-mod_skypiax.o .libs/mod_skypiax_la-skypiax_protocol.o -Wl,--rpath -Wl,/usr/src/freeswitch.trunk/.libs -Wl,--rpath -Wl,/usr/local/freeswitch/lib -lm -lX11 /usr/src/freeswitch.trunk/.libs/libfreeswitch.so -L/usr/src/freeswitch.trunk/libs/apr-util/xml/expat/lib -L/usr/src/freeswitch.trunk/libs/apr-util/xml/expat/lib/.libs -L/usr/src/freeswitch.trunk/libs/apr/.libs -L/usr/src/freeswitch.trunk/libs/srtp -L/usr/kerberos/lib64 -lssl -lcrypto -ldl -lz -lncurses -Wl,-soname -Wl,mod_skypiax.so -o .libs/mod_skypiax.so
ar cru .libs/mod_skypiax.a mod_skypiax_la-mod_skypiax.o mod_skypiax_la-skypiax_protocol.o
ranlib .libs/mod_skypiax.a
creating mod_skypiax.la
(cd .libs && rm -f mod_skypiax.la && ln -s ../mod_skypiax.la mod_skypiax.la)
差异被折叠。
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论