提交 c9d1073f authored 作者: Szentesi Krisztián's avatar Szentesi Krisztián

CSTA interface added

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk/contrib@16050 d0543943-73ff-0310-b7d9-9358b9ac24b2
上级 f10b2989
<?xml version="1.0" encoding="Windows-1252"?>
<VisualStudioProject
ProjectType="Visual C++"
Version="9,00"
Name="Download CSTAInside"
ProjectGUID="{4F92B672-DADB-4047-8D6A-4BB3796733FD}"
RootNamespace="Download CSTAInside"
Keyword="Win32Proj"
TargetFrameworkVersion="131072"
>
<Platforms>
<Platform
Name="Win32"
/>
</Platforms>
<ToolFiles>
</ToolFiles>
<Configurations>
<Configuration
Name="Debug|Win32"
OutputDirectory="$(ConfigurationName)"
IntermediateDirectory="$(ConfigurationName)"
ConfigurationType="10"
CharacterSet="2"
BuildLogFile="$(IntDir)\BuildLog $(ProjectName).htm"
>
<Tool
Name="VCPreBuildEventTool"
Description="Downloading CSTAInside"
CommandLine="if not exist &quot;$(ProjectDir)CSTAInsideCore&quot; cscript /nologo &quot;$(ProjectDir)util.vbs&quot; GetUnzip http://freefr.dl.sourceforge.net/project/cstainside/cstainside/v0.2.0/cstainside_v0.2.0.92.zip &quot;$(ProjectDir).&quot;"
/>
<Tool
Name="VCCustomBuildTool"
CommandLine=""
Outputs=""
/>
<Tool
Name="VCMIDLTool"
/>
<Tool
Name="VCPostBuildEventTool"
CommandLine="if exist cstainside_v0.2.0.92 ren cstainside_v0.2.0.92 CSTAInsideCore"
/>
</Configuration>
<Configuration
Name="Release|Win32"
OutputDirectory="$(ConfigurationName)"
IntermediateDirectory="$(ConfigurationName)"
ConfigurationType="10"
CharacterSet="2"
BuildLogFile="$(IntDir)\BuildLog $(ProjectName).htm"
>
<Tool
Name="VCPreBuildEventTool"
Description="Downloading CSTAInside"
CommandLine="if not exist &quot;$(ProjectDir)CSTAInsideCore&quot; cscript /nologo &quot;$(ProjectDir)util.vbs&quot; GetUnzip http://freefr.dl.sourceforge.net/project/cstainside/cstainside/v0.2.0/cstainside_v0.2.0.92.zip &quot;$(ProjectDir).&quot;"
/>
<Tool
Name="VCCustomBuildTool"
/>
<Tool
Name="VCMIDLTool"
/>
<Tool
Name="VCPostBuildEventTool"
CommandLine="if exist cstainside_v0.2.0.92 ren cstainside_v0.2.0.92 CSTAInsideCore"
/>
</Configuration>
</Configurations>
<References>
</References>
<Files>
<File
RelativePath=".\cleancount"
>
<FileConfiguration
Name="Debug|Win32"
>
<Tool
Name="VCCustomBuildTool"
Description="Downloading CSTAInsideCore."
CommandLine="if not exist &quot;$(ProjectDir)CSTAInsideCore&quot; cscript /nologo &quot;$(ProjectDir)util.vbs&quot; GetUnzip http://freefr.dl.sourceforge.net/project/cstainside/cstainside/v0.2.0/cstainside_v0.2.0.92.zip &quot;$(ProjectDir).&quot;&#x0D;&#x0A;"
Outputs="$(ProjectDir)."
/>
</FileConfiguration>
<FileConfiguration
Name="Release|Win32"
>
<Tool
Name="VCCustomBuildTool"
Description="Downloading CSTAInsideCore."
CommandLine="if not exist &quot;$(ProjectDir)CSTAInsideCore&quot; cscript /nologo &quot;$(ProjectDir)util.vbs&quot; GetUnzip http://freefr.dl.sourceforge.net/project/cstainside/cstainside/v0.2.0/cstainside_v0.2.0.92.zip &quot;$(ProjectDir).&quot;&#x0D;&#x0A;"
Outputs="$(ProjectDir)."
/>
</FileConfiguration>
</File>
</Files>
<Globals>
</Globals>
</VisualStudioProject>
/*
* CSTA interface for FreeSWICH
* Copyright (C) 2009, Szentesi Krisztian <sz.krisz@freemail.hu>
*
* Version: MPL 1.1
*
* The contents of this file are subject to the Mozilla Public License Version
* 1.1 (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
* http://www.mozilla.org/MPL/
*
* Software distributed under the License is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
* for the specific language governing rights and limitations under the
* License.
*
* The Original Code is CSTA interface for FreeSWICH
*
* The Initial Developer of the Original Code is
* Szentesi Krisztian <sz.krisz@freemail.hu>
* Portions created by the Initial Developer are Copyright (C)
* the Initial Developer. All Rights Reserved.
*
* Contributor(s):
*
* Szentesi Krisztian <sz.krisz@freemail.hu>
*
*
* Alternatively, the contents of this file may be used under the terms of
* either the GNU General Public License Version 2 or later (the "GPL"), or
* the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
* in which case the provisions of the GPL or the LGPL are applicable instead
* of those above. If you wish to allow use of your version of this file only
* under the terms of either the GPL or the LGPL, and not to allow others to
* use your version of this file under the terms of the MPL, indicate your
* decision by deleting the provisions above and replace them with the notice
* and other provisions required by the GPL or the LGPL. If you do not delete
* the provisions above, a recipient may use your version of this file under
* the terms of any one of the MPL, the GPL or the LGPL.
*/
#ifndef CI_FREE_SWITCH_H
#define CI_FREE_SWITCH_H
#include "CICTIHandler.h"
#include "CISession.h"
#include "CSTAEvent.h"
#include <map>
#include <list>
#include <string>
using namespace std;
class FreeSwitchCall;
enum eDirection
{
direction_incoming, //!< attached device is the called (on internal subscriber) or call is incoming (on network interface)
direction_outgoing, //!< attached device is the caller (on internal subscriber) or call is outgoing (on network interface)
};
class FreeSwitchConnection
{
public:
FreeSwitchCall* pCall;
string strUUID; //<! Unique ID of the connection (could be different from the call's unique ID)
eLocalConnectionState state; //!< Local connection state
eDirection direction; //!< direction of the call
string strChannel; //!< channel name
};
typedef map<FreeSwitchCall*,FreeSwitchConnection*> MapCall2Connection;
typedef map<string, CISession*> MapStr2Session;
enum FreeSwitchDeviceType
{
type_internal_subscriber=0,
type_network_interface,
type_queue,
type_unknown,
};
class FreeSwitchDevice
{
protected:
string m_strDevice;
MapStr2Session m_MonitoringSessions; //!< Sessions monitoring this device
FreeSwitchDeviceType m_deviceType;
bool m_bIsMakeCallOriginator;
public:
static std::string Channel2Device(const char* channel);
static char * Type2Prefix(FreeSwitchDeviceType type);
//! finds out FreeSWITCH device type of CSTA DeviceID object
/*!
CSTA devices with type "dialingNumber" will mapped to internal subscribers (Note, that in some cases,
the implementation will ignore the type field in CSTA devices and interprets the CallNr as a dial string,
e.g in MakeCall request the device type is checked for callingDevice but not for calledDirectoryNumber).
CSTA devices with type "deviceNumber" are used to represent non subscriber type entities.
For FreeSWITCH implementation, the number string begins with 2 byte long device
type identifier and a device identifier. The device identifier must only contain numeric characters
Current device type prefixes:
"02" - Queue
\sa queue_function
*/
static FreeSwitchDeviceType Device2Type(DeviceID device);
public:
MapCall2Connection connections; //!< Active connections of this device
FreeSwitchDevice(const char* pcDevice, FreeSwitchDeviceType deviceType=type_internal_subscriber);
string& GetDeviceID() {return m_strDevice;}
bool IsMonitoredWithID(string crossRefID);
bool AddMonitor(CISession* session, string crossRefID);
bool RemoveMonitor(CISession* session);
bool RemoveMonitor(CISession* session, string crossRefID);
bool IsMonitored() {return m_MonitoringSessions.size()>0?true:false;}
FreeSwitchConnection* FindConnection(const char* uuid);
FreeSwitchConnection* FindConnection(FreeSwitchCall* pCall);
FreeSwitchConnection* AddConnection(const char* uuid, const char * channel, FreeSwitchCall* pCall, eDirection direction);
void DeleteConnection(FreeSwitchCall* pCall);
//! Sends CSTA event to all sessions monitoring the device
void SendEvent(CSTAEvent* pEvent);
FreeSwitchDeviceType GetDeviceType() {return m_deviceType;}
int GetConnectionCount() {return connections.size();}
bool IsMakeCallOriginator() {return m_bIsMakeCallOriginator;}
void SetMakeCallOriginator (bool bMakeCallOriginator) {m_bIsMakeCallOriginator=bMakeCallOriginator;}
};
typedef map<string,FreeSwitchDevice*> MapStr2Device;
typedef map<string,FreeSwitchCall*> MapStr2Call;
class FreeSwitchCall
{
public:
string strUUID; //!< Unique ID (used for CSTA CallID) - the FreeSWITCH unique ID of the first connection in the call.
MapStr2Device devices;
FreeSwitchDevice* GetDevice(std::string strDeviceID);
};
//! CSTA Inside CICTIHandler interface realization for FreeSWITCH.
/*!
Provides FreeSWITCH specific telephony methods to used by CSTA Inside.
*/
class FreeSWITCH : public CICTIHandler
{
protected:
MapStr2Device m_DeviceMap; //!< Stores the known devices. Map key is the device id (usually the dialing number)
MapStr2Call m_CallMap; //!< Stores the active calls. Map key is the call ID (1st FreeSWITCH UUID)
switch_mutex_t *m_mutex; //!< To protect the device and call map
switch_memory_pool_t * m_pool;
int m_nLastXRefID;
bool FindCallerCalled(const char* uuid, string* pstrCaller, string* pstrCalled);
bool PrepareCallData(const char* uuid, const char* uuid2, const char* channel, FreeSwitchDevice** ppDevice, FreeSwitchCall** ppCall, FreeSwitchConnection** ppConnection, bool bCreateCall, FreeSwitchDevice** ppQueue, FreeSwitchDevice** ppInboundNID, FreeSwitchDevice** ppOutboundNID, string* pstrCaller, string* pstrCalled);
public:
FreeSWITCH(switch_memory_pool_t *pool);
virtual ~FreeSWITCH();
FreeSwitchDevice * PrepareDevice(const char * pcDevice, FreeSwitchDeviceType type=type_internal_subscriber);
FreeSwitchCall* GetCall(const char * pcUUID);
bool IsXRefIDUsed(string crossRefID); //!< Returns true if given XRefID already used in the current CTI handler
string GetNextXRefID(); //!< Returns the next available monitor cross reference ID
//Switch event handlers:
void OnChannelCreate(switch_event_t *event); //!< Handling CHANNEL_CREATE FreeSwitch event
void OnChannelHangup(switch_event_t *event); //!< Handling CHANNEL_HANGUP FreeSwitch event
void OnChannelAnswer(switch_event_t *event); //!< Handling CHANNEL_ANSWER FreeSwitch event
void OnProgress(switch_event_t *event); //!< Handling CHANNEL_PROGRESS_MEDIA and CHANNEL_PROGRESS events
void OnDtmf(switch_event_t *event); //!< Handling DTMF FreeSWITCH event
void OnCallQueued(const char* queue, switch_core_session_t *session); //!< Handling incoming call on queue
void OnCallNetworkIncoming(const char* trunk, switch_core_session_t *session); //!< Handling incoming call on a gateway
void OnCallNetworkOutgoing(const char* trunk, switch_core_session_t *session); //!< Handling outgoing call on a gateway
void OnPlayback(switch_event_t *event); //!< Handling playback application start or stop
void OnRecord(switch_event_t *event); //!< Handling record application start or stop
//Session event handlers:
void OnSessionFinished(CISession* sender); //!< Called if given session is disconnected
void MonitorStart(CISession* sender, MonitorStartRequest* pRequest); //!< called if a Monitor Start request should be processed
void SnapshotDevice(CISession* sender, SnapshotDeviceRequest* pRequest); //!< Called if Snapshot Device request is received
void SnapshotCall(CISession* sender, SnapshotCallRequest* pRequest); //!< Called if Snapshot Call request is received
void MakeCall(CISession* sender, MakeCallRequest* pRequest); //!< Called if Make Call request is received
void AnswerCall(CISession* sender, AnswerCallRequest* pRequest); //!< Called if Answer Call request is received
void PlayMessage(CISession* sender, PlayMessageRequest* pRequest); //!< Called if Play Message request is received
void RecordMessage(CISession* sender, RecordMessageRequest* pRequest); //!< Called if Record Message request is received
void StopMessage(CISession* sender, StopRequest* pRequest); //!< Called if Stop request is received
void SingleStepTransferCall(CISession* sender,SingleStepTransferCallRequest* pRequest); //!< Called if Single Step Transfer Call Message request is received
void ClearConnection(CISession* sender,ClearConnectionRequest* pRequest);
void DeflectCall(CISession* sender,DeflectCallRequest* pRequest); //!< Called if Deflect Call Message request is received
};
#endif //CI_FREE_SWITCH_H
\ No newline at end of file
/*
* CSTA interface for FreeSWICH
* Copyright (C) 2009, Szentesi Krisztian <sz.krisz@freemail.hu>
*
* Version: MPL 1.1
*
* The contents of this file are subject to the Mozilla Public License Version
* 1.1 (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
* http://www.mozilla.org/MPL/
*
* Software distributed under the License is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
* for the specific language governing rights and limitations under the
* License.
*
* The Original Code is CSTA interface for FreeSWICH
*
* The Initial Developer of the Original Code is
* Szentesi Krisztian <sz.krisz@freemail.hu>
* Portions created by the Initial Developer are Copyright (C)
* the Initial Developer. All Rights Reserved.
*
* Contributor(s):
*
* Szentesi Krisztian <sz.krisz@freemail.hu>
*
*
* Alternatively, the contents of this file may be used under the terms of
* either the GNU General Public License Version 2 or later (the "GPL"), or
* the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
* in which case the provisions of the GPL or the LGPL are applicable instead
* of those above. If you wish to allow use of your version of this file only
* under the terms of either the GPL or the LGPL, and not to allow others to
* use your version of this file under the terms of the MPL, indicate your
* decision by deleting the provisions above and replace them with the notice
* and other provisions required by the GPL or the LGPL. If you do not delete
* the provisions above, a recipient may use your version of this file under
* the terms of any one of the MPL, the GPL or the LGPL.
*/
#include "FreeSWITCHPlatform.h"
#include "switch.h"
FreeSWITCHPlatform::FreeSWITCHPlatform(void)
{
}
FreeSWITCHPlatform::~FreeSWITCHPlatform(void)
{
}
void FreeSWITCHPlatform::Trace(ci_trace_level loglevel, const char *fmt, ...)
{
switch_log_level_t fsloglevel=SWITCH_LOG_ALERT;
switch (loglevel)
{
case CI_LLV_FATAL: fsloglevel=SWITCH_LOG_ALERT;break;
case CI_LLV_ERROR: fsloglevel=SWITCH_LOG_ERROR;break;
case CI_LLV_WARN: fsloglevel=SWITCH_LOG_WARNING;break;
case CI_LLV_INFO: fsloglevel=SWITCH_LOG_NOTICE;break;
case CI_LLV_DEBUG: fsloglevel=SWITCH_LOG_DEBUG;break;
}
va_list ap;
va_start(ap, fmt);
switch_log_vprintf(SWITCH_CHANNEL_LOG, fsloglevel, fmt, ap);
va_end(ap);
}
\ No newline at end of file
/*
* CSTA interface for FreeSWICH
* Copyright (C) 2009, Szentesi Krisztian <sz.krisz@freemail.hu>
*
* Version: MPL 1.1
*
* The contents of this file are subject to the Mozilla Public License Version
* 1.1 (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
* http://www.mozilla.org/MPL/
*
* Software distributed under the License is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
* for the specific language governing rights and limitations under the
* License.
*
* The Original Code is CSTA interface for FreeSWICH
*
* The Initial Developer of the Original Code is
* Szentesi Krisztian <sz.krisz@freemail.hu>
* Portions created by the Initial Developer are Copyright (C)
* the Initial Developer. All Rights Reserved.
*
* Contributor(s):
*
* Szentesi Krisztian <sz.krisz@freemail.hu>
*
*
* Alternatively, the contents of this file may be used under the terms of
* either the GNU General Public License Version 2 or later (the "GPL"), or
* the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
* in which case the provisions of the GPL or the LGPL are applicable instead
* of those above. If you wish to allow use of your version of this file only
* under the terms of either the GPL or the LGPL, and not to allow others to
* use your version of this file under the terms of the MPL, indicate your
* decision by deleting the provisions above and replace them with the notice
* and other provisions required by the GPL or the LGPL. If you do not delete
* the provisions above, a recipient may use your version of this file under
* the terms of any one of the MPL, the GPL or the LGPL.
*/
#ifndef CI_FREE_SWITCH_PLATFORM_H
#define CI_FREE_SWITCH_PLATFORM_H
#include "CIPlatform.h"
//! CSTA Inside CIPlatform interface realization for FreeSWITCH.
/*!
Provides FreeSWITCH platform specific OS/XML/... methods required by by CSTA Inside.
*/
class FreeSWITCHPlatform : public CIPlatform
{
public:
FreeSWITCHPlatform();
virtual ~FreeSWITCHPlatform();
virtual void Trace(ci_trace_level loglevel, const char *fmt, ...);
};
#endif //CI_FREE_SWITCH_PLATFORM_H
\ No newline at end of file
/*
* CSTA interface for FreeSWICH
* Copyright (C) 2009, Szentesi Krisztian <sz.krisz@freemail.hu>
*
* Version: MPL 1.1
*
* The contents of this file are subject to the Mozilla Public License Version
* 1.1 (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
* http://www.mozilla.org/MPL/
*
* Software distributed under the License is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
* for the specific language governing rights and limitations under the
* License.
*
* The Original Code is CSTA interface for FreeSWICH
*
* The Initial Developer of the Original Code is
* Szentesi Krisztian <sz.krisz@freemail.hu>
* Portions created by the Initial Developer are Copyright (C)
* the Initial Developer. All Rights Reserved.
*
* Contributor(s):
*
* Szentesi Krisztian <sz.krisz@freemail.hu>
*
*
* Alternatively, the contents of this file may be used under the terms of
* either the GNU General Public License Version 2 or later (the "GPL"), or
* the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
* in which case the provisions of the GPL or the LGPL are applicable instead
* of those above. If you wish to allow use of your version of this file only
* under the terms of either the GPL or the LGPL, and not to allow others to
* use your version of this file under the terms of the MPL, indicate your
* decision by deleting the provisions above and replace them with the notice
* and other provisions required by the GPL or the LGPL. If you do not delete
* the provisions above, a recipient may use your version of this file under
* the terms of any one of the MPL, the GPL or the LGPL.
*/
#include "FreeSwitchSocket.h"
#include <apr_errno.h>
FreeSWITCHSocket::FreeSWITCHSocket(switch_socket_t* pSocket, switch_memory_pool_t *pool) : m_pSocket(pSocket), m_pool(pool)
{
switch_mutex_init(&m_mutex, SWITCH_MUTEX_NESTED, m_pool);
switch_socket_opt_set(m_pSocket, SWITCH_SO_TCP_NODELAY, TRUE);
switch_socket_opt_set(m_pSocket, SWITCH_SO_NONBLOCK, FALSE);
char remote_ip[50];
switch_sockaddr_t *sa;
switch_socket_addr_get(&sa, SWITCH_TRUE, m_pSocket);
switch_get_addr(remote_ip, sizeof(remote_ip), sa);
switch_port_t remote_port = switch_sockaddr_get_port(sa);
switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_NOTICE, "Connection Open from %s:%d\n", remote_ip, remote_port);
}
FreeSWITCHSocket::~FreeSWITCHSocket()
{
switch_mutex_destroy(m_mutex);
}
int FreeSWITCHSocket::Receive(unsigned char *buf, size_t *len)
{
switch_status_t status=switch_socket_recv(m_pSocket, (char*)buf, len);
if(status)
{
char errbuf[4096];
switch_log_printf(SWITCH_CHANNEL_LOG,SWITCH_LOG_NOTICE,"Receive: socket terminated: %d (%s)",status, apr_strerror(status,errbuf,sizeof(errbuf)));
}
else
switch_log_printf(SWITCH_CHANNEL_LOG,SWITCH_LOG_NOTICE,"%d bytes received:\n%s",*len, buf);
return status;
}
int FreeSWITCHSocket::Send(const unsigned char *buf, size_t *len)
{
switch_mutex_lock(m_mutex);
switch_status_t status=switch_socket_send(m_pSocket, (const char*)buf, len);
if(status)
{
char errbuf[4096];
switch_log_printf(SWITCH_CHANNEL_LOG,SWITCH_LOG_NOTICE,"Send: socket terminated: %d (%s)",status, apr_strerror(status,errbuf,sizeof(errbuf)));
}
switch_mutex_unlock(m_mutex);
return status;
}
int FreeSWITCHSocket::Close()
{
switch_socket_shutdown(m_pSocket, SWITCH_SHUTDOWN_READWRITE);
switch_socket_close(m_pSocket);
return 0;
}
/*
* CSTA interface for FreeSWICH
* Copyright (C) 2009, Szentesi Krisztian <sz.krisz@freemail.hu>
*
* Version: MPL 1.1
*
* The contents of this file are subject to the Mozilla Public License Version
* 1.1 (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
* http://www.mozilla.org/MPL/
*
* Software distributed under the License is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
* for the specific language governing rights and limitations under the
* License.
*
* The Original Code is CSTA interface for FreeSWICH
*
* The Initial Developer of the Original Code is
* Szentesi Krisztian <sz.krisz@freemail.hu>
* Portions created by the Initial Developer are Copyright (C)
* the Initial Developer. All Rights Reserved.
*
* Contributor(s):
*
* Szentesi Krisztian <sz.krisz@freemail.hu>
*
*
* Alternatively, the contents of this file may be used under the terms of
* either the GNU General Public License Version 2 or later (the "GPL"), or
* the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
* in which case the provisions of the GPL or the LGPL are applicable instead
* of those above. If you wish to allow use of your version of this file only
* under the terms of either the GPL or the LGPL, and not to allow others to
* use your version of this file under the terms of the MPL, indicate your
* decision by deleting the provisions above and replace them with the notice
* and other provisions required by the GPL or the LGPL. If you do not delete
* the provisions above, a recipient may use your version of this file under
* the terms of any one of the MPL, the GPL or the LGPL.
*/
#ifndef CI_FREE_SWITCH_SOCKET_H
#define CI_FREE_SWITCH_SOCKET_H
#include "CISocket.h"
#include "switch.h"
//! CSTA Inside CISocket interface realization for FreeSWITCH.
/*!
Provides FreeSWITCH platform specific socket manipulation methods required by CSTA Inside.
*/
class FreeSWITCHSocket : public CISocket
{
protected:
switch_socket_t* m_pSocket;
switch_mutex_t *m_mutex;
switch_memory_pool_t* m_pool;
public:
FreeSWITCHSocket(switch_socket_t* pSocket, switch_memory_pool_t *pool);
virtual ~FreeSWITCHSocket();
virtual int Receive(unsigned char *buf, size_t *len);
virtual int Send(const unsigned char *buf, size_t *len);
virtual int Close();
};
#endif //CI_FREE_SWITCH_SOCKET_H
// Microsoft Visual C++ generated resource script.
//
#include "resource.h"
#define APSTUDIO_READONLY_SYMBOLS
/////////////////////////////////////////////////////////////////////////////
//
// Generated from the TEXTINCLUDE 2 resource.
//
#include "afxres.h"
/////////////////////////////////////////////////////////////////////////////
#undef APSTUDIO_READONLY_SYMBOLS
/////////////////////////////////////////////////////////////////////////////
// Hungarian resources
#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_HUN)
#ifdef _WIN32
LANGUAGE LANG_HUNGARIAN, SUBLANG_DEFAULT
#pragma code_page(1250)
#endif //_WIN32
#ifdef APSTUDIO_INVOKED
/////////////////////////////////////////////////////////////////////////////
//
// TEXTINCLUDE
//
1 TEXTINCLUDE
BEGIN
"resource.h\0"
END
2 TEXTINCLUDE
BEGIN
"#include ""afxres.h""\r\n"
"\0"
END
3 TEXTINCLUDE
BEGIN
"\r\n"
"\0"
END
#endif // APSTUDIO_INVOKED
#endif // Hungarian resources
/////////////////////////////////////////////////////////////////////////////
/////////////////////////////////////////////////////////////////////////////
// English (U.S.) resources
#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)
#ifdef _WIN32
LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
#pragma code_page(1252)
#endif //_WIN32
/////////////////////////////////////////////////////////////////////////////
//
// Version
//
VS_VERSION_INFO VERSIONINFO
FILEVERSION 0,2,0,92
PRODUCTVERSION 1,0,0,1
FILEFLAGSMASK 0x17L
#ifdef _DEBUG
FILEFLAGS 0x1L
#else
FILEFLAGS 0x0L
#endif
FILEOS 0x4L
FILETYPE 0x2L
FILESUBTYPE 0x0L
BEGIN
BLOCK "StringFileInfo"
BEGIN
BLOCK "040e04b0"
BEGIN
VALUE "Comments", "http://cstainside.sourceforge.net/"
VALUE "FileDescription", "CSTA interface for FreeSWITCH"
VALUE "FileVersion", "0, 2, 0, 92"
VALUE "InternalName", "mod_csta_socket"
VALUE "LegalCopyright", "Copyright (C) 2009, Szentesi Krisztian <sz.krisz@freemail.hu>"
VALUE "LegalTrademarks", "Licensed under MPL 1.1"
VALUE "OriginalFilename", "mod_csta_socket.dll"
VALUE "ProductName", "CSTA Inside"
VALUE "ProductVersion", "1, 0, 0, 1"
END
END
BLOCK "VarFileInfo"
BEGIN
VALUE "Translation", 0x40e, 1200
END
END
#endif // English (U.S.) resources
/////////////////////////////////////////////////////////////////////////////
#ifndef APSTUDIO_INVOKED
/////////////////////////////////////////////////////////////////////////////
//
// Generated from the TEXTINCLUDE 3 resource.
//
/////////////////////////////////////////////////////////////////////////////
#endif // not APSTUDIO_INVOKED
mod_csta_socket - CSTA interface for FreeSWITCH
1. Capabilities
As a communication & encoding interface CSTA XML over TCP without SOAP is supported yet (ECMA-323 Annex J-2).
Module is based on CSTA Inside library.
Supported device types:
1.1. internal subscribers
- internal subscribers are mapped to CSTA "dialingNumber" type of devices. The dialing sequence is the
phone number without any leading characters
1.2 queues
Queues are able to enqueue multiple calls. To configure a CSTA queue, add the csta_trigger_queue application
to a dialplan entry:
<action application="csta_trigger_queue" data="9500"/>
Data is the name of the queue. In CSTA events and requeust, the queue will be referenced as a device with type
of "deviceNumber". The callNr will be concatenated with a type ID of "02" and the queue name (029500 on the above example).
Queue name should be numeric to comply with CSTA standard.
1.3 network interfaces
Network interfaces or trunks representing devices via calls can leave or enter the CSTA subdomain.
To configure CSTA NIDs, add the csta_trigger_trunk_inbound and csta_trigger_trunk_outbound application
to the corresponding dialplan entry (if a call is directed to a gateway or external call directed into FreeSWITCH):
outgoing example:
<extension name="outbound_example">
<condition field="destination_number" expression="^20(.*)$">
<action application="csta_trigger_trunk_outbound" data="20"/>
<action application="bridge" data="sofia/gateway/example_gw/$1"/>
</condition>
</extension>
incoming example:
<extension name="inbound_example">
<condition field="destination_number" expression="^193190$">
<action application="csta_trigger_trunk_inbound" data="20"/>
<action application="set" data="domain_name=$${domain}"/>
<action application="transfer" data="9500 XML default"/>
</condition>
</extension>
Data is the name of the queue. In CSTA events and requeust, the NID will be referenced as a device with type
of "deviceNumber". The callNr will be concatenated with a type ID of "01" and the NID name (0120 on the above example).
NID name should be numeric to comply with CSTA standard.
The following CSTA messages are implemented:
requests and responses:
- Monitor Start
Starts monitoring of a device.
Supported types: internal subscriber, queue, NID
- Make Call
Originates a call to an extension
Supported types: callingDevice: internal subscriber
calledDirectoryNumber: any extension, used as dialing string
Do Not Prompt (auto originate) option works only with devices supporting sip_auto_answer flag
- Answer Call
Answers a ringing call
Supported Types: queue
- Single Step Transfer Call
Transfers a connection to another endpoint without hold & consultation
Supported types: activeCall: internal subscriber, queue.
transferredTo: any extension, used as dialing string.
- Play Message
Plays a wavefile for a connected connection. Wavefile path relative to "/sounds/en/us/callie" is to specify in
messageToBePlayed parameter. If positive response is returned, check Stop event for result of the service.
Supported types: internal subscriber, queue
- Record Message
Records a connection to a wavefile. Filename is generated by the service and returned (with full path) in the response.
Supported types: internal subscriber, queue
- Stop
Stops playing or recording of a wavefile.
Supported types: internal subscriber, queue
- Clear Connection
Clears an active connection.
Supported types: internal subscriber, queue, NID
- Snapshot Device
Returns the active connections of a device.
Supported types: internal subscriber, queue, NID
- Snapshot Call
Returns the devices participating in an active call.
Supported types: internal subscriber, queue, NID
- Deflect Call
Transfers a connection to another endpoint
Supported types: callToBeDiverted: internal subscriber, queue.
newDestination: any extension, used as dialing string.
events:
- Service Initiated
Generated if an outbound channel is created from a device
Supported types: internal subscriber, network interface
- Originated
Generated from the caller if call is delivered
Supported types: internal subscriber
- Delivered
Generated if call is delivered to called party
Supported types: internal subscriber
- Established
Generated if channel is answered
Supported types: internal subscriber, queue, network interface
- Connection Cleared
Generated if a device leaves a call
Supported types: internal subscriber, queue, network interface
- Queued
Generated if a call enters a queue
Supported types: internal subscriber, queue, network interface
- DTMF Detected
Generated if a DTMF tone is detected on a connected connection
Supported types: internal subscriber, queue (if a device connected to a queue generates a tone), network interface
Note: On queues FreeSWITCH only detects DTMF if acoustic conection is on.
Workaround: add <action application="playback" data="silence_stream://1800000"/> after queue is answered to queue dialplan.
- Play
Generated if playback application is started.
The "message" field contains the soundfile relative path.
- Record
Generated if record application is started.
The "message" field contains the soundfile relative path.
- Stop
Generated if playback or record application is stopped.
The "message" field contains the soundfile relative path. The "cause" field is set to "endOfMessageDetected" if
file played successfully or stop service is invoked, "resourcesNotAvailable" if file not found, and "blocked" if playback failed from any other reason.
For recording "messageDurationExceeded" cause is used if record stopped after recording length reached maxDuration or stop service is invoked.
If recording stopped because of hangup, no Stop event will be generated, only Connection Cleared.
2. Building from source
For Win32 platform Visual Studio 2008 project file is included. Use only Release configuration.
Requirements:
- CSTA Inside Core - Multi-purpose C++ CSTA-XML library
download from: http://cstainside.sourceforge.net/
place to: <root>\CSTAInsideCore (project file expects ..\CSTAInsideCore directory)
- FreeSWITCH
download from: http://wiki.freeswitch.org/wiki/Installation_Guide#Download_Source_Tarball
place to: <root>\3rdparty\freeswitch-snapshot
Both must be build before building mod_csta_socket
3. Usage
mod_csta_socket.dll is placed to <root>\3rdparty\freeswitch-snapshot\Release\mod directory. To load use load
FreeSWITCH command or set automatic load in modules.conf.xml
4. Configuration
module reads configuration data from csta_socket.conf.xml file under <freeswitch>\conf\autoload_configs directory.
Example:
<configuration name="csta_socket.conf" description="CSTA Interface">
<settings>
<param name="listen-ip" value="127.0.0.1"/>
<param name="xml-listen-port" value="3000"/>
<param name="apply-inbound-acl" value="csta"/>
</settings>
</configuration>
listen-ip: the IP address of interface to listen on. 0.0.0.0 specifies to listen on all interfaces.
default: 127.0.0.1
xml-listen-port: the listening port for CSTA-XML over TCPinterface.
default: 3000
apply-inbound-acl: the name of ACL entry configured in acl.conf to filter inbound connections.
default: empty (no ACL applied)
Copyright (C) 2009, Szentesi Krisztian <sz.krisz@freemail.hu>
\ No newline at end of file
/*
* CSTA interface for FreeSWICH
* Copyright (C) 2009, Szentesi Krisztian <sz.krisz@freemail.hu>
*
* Version: MPL 1.1
*
* The contents of this file are subject to the Mozilla Public License Version
* 1.1 (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
* http://www.mozilla.org/MPL/
*
* Software distributed under the License is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
* for the specific language governing rights and limitations under the
* License.
*
* The Original Code is CSTA interface for FreeSWICH
*
* The Initial Developer of the Original Code is
* Szentesi Krisztian <sz.krisz@freemail.hu>
* Portions created by the Initial Developer are Copyright (C)
* the Initial Developer. All Rights Reserved.
*
* Contributor(s):
*
* Szentesi Krisztian <sz.krisz@freemail.hu>
*
*
* Alternatively, the contents of this file may be used under the terms of
* either the GNU General Public License Version 2 or later (the "GPL"), or
* the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
* in which case the provisions of the GPL or the LGPL are applicable instead
* of those above. If you wish to allow use of your version of this file only
* under the terms of either the GPL or the LGPL, and not to allow others to
* use your version of this file under the terms of the MPL, indicate your
* decision by deleting the provisions above and replace them with the notice
* and other provisions required by the GPL or the LGPL. If you do not delete
* the provisions above, a recipient may use your version of this file under
* the terms of any one of the MPL, the GPL or the LGPL.
*/
#include <switch.h>
#include "config.h"
/*static*/ Config Config::_instance;
Config::Config()
{
strcpy(listen_address,"127.0.0.1");
xml_port=3000;
acl_name[0]=0;
}
bool Config::ReadConfig()
{
char *cf = "csta_socket.conf";
switch_xml_t cfg, xml, settings, param;
if (!(xml = switch_xml_open_cfg(cf, &cfg, NULL))) {
switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_WARNING, "Open of %s failed, using defaults.\n", cf);
} else {
if ((settings = switch_xml_child(cfg, "settings"))) {
for (param = switch_xml_child(settings, "param"); param; param = param->next) {
char *var = (char *) switch_xml_attr_soft(param, "name");
char *val = (char *) switch_xml_attr_soft(param, "value");
if (!strcmp(var, "listen-ip"))
{
strncpy(listen_address,val,sizeof(listen_address));
listen_address[sizeof(listen_address)-1]=0;
}
else if (!strcmp(var, "xml-listen-port"))
xml_port=(switch_port_t)atoi(val);
else if (!strcasecmp(var, "apply-inbound-acl"))
{
strncpy(acl_name,val,sizeof(acl_name));
acl_name[sizeof(acl_name)-1]=0;
}
}
}
switch_xml_free(xml);
}
return true;
}
\ No newline at end of file
/*
* CSTA interface for FreeSWICH
* Copyright (C) 2009, Szentesi Krisztian <sz.krisz@freemail.hu>
*
* Version: MPL 1.1
*
* The contents of this file are subject to the Mozilla Public License Version
* 1.1 (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
* http://www.mozilla.org/MPL/
*
* Software distributed under the License is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
* for the specific language governing rights and limitations under the
* License.
*
* The Original Code is CSTA interface for FreeSWICH
*
* The Initial Developer of the Original Code is
* Szentesi Krisztian <sz.krisz@freemail.hu>
* Portions created by the Initial Developer are Copyright (C)
* the Initial Developer. All Rights Reserved.
*
* Contributor(s):
*
* Szentesi Krisztian <sz.krisz@freemail.hu>
*
*
* Alternatively, the contents of this file may be used under the terms of
* either the GNU General Public License Version 2 or later (the "GPL"), or
* the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
* in which case the provisions of the GPL or the LGPL are applicable instead
* of those above. If you wish to allow use of your version of this file only
* under the terms of either the GPL or the LGPL, and not to allow others to
* use your version of this file under the terms of the MPL, indicate your
* decision by deleting the provisions above and replace them with the notice
* and other provisions required by the GPL or the LGPL. If you do not delete
* the provisions above, a recipient may use your version of this file under
* the terms of any one of the MPL, the GPL or the LGPL.
*/
#ifndef CI_FS_CONFIG_H
#define CI_FS_CONFIG_H
//! Stores module configuration and processes module configuration file.
class Config
{
protected:
static Config _instance;
public:
static Config* Instance() {return &_instance;}
protected:
char listen_address[50];
switch_port_t xml_port;
char acl_name[50];
protected:
Config();
public:
bool ReadConfig();
const char* GetListenAddress() {return listen_address;}
const switch_port_t GetXmlPort() {return xml_port;}
bool IsACLEnabled() {return acl_name[0]==0?false:true;}
const char* GetACLName() {return acl_name;}
};
#endif //CI_FS_CONFIG_H
EXPORTS
mod_csta_socket_module_interface
\ No newline at end of file
<?xml version="1.0" encoding="Windows-1252"?>
<VisualStudioProject
ProjectType="Visual C++"
Version="9,00"
Name="FreeSWITCH_CSTA"
ProjectGUID="{05515420-16DE-4E63-B373-85BE859A5142}"
RootNamespace="mod_csta_socket"
Keyword="Win32Proj"
TargetFrameworkVersion="131072"
>
<Platforms>
<Platform
Name="Win32"
/>
<Platform
Name="x64"
/>
</Platforms>
<ToolFiles>
</ToolFiles>
<Configurations>
<Configuration
Name="Debug|Win32"
OutputDirectory="$(SolutionDir)$(ConfigurationName)"
IntermediateDirectory="$(ConfigurationName)"
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"
AdditionalIncludeDirectories="&quot;..\..\..\..\..\src\include&quot;;&quot;..\..\..\..\..\libs\include&quot;;..\CSTAInsideCore\include\csta;..\CSTAInsideCore\include"
UsePrecompiledHeader="0"
/>
<Tool
Name="VCManagedResourceCompilerTool"
/>
<Tool
Name="VCResourceCompilerTool"
/>
<Tool
Name="VCPreLinkEventTool"
/>
<Tool
Name="VCLinkerTool"
AdditionalDependencies="freeswitchcore.lib libapr-1.lib CSTAInsideCore.lib"
OutputFile="..\..\..\..\..\$(ConfigurationName)/mod/mod_csta_socket.dll"
AdditionalLibraryDirectories="&quot;..\..\..\..\..\w32\library\$(ConfigurationName)\&quot;;&quot;..\..\..\..\..\libs\win32\apr\$(ConfigurationName)\&quot;;..\CSTAInsideCore\lib\VC90"
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="Debug|x64"
ConfigurationType="2"
InheritedPropertySheets="..\..\..\..\..\w32\module_Debug.vsprops"
CharacterSet="2"
>
<Tool
Name="VCPreBuildEventTool"
/>
<Tool
Name="VCCustomBuildTool"
/>
<Tool
Name="VCXMLDataGeneratorTool"
/>
<Tool
Name="VCWebServiceProxyGeneratorTool"
/>
<Tool
Name="VCMIDLTool"
TargetEnvironment="3"
/>
<Tool
Name="VCCLCompilerTool"
UsePrecompiledHeader="0"
/>
<Tool
Name="VCManagedResourceCompilerTool"
/>
<Tool
Name="VCResourceCompilerTool"
/>
<Tool
Name="VCPreLinkEventTool"
/>
<Tool
Name="VCLinkerTool"
OutputFile="$(SolutionDir)$(PlatformName)\$(ConfigurationName)/mod/$(ProjectName).dll"
RandomizedBaseAddress="1"
DataExecutionPrevention="0"
TargetMachine="17"
/>
<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"
OutputDirectory="$(SolutionDir)$(ConfigurationName)"
IntermediateDirectory="$(ConfigurationName)"
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"
Optimization="0"
AdditionalIncludeDirectories="&quot;..\..\..\..\..\src\include&quot;;&quot;..\..\..\..\..\libs\include&quot;;..\CSTAInsideCore\include\csta;..\CSTAInsideCore\include"
UsePrecompiledHeader="0"
/>
<Tool
Name="VCManagedResourceCompilerTool"
/>
<Tool
Name="VCResourceCompilerTool"
/>
<Tool
Name="VCPreLinkEventTool"
/>
<Tool
Name="VCLinkerTool"
AdditionalDependencies="freeswitchcore.lib libapr-1.lib CSTAInsideCore.lib"
OutputFile="..\..\..\..\..\$(ConfigurationName)/mod/mod_csta_socket.dll"
AdditionalLibraryDirectories="&quot;..\..\..\..\..\w32\library\$(ConfigurationName)\&quot;;&quot;..\..\..\..\..\libs\win32\apr\$(ConfigurationName)\&quot;;..\CSTAInsideCore\lib\VC90"
ModuleDefinitionFile="$(InputName).def"
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|x64"
ConfigurationType="2"
InheritedPropertySheets="..\..\..\..\..\w32\module_Release.vsprops"
CharacterSet="2"
>
<Tool
Name="VCPreBuildEventTool"
/>
<Tool
Name="VCCustomBuildTool"
/>
<Tool
Name="VCXMLDataGeneratorTool"
/>
<Tool
Name="VCWebServiceProxyGeneratorTool"
/>
<Tool
Name="VCMIDLTool"
TargetEnvironment="3"
/>
<Tool
Name="VCCLCompilerTool"
UsePrecompiledHeader="0"
/>
<Tool
Name="VCManagedResourceCompilerTool"
/>
<Tool
Name="VCResourceCompilerTool"
/>
<Tool
Name="VCPreLinkEventTool"
/>
<Tool
Name="VCLinkerTool"
OutputFile="$(SolutionDir)$(PlatformName)\$(ConfigurationName)/mod/$(ProjectName).dll"
RandomizedBaseAddress="1"
DataExecutionPrevention="0"
TargetMachine="17"
/>
<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>
<Filter
Name="Header Files"
>
<File
RelativePath=".\config.h"
>
</File>
<File
RelativePath=".\FreeSWITCH.h"
>
</File>
<File
RelativePath=".\FreeSWITCHPlatform.h"
>
</File>
<File
RelativePath=".\FreeSWITCHSocket.h"
>
</File>
</Filter>
<Filter
Name="Source Files"
>
<File
RelativePath=".\config.cpp"
>
</File>
<File
RelativePath=".\FreeSWITCH.cpp"
>
</File>
<File
RelativePath=".\FreeSWITCHPlatform.cpp"
>
</File>
<File
RelativePath=".\FreeSWITCHSocket.cpp"
>
</File>
</Filter>
<File
RelativePath=".\FreeSWITCH_CSTA.rc"
>
</File>
<File
RelativePath=".\mod_csta_socket.cpp"
>
</File>
<File
RelativePath=".\mod_csta_socket.def"
>
</File>
<File
RelativePath=".\README"
>
</File>
<File
RelativePath=".\resource.h"
>
</File>
</Files>
<Globals>
</Globals>
</VisualStudioProject>
//{{NO_DEPENDENCIES}}
// Microsoft Visual C++ generated include file.
// Used by FreeSWITCH_CSTA.rc
// Next default values for new objects
//
#ifdef APSTUDIO_INVOKED
#ifndef APSTUDIO_READONLY_SYMBOLS
#define _APS_NEXT_RESOURCE_VALUE 101
#define _APS_NEXT_COMMAND_VALUE 40001
#define _APS_NEXT_CONTROL_VALUE 1001
#define _APS_NEXT_SYMED_VALUE 101
#endif
#endif

Microsoft Visual Studio Solution File, Format Version 10.00
# Visual Studio 2008
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "FreeSWITCH_CSTA", "FreeSWITCH\mod_csta_socket.vcproj", "{05515420-16DE-4E63-B373-85BE859A5142}"
ProjectSection(ProjectDependencies) = postProject
{4F92B672-DADB-4047-8D6A-4BB3796733FD} = {4F92B672-DADB-4047-8D6A-4BB3796733FD}
EndProjectSection
EndProject
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Download CSTAInside", "Download CSTAInside.vcproj", "{4F92B672-DADB-4047-8D6A-4BB3796733FD}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Win32 = Debug|Win32
Debug|x64 = Debug|x64
Release|Win32 = Release|Win32
Release|x64 = Release|x64
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{05515420-16DE-4E63-B373-85BE859A5142}.Debug|Win32.ActiveCfg = Debug|Win32
{05515420-16DE-4E63-B373-85BE859A5142}.Debug|Win32.Build.0 = Debug|Win32
{05515420-16DE-4E63-B373-85BE859A5142}.Debug|x64.ActiveCfg = Debug|x64
{05515420-16DE-4E63-B373-85BE859A5142}.Debug|x64.Build.0 = Debug|x64
{05515420-16DE-4E63-B373-85BE859A5142}.Release|Win32.ActiveCfg = Release|Win32
{05515420-16DE-4E63-B373-85BE859A5142}.Release|Win32.Build.0 = Release|Win32
{05515420-16DE-4E63-B373-85BE859A5142}.Release|x64.ActiveCfg = Release|x64
{05515420-16DE-4E63-B373-85BE859A5142}.Release|x64.Build.0 = Release|x64
{4F92B672-DADB-4047-8D6A-4BB3796733FD}.Debug|Win32.ActiveCfg = Debug|Win32
{4F92B672-DADB-4047-8D6A-4BB3796733FD}.Debug|Win32.Build.0 = Debug|Win32
{4F92B672-DADB-4047-8D6A-4BB3796733FD}.Debug|x64.ActiveCfg = Debug|Win32
{4F92B672-DADB-4047-8D6A-4BB3796733FD}.Release|Win32.ActiveCfg = Release|Win32
{4F92B672-DADB-4047-8D6A-4BB3796733FD}.Release|Win32.Build.0 = Release|Win32
{4F92B672-DADB-4047-8D6A-4BB3796733FD}.Release|x64.ActiveCfg = Release|Win32
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
EndGlobal
Markdown 格式
0% 或
您添加了 0 人 到此讨论。请谨慎行事。
请先完成此评论的编辑!
请 注册 或者 后发表评论