尽管没有吃饭,胃酸,九点半,,,还是挺高兴的。只截图不说话。

这个问题弄得我好烦啊。几个小时。。。网罗了国外几个论坛都没有解。我还没有想到这就不是问题,,,多试多试

再看看moni

也没什么意思,就是看着高兴。

how to building a dedicated bearer 

killall kamailio.

If rhythm is the soul of jazz, then I've got rhythm

需要静下心来读的一本书。pm7-11


1.#include "locking.h"


The locks can be used as simple variables or lock sets (array of simple locks). To improve the speed, behind the locks is, by default, machine-specific code. If the architecture of the machine is unknown, Kamailio will use SysV semaphores.

信号量的使用如下步骤小结

1.声明信号量sem_t sem1;
2.初始化信号量sem_init(&sem1,0,1);
3.sem_post和sem_wait函数配合使用来达到线程同步
4.释放信号量int sem_destroy (sem_t *sem1);
 

2.#include "mem/mem.h"
 
To store static values in private memory and have it in all processes without the need to synchronize for accessing it, you must create it before Kamailio forks.
To use the private memory manager you have to include the file: mem/mem.h
 When accessing shared memory data, you need to make sure that you don't have a race between different Kamailio processes, for example protect the access via a lock??? 
 
 

3. data structure
 str.h
sip_uri.h
 
 
 
 
 sip_msg.h
 
 parse_msg.h
parse_fline.h
parse_to.h
parse_via.h
 

4. sip parser
 
  It is known as lazy or incremental parser. That means it parses until it founds the required elements or encounters ends of SIP message.
 
 It may happen that a header is malformed and Kamailio does not report any error as there was no request to parse that header body.
 The parser does not duplicate the values, it makes references inside the SIP message buffer it parses.
 
 
 
DO I NEED CTAGS  ?? NOT REALLY  ,
 
 
 

 

 

sip uri:

From the SIP RFC 3261:
 
 
GTP 2152
SIP 5060
 
 
 
 
 
 
 

修改过log要重服务才能生效
service rsyslog restart
 
 

kamctl start的更多相关文章

  1. iOS之 kamailio-4.3.4sip服务器搭建-mac

    如要转载请注明出处http://www.cnblogs.com/chengxiaoyu/p/5006352.html 1.安装MySQL 去http://www.mysql.com/下载最新版本的My ...

  2. Ubuntu下编译运行Kamailio

    kamailio----配置没有成功,这个文档过几天删除,因为这个项目的文档非常少,而且qq群里的人也不活跃,现在正在研究Freeswitch,如果能够满足,就不研究这个了,这篇文档会删除. Kama ...

  3. Ubuntu 安装 kamailio

    首先安装前,你已经对kamailio的基本用法了解.可根据情况选择安装方式,本次安装基于Ubuntu18.04系统安装,对于16.04及一下会遇到版本问题,请自己查阅文档解决 安装第三方库 sudo ...

  4. linux rpm 安装包制作

    今天的任务是把make好的install作成rpm. 3GPP 的重要性, 不必多言 例1. unpackaged if [ -z "`ps -ef|grep kamailio.pid|gr ...

  5. Kamailio

    http://www.kamailio.org/wiki/cookbooks/4.1.x/core IMS 支持接口 MSC接口,信令:ISUP over IP和SIP, 用户面: rtp协议 PCR ...

随机推荐

  1. [Fiddler]如何让Fiddler可以抓取https的请求

    Fiddler通过在本机开启了一个http的代理服务器来进行http请求和响应转发,默认情况下,并不能抓取https的请求.下面小编就来介绍下,如何用fiddler来抓取https的请求. 1.打开F ...

  2. PHP发红包程序限制红包的大小

    我们先来分析下规律. 设定总金额为10元,有N个人随机领取: N=1 第一个 则红包金额=X元: N=2 第二个 为保证第二个红包可以正常发出,第一个红包金额=0.01至9.99之间的某个随机数. 第 ...

  3. jstack调试core文件

    摘自:https://stackoverflow.com/questions/37331266/jstack-throws-exception-interrogating-a-core // 错误示例 ...

  4. java中的集合类总结

    在使用Java的时候,我们都会遇到使用集合(Collection)的时候,但是Java API提供了多种集合的实现,我在使用和面试的时候频 频遇到这样的“抉择” . :)(主要还是面试的时候) 久而久 ...

  5. CentOS 7.2配置Apache服务httpd(上)

    http://www.jb51.net/article/97434.htm 二.安装Apache httpd 安装httpd以配置Web服务器, HTTP使用80 / TCP ? 1 2 3 4 5 ...

  6. Actor模型文章收集

    参与者模式——维基百科 Akka.Net——github开源项目 Actor原理——比较深入的文章

  7. SQL获取本周,上周,本月,上月第一天和最后一天[注:本周从周一到周天]

    DECLARE @ThisWeekStartTime NVARCHAR(100),@ThisWeekEndTime NVARCHAR(100),--本周 @LastWeekStartTime NVAR ...

  8. easyui datagrid单元格实现溢出文本显示省略号的效果。

    Css .datagrid-btable .datagrid-cell{padding:6px 4px;overflow: hidden;text-overflow:ellipsis;white-sp ...

  9. NIOS II下基于中断的UART接收和发送设计示例代码

    #include "sys/alt_stdio.h" #include "altera_avalon_uart_regs.h" #include "s ...

  10. 在Arch gnome中安装一些软件

    一. 在Arch gnome中添加ibus中文输入法 1. 安装ibus-libpinyin. sudo pacman -S ibus-libpinyin 如果系统之前没有安装ibus,则先通过pac ...