Introduction to Open-Source SIP Server OpenSIPS and open-source sipopensips

Source: Internet
Author: User

Introduction to Open-Source SIP Server OpenSIPS and open-source sipopensips

**************************************** **************************************** **************************************** ***
Author: EasyWave time: 2014.09.14

Category: Linux application-open source server OpenSIPS introduction statement: reprinted, please keep the link

NOTE: If any error occurs, please correct it. These are my Learning Log articles ......

**************************************** **************************************** **************************************** ***

I. Introduction to OpenSIPS

OpenSIPS is a mature Open-Source SIP server. It not only provides basic SIP proxy and SIP routing functions, but also provides some application-level functions. The structure of OpenSIPS is very flexible. Its Core routing function is fully implemented through scripts, and various routing policies can be flexibly customized. It can be flexibly applied to speech, video communication, IM, Presence, and other applications. At the same time, OpenSIPS is currently one of the fastest SIP servers and can be used for telecom-grade product construction. With its scalable and modular system architecture, OpenSIPS provides a highly flexible and user-configurable routing engine, it can provide powerful and efficient routing, authentication, NAT, gateway protocol conversion, and other functions for services such as voice, video, IM, and presence. Because of its stability and efficiency, OpenSIPS has been applied by many telecom operators in their own network systems. Its main functions are as follows:

  • SIP registration server/Proxy Server (lcr, dynamic routing, dialplan)/Redirection Server
  • SIP presence agent
  • SIP B2BUA
  • Sip im Server
    SIP to SMS/XMPP Gateway
  • SIP to XMPP Gateway
  • SIP Load Balancing
  • Sip nat traversal

Ii. OpenSIPS open source Official Website

The OpenSIPS open-source official website is shown in:

OpenSIPS open source web site: http://www.opensips.org/

 

Iii. OpenSIPS System Architecture

The OpenSIPS architecture is open and flexible, and its core function control can be implemented through script control. Each function is also built through module loading. Configuration File analyzer built using lex and yacc is an important part of its architecture design. Through this analyzer, opensips has designed its own syntax rules, so that we can adapt to the scripting in the configuration file in the SIP standard language, so as to simplify the program and facilitate code reading. At the same time, this design also makes the execution speed of the opensips. cfg configuration file reach the level of C language. Its architecture is roughly as follows:

The top layer of the OpenSIPS framework is the opensips used to implement the sip message routing logic. cfg script configuration. In the configuration file, you can use the Parameter and Function provided by Core or functions provided by many Modules. For example, in the previous Server Load balancer example, is_method ("INVITE") is a function provided by the textops module. Both src_ip and src_port are parameters provided by Core. The lower layer provides basic functions such as network transmission and sip message parsing. On the left side, use the corresponding database adapter, but use multiple databases to access data. In this architecture, we can easily add the required functions by adding a function module without affecting the original system. In addition to the advantages of OpenSIPS described above, OpenSIPS also provides a series of interfaces for managing and maintaining commands. We can use the MI Management interfaces provided by Core and Module to conveniently monitor the system and Module status. For example, you can obtain the status of the current process through the first-in-first-out ps command of the Core. You can use the first-out get_statistics command of the Core to obtain the current shared memory and the usage of private memory of each process. Through the MI Management Interface, we can also easily modify some parameters at runtime. For example, for the load_balancer module, we can use the fifo lb_reload command to update the configuration information of the target group, you can use the fifo lb_status command to activate or disable a target. These commands are very useful in practical applications.

We hope we can port the product to the ARM to test whether the product can be made into a SIP server ......

 


SIP open source server

Tribox elastix minisip is both open-source and LINUX-based.
 
What can OPENSIPS do in teleconference?

SIP is a text-based protocol similar to HTTP. Many VoIP applications are created based on this protocol.

OpenSips refers to the open-source SIP protocol. It has special source code and many installation packages are open for use.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.