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

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

再看看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. requests对象

    属性 0.HttpRequest.scheme 表示请求方案的字符串(通常为http或https) 1.HttpRequest.body 一个字符串,代表请求报文的主体.在处理非 HTTP 形式的报文 ...

  2. 单一入口及MVC目录规范

    单一入口指在一个web应用程序中,所有的请求都是指向一个脚本文件,例如我们经常看到某一个网站所有的页面都是index.php?xxxx这样的形式.所有对使用程序的访问都是必须通过这个入口. 目录规范:

  3. CentOS7 下 安装 supervisor

    [注] linux环境必须安装 python 1.获取supervisor包:[https://pypi.python.org/pypi/supervisor] # wget https://pypi ...

  4. redis的maxmemory设置以及淘汰策略介绍

    转载地址:http://www.2cto.com/database/201507/420889.html redis的maxmemory参数用于控制redis可使用的最大内存容量.如果超过maxmem ...

  5. strncmp用法说明

    函数原型 int strcmp(char *str1,char * str2,int n) 功能 比较字符串str1和str2的前n个字符. 头文件 #include <string.h> ...

  6. Vue--axios:vue中的ajax异步请求(发送和请求数据)、vue-resource异步请求和跨域

    跨域原理: 一.使用axios发送get请求 1 <!DOCTYPE html> 2 <html lang="en"> 3 <head> 4 & ...

  7. java动态代理类

    很有意思的一个东西,在java.lang.reflect包下 示例代码 package com.guangshan.test.proxy; import java.lang.reflect.Invoc ...

  8. Linux Guard Service - 守护进程的作用、用途、父进程标识的特点

    让test2直接成为守护进程 [root@localhost 02]# cat test2.c //test2 #include<stdio.h> #include<unistd.h ...

  9. 查看iptables状态-重启

    iptables 所在目录 /etc/sysconfig/iptables service iptables status 查看iptables状态 service iptables restart ...

  10. IOC简洁说明

    what is ioc: 控制注入,是一种设计模式 the benefits of using this: 降低耦合度 什么是DI 什么是依赖? 当一个类需要另一个类协作来完成工作的时候就产生了依赖 ...