PJSIP实验

作者:金良([email protected]) csdn博客:http://blog.csdn.net/u012176591

PJSIP实验_第1张图片



Beijing Universityof PostsandTelecommunications
___________________________________________

——SIP端的
___________________________________


2014111469
2014111464
2014111479
2014111465
 

1
  1.1
  1.2 号和
2
  2.1 VOIP
  2.2 SIP
   2.2.1
   2.2.2 SIP
   2.2.3 应用
  2.3 Wireshark
   2.3.1
   2.3.2 Wireshark使
   2.3.3 Wireshark
3 PJSIP
  3.1 PJSIP是什
  3.2 PJSIP
  3.3 PJSIP
4 VS2012pjproject-2.3
5 PJSIP
  5.1
  5.2 IVR
  5.3
  5.4
  5.5
  5.6
  5.7
6 Wireshark
  6.1 Wireshark使方法
  6.2 IVR
  6.3
  6.4
7

1

1.1

 1:
2014111469
2014111464
2014111479
2014111465
 

1.2 号和

 2: 号和
3410 1234
 

2

2.1 VOIP

Email多的层出VoIP的电64kbit/sVoIPIP模拟行压使UDPIPVoIPIPVoIPIPIP的地IP的地换回IPIPVoIP-模拟IP是实时实时应用模拟模拟86存储多低10 30ms60120240ms使ITU-T G.711的地的现相的地的模拟IP定的行压定的使15ms60ms4120音样8kHz4端点端点理连线),端点IP的地在这tt的抖动IP使的地IP访方法IP-的地VoIPIP度的的抖动的抖动15ms,,60ms460ms供给音样480定的8kHzIP模拟IPIP IP模拟

2.2 SIP

会话Session Initiation ProtocolSIPIETF MMUSIC作组用于终止线户会话200011SIP3GPPIMSSIPH.323一样用于VoIP

2.2.1

SIPHenning SchulzrinneMark Handley1996. SIPPSTN在这是实语有

SIPSS7更高SS7个高高复度的构和的电话机SIP点对点要一端点有硬SIP端点SS7

VoIPSIPIP团体SIPIETF和管H.323VoIP从传ITU多的

SIP仅仅会话control messageSIP会话SDP),SDP会话使使IP等等SIPSIP会话实时RTP

SIP 2.0RFC 2543RFC 3261仍然2.0

SIPHTTP并采原则SIP读的-SIPH.323SIPH.323一样SIPHTTP’404not found’SIP应用SIPH.323会话应用

2.2.2 SIP
  • User AgentSIPSIP端点用于SIP消息SIP会话SIPUACUser Agent ClientUASUser Agent ServerUACSIP请求UASSIP请求SIP
  • ProxySIPPROXYSIP UACUAS用于UACUAS消息PROXYSIP消息确认消息PROXYSIP消息SIP消息
  • RegisterSIP用于SIP请求并保请求UA

2.2.3 应用

用于实时RTP并不穿NATSIPSTUN穿full conerestricted cone port restricted cone NAT但对symmetricNATALGSIPRTP使HTTP用于SIP线CALEA穿SIPNAT

SIP的点对点使CALEAE911IPPSAPSIP解决3GPP3GPP2SIP应用应用CALEA

VonageSIPphoneSIP拥有户基AT&TLevel(3)的电括朗LucentTechnologiesNortel Networks))SIP3GPPIPIMS

VoIPBroadVoice使SIPSIP的电话机AsteriskPBXSIP

Open Source团体多的广SIPfoundrySIP应用SDKIP PBX现相IPPBX解决

2.3 Wireshark

WiresharkEthereal详细

WiresharkGNU使以以拥有Wireshark广

2.3.1
  • 1997Gerald Combs要一追踪路流Ethereal
  • Ethereal 19987v0.2.0Combs EtherealGilbert Ramirez 199810Network Appliance Guy HarristcpviewEthereal
  • 1998TCP/IPRichard Sharpe新协定的讯协定的并不Ethereal讯协EtherealEthereal定的Ethereal定的
  • 20066EtherealWireshark

2.3.2 Wireshark使

使Wireshark的的使WiresharkCE师使Wireshark使Wireshark讯协使Wireshark

2.3.3 Wireshark

1.2.3.4. WiresharkCEIntrusion Detection Software, IDSWiresharkWiresharkWireshark-Wireshark

3 PJSIP

3.1 PJSIP是什

PJSIP 体通SIP, SDP, RTP,STUN, TURN, ICESIPNAT穿的多体通API便用于

PJSIPTeluu Ltd得到Teluu2006PJSIP LLPBenny Prijono PerryIsmangilNanang IzzuddinSauw Ming RizaSulistyo

3.2 PJSIP


 1: PJSIP

1.2. 实时 体通 应用 PJSIP 供给 西 实时 应用 必不 体特 “NAT 穿 PJSIP 应用 不必 应用 序写 Windows Windows Mobile/CE up WM 6, Mac OS X PPC Intel , Linux, Unix , Nokia/Symbian 3rd 5th , iOS iPhone, iPad, iPod , BlackBerry 10, Android PJSIP 式实时 uC-Linux, QNX, RTEMS 用于 PJSIP 20Mhz MIPS 应用 使 API 150KB 使 PJSUA-LIB API KB 应用 KB 的堆 到的 仍然 PJSIP API 档的顶 (Trac) wiki site PJSIP the Trac site http://trac.pjsip.org/repos 久经 是首 当的 PJSIP 解决 PJSIP OSS 使 PJSIP 使 的地 PJSIP 者越 PJSIP 使 PJSIP PJSIP 互惠 解决 苦苦 PJSIP 仍然 发方 the Trac site http://trac.pjsip.org/repos

3.3 PJSIP

  • PJSIP Open Source SIP StackSIP
  • PJMEDIA Open Source Media Stack]
  • PJNATH Open Source NAT Traversal Helper LibraryNAT-T
  • PJLIB-UTIL Auxiliary Library
  • PJLIB Ultra Portable Base Framework Library

4 VS2012pjproject-2.3

pjproject-2.3http://www.pjsip.org/pjprojectpjproject-2.3得到pjproject-2.3.zippjproject-2.3VS2012VS2012pjproject-2.3.zippjproject-vs8.slnVS2012pjproject-2.32的对


 2:
解决 pjsua pjsua 示设 3

 3:
3.
“config _site.h” “pjlib/include/pj/config_site.h” 件即 4. 件夹 ( ) 件夹 搜索
  • pjlib/include
  • pjlib-util/include
  • pjnath/include
  • pjmedia/include
  • pjsip/include

    方法框可件夹4,5


     4: 1


     5: 2

    ()
    • pjlib/lib/pjlib-i386-Win32-vc8-Debug.lib
    • pjlib-util/lib/pjlib-util-i386-Win32-vc8-Debug.lib
    • pjnath/lib/pjnath-i386-Win32-vc8-Debug.lib
    • pjmedia/lib/*.lib
    • pjsip/lib/*.lib

      余与解决16


       6:
      7.
      “pjproject-2.3/pjsip-apps/bin/pjsua-i386-Win32-vc8-Debug.exe”7

       7:
      8.

      5 PJSIP

      到的PJSP输数“*”8*#


       8:

      5.1

      pjsua-i386-Win32-vc8-Debug.exe件夹9便使


       9:

      5.2 IVR

      示输IVRmIVRSIPsip:[email protected]IPIP10


       10: 叫界

      5.3

      1*#

      2014111469201411146420141114792014111465“2014111469*2014111464*2014111479*2014111465#”IVRIVRIVR

      IVR

      11


       11:

      5.4


       12:

      5.5


       13:

      5.6


       14:

      5.7


       15: 学学

      6 Wireshark

      6.1 Wireshark使方法

      WiresharkStart16


       16: wireshark

      的电Wireshark到的等等17


       17: wireshark

      VOIP会话),WiresharkFilterSIP,才不动的18


       18: wireshark

      SIP会话后Wireshark19


       19: wiresharkSIP会话

      6.2 IVR

      IVR20


       20:

      6.3

      21


       21:

      6.4

      由于得到的得到的

      7

      [1]   Wizlu,VS2010”,http://blog.sina.com.cn/s/blog_63f6ddae01017w75.html, 03/21 2013.

      [2]   pj,Getting Started: Building for Microsoft Windows, https://trac.pjsip.org/repos/wiki/Getting-Started/Windows.

      [3]   l00210137,IPVoIP,http://huawei.com/ecommunity/bbs/10146503.html?auther=1&buildingowner=10016085,11/06 2012.

      [4]   ,会 话,http://zh.wikipedia.org/wiki/%E4%BC%9A%E8%AF%9D%E5%8F%91%E8%B5%B7%E5%8D%8F%E8%AE%AE.

      [5]   ,Wireshark,http://zh.wikipedia.org/wiki/Wireshark.

你可能感兴趣的:(语音,编译,voip,pjsip)