资源简介
This is a C# based simple SIP (VOIP) call-out phone. This SIP application was developed and is currently in use as "Help -> Call to support". The idea was to create a zero configuration, very simple call-out phone, and that is how it is now (though IP based incoming calls are supported; example: sip:test@ip:7666, 7666 is the port SIP_Call out runs).
Currently, this application runs on Windows only. For some reason .NET "still" has no managed support for audio-in and audio-out. The audio part uses the unmanaged Windows wave API.
I tried to make the example application well organized, clear, and well commented - don't know how it turned out, you can be the judge. For beginners, I suggest you Google and read some SIP introduction, otherwise you will never get what is going on.
Because the code is full of comments, I think there is no need for a lot of explanation here; just dig into the code.
代码片段和文件信息
using System;
using System.Collections.Generic;
using System.Linq;
using System.Windows.Forms;
namespace LumiSoft.SIP.UA
{
///
/// Application main class.
///
static class Program
{
#region static method Main
///
/// The main entry point for the application.
///
/// Command line arguments.
[STAThread]
public static void Main(string[] args)
{
AppDomain.CurrentDomain.UnhandledException += delegate(object senderUnhandledExceptionEventArgs e){
MessageBox.Show(“Error: “ + ((Exception)e.Exceptionobject).Message“Error:“MessageBoxButtons.OKMessageBoxIcon.Error);
};
A
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
目录 0 2010-12-21 13:10 SIP_CallOut\bin\
目录 0 2010-12-21 13:10 SIP_CallOut\bin\Debug\
文件 1081344 2010-12-21 13:03 SIP_CallOut\bin\Debug\LumiSoft.Net.dll
文件 2066007 2010-12-21 13:03 SIP_CallOut\bin\Debug\LumiSoft.Net.xm
文件 1297920 2010-12-21 13:09 SIP_CallOut\bin\Debug\SIP_CallOut.exe
文件 14328 2010-12-21 13:07 SIP_CallOut\bin\Debug\SIP_CallOut.vshost.exe
文件 490 2007-07-21 02:33 SIP_CallOut\bin\Debug\SIP_CallOut.vshost.exe.manifest
目录 0 2010-12-21 13:10 SIP_CallOut\obj\
目录 0 2010-12-21 13:10 SIP_CallOut\obj\Debug\
目录 0 2010-12-21 13:10 SIP_CallOut\obj\Debug\TempPE\
目录 0 2010-12-21 13:10 SIP_CallOut\obj\Release\
目录 0 2010-12-21 13:10 SIP_CallOut\obj\Release\TempPE\
文件 1369 2010-12-21 13:09 SIP_CallOut\Program.cs
目录 0 2010-12-21 13:10 SIP_CallOut\Properties\
文件 1452 2010-10-15 08:13 SIP_CallOut\Properties\AssemblyInfo.cs
文件 2857 2010-11-10 12:59 SIP_CallOut\Properties\Resources.Designer.cs
文件 5612 2010-10-15 08:13 SIP_CallOut\Properties\Resources.resx
文件 1096 2010-11-10 12:59 SIP_CallOut\Properties\Settings.Designer.cs
文件 249 2010-10-15 08:13 SIP_CallOut\Properties\Settings.settings
目录 0 2010-12-21 13:10 SIP_CallOut\Resources\
文件 10134 2010-10-15 09:27 SIP_CallOut\Resources\app.ico
文件 125706 2010-10-31 20:35 SIP_CallOut\Resources\busy.wav
文件 10134 2010-10-15 09:19 SIP_CallOut\Resources\call.ico
文件 10134 2010-10-15 09:19 SIP_CallOut\Resources\call_hangup.ico
文件 231596 2010-10-22 15:45 SIP_CallOut\Resources\calling.wav
文件 125706 2010-10-31 20:37 SIP_CallOut\Resources\hangup.wav
文件 15086 2010-11-02 13:26 SIP_CallOut\Resources\mic.ico
文件 485708 2010-10-31 17:46 SIP_CallOut\Resources\onhold.wav
文件 2283 2010-11-10 13:00 SIP_CallOut\Resources\ResManager.cs
文件 33120 2010-10-22 15:45 SIP_CallOut\Resources\ringing.wav
文件 188757 2010-11-15 09:28 SIP_CallOut\Resources\router.ico
............此处省略7个文件信息
相关资源
- C#高级编程第10版英文原版
- c#入门经典 第七版 中文版 非扫描版
- .netc#新手菜鸟mvc5的仓库管理系统 so
- C# NPOI生成word插入图片和表格
- C#程序设计基础C#程序设计及应用教程
- 深入.NET平台和C#编程
- 淘宝客小程序+后端.zip
- .net 美萍超市管理系统源码C#
- 第二代Kinect WPF开发从入门到精通资料
- WinForm GeckoFx33 Demo JS与C#互交 窗口浏览
- 《ASP.NET程序设计项目教程》周虎,王
- 计算机图形学 三维模型处理算法初步
- C# KTV 点歌系统,C#项目源码带数据库
- C#实验--A.1 视频动态绘制练习.
- c#实现动态规划法——求解矩阵连乘问
- c#winform中完美代替WebBrowser最新的控件
- C#高级编程第9版:C#5.0 & .NET 4.5.1 par
- Illustrated C# 2010 C# 4.0图解教程
- C# WINFORM框架源碼
- C# WinForm实践开发教程清晰版
- 3D打印机上位机源码Reprap Host 是C#写的
- C#设计模式+源码JamesW.Cooper.zip
- C#程序开发范例宝典(第3版).(配套
- C#写的年会抽奖软件包含源代码.zip
- 大型ERP C#源码
- asp.net完整项目带数据库
- 清大出版社 段德亮 《C#课程设计案例
- C#人事管理系统/人力资源管理系统
- 上位机与PLC通讯dll.zip
- C# 7 and .NET Core: Modern Cross-Platform Deve
评论
共有 条评论