RabbitMQ evolution with OpenSIPS 2.3

tags:MQ opensips 创建时间:2017-02-18 19:17:19

RabbitMQ is a powerful and widely used tool for message queuing integrations. And the usage of such a tool requires a more flexible support from OpenSIPS. Let’s see what 2.3 has to offer when comes to RabbitMQ based integrat

dispatcher 中的 分发逻辑是什么?

tags:opensips kamailio dispatcher模块 创建时间:2017-01-01 16:29:03



 ds_select_dst("1", "5");


“0” - hash over callid
“1” - hash over from uri.
“2” - hash over to uri.
“3” - hash over request-uri.
“4” - round-robin (next destination).
“5” - hash over


tags:VoIP负载均衡方案 创建时间:2016-10-20 07:56:17








  1. 所有的注册是由负载均衡服务器直接分发出去,由各媒体服务器进行管理

  2. 而媒体服务器通过数据库或内存数据库等共享注册数据

  3. 呼叫进入时,由各媒体服务器直接处理或者由外部呼叫进入时,分发给各不同的媒体服

SIP介绍 opensips构建电话系统第二版

tags:SIP介绍 opensips构建电话系统第二版 创建时间:2016-07-01 10:46:27


Before we dive into OpenSIPS, it is very important to understand some important concepts related to Session Initiation Protocol (SIP). In this chapter, we will cover a brief tutorial regarding the concepts used later in this book. By the end of this chapter, we will have covered the following t


tags:opensips 安装 编译 创建时间:2016-01-28 15:50:48

一般都是安官网的流程去弄,但很多人说找不到或英文的原因弄不来,所以才整理一下。以下以centos6.x 64为例

1 . 安装步骤

a. epel 源

rpm -ivh epel-release-6-8.noarch.rpm

注意:Error: Cannot retrieve metalink for repository: epel. Please verify its path and try ag

opensips 配置文件

tags:opensips 配置文件 创建时间:2016-01-18 17:16:55

The OpenSIPS configuration file contains all the parameters that control the OpenSIPS core and modules, along with the actual routing logic that OpenSIPS will use to route the SIP traffic.

Upon installation, the default configuration file path is :


tags:opensips 配置文件 创建时间:2015-09-20 08:52:06

    Generating OpenSIPS config files is accomplished by using the menuconfig tool. Because the graphical interface is ncurses based, please make sure to first install the ncurses development library ( typically libncurses5-dev ).

1.  Using the Men


tags:opensips rc file 创建时间:2015-09-20 08:46:29

The opensipsctlrc is the file that contains all the configuration options for the opensipsctl, opensipsdbctl and osipsconsole tools.

Upon installation, the file is located in


The file contains control options for interacting with the databa


tags:Opensips database structs 创建时间:2015-09-19 20:47:09

List of Tables

1-1. Table "acc"
1-2. Table "acc" 
1-3. Table "missed_calls"
1-4. Table "missed_calls" 
2-1. Table "dbaliases"
2-2. Table "dbaliases" 
3-1. Table "subscriber"
3-2. Table "subscriber" 
4-1. Table "usr_preferences"
4-2. Table "usr_preferences"


tags:Events Interface Opensips 事件接口 创建时间:2015-09-19 20:28:08

The Events Interface is an OpenSIPS interface that provides different ways to notify external applications about certain events triggered inside OpenSIPS. Overview

In order to notify an external application about OpenSIPS internal events, the Event Interface provides the following funct


tags:Opensips 管理接口 创建时间:2015-09-19 20:21:47

MI (management interface) functions which are exported by OpenSIPS core.

1. arg

Returns the full list of arguments used when OpenSIPS was started. As in UNIX, the first argument is the name of executable binary.
Arguments: none
Output: multiple MI nodes where each node contain


tags:Opensips 管理接口 MI 创建时间:2015-09-19 20:16:23

The Management Interface (or MI) is an OpenSIPS interface that allows external applications to trigger predefined commands inside OpenSIPS.


Such commands typically allows an external app to :
push data into OpenSIPS (like setting debug level, registering a contact, etc)


tags:Opensips modules 模块 创建时间:2015-09-19 20:13:55

Module nameDescriptionStatus


tags:opensips Transformations 脚本转换 创建时间:2015-09-19 20:10:39

A Transformation is basically a function that is applied to a variable(script variable, pseudo-variables, AVPS, static strings) to get a special value from it. The value of the original variable is not altered. Example of using different kind of variables in OpenSIPS script: # check if usern


tags:Script Function Index Opensips 创建时间:2015-09-19 20:01:40



tags:Opensips 脚本操作 cfg 创建时间:2015-09-19 19:37:17

Assignments, string and arithmetic operations can be done directly in the configuration file.

1 . Assignment

Assignments can be done like in C, via '=' (equal) operator. Not that not all variables (from script) can be written, some are read-only. Check with listing of variables to see whic


tags:opensips core Variables 创建时间:2015-09-19 19:24:48

OpenSIPS provides multiple type of variables to be used in the routing script. The difference between the types of variables comes from (1) the visibility of the variable (when it is visible), (2) what the variable is attached to (where the variable resides), (3) read-write status of the variable (s


tags:Core functions opensips 核心函数 创建时间:2015-09-19 18:36:08

This section lists the all the functions exported by OpenSIPS core for script usage (to be used in opensips.cfg)

1 . add_local_rport()

Add 'rport' parameter to the Via header generated by server (see RFC3581 for its meaning). It affects only the current processed request.
Example of us


tags:opensips freeswitch 负载均衡 创建时间:2015-09-04 15:44:13

本文来自于FreeSWITCH官网: [][1]

After much searching and experimentation, I've found an opensips.cfg that distributes calls to two or more FreeSWITCH boxes. This guide assumes you have a MySQL server setup on the same machine you are installing. Special thanks to t

Copyright @ 2015 中国Openser中文网 保留所有权利.QQ群:293697898