kamctl start

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

 

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

 

 

 

再看看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
 
 

转载于:https://www.cnblogs.com/iamgoodman/p/3710321.html

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值