zoukankan      html  css  js  c++  java
  • 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
     
     
  • 相关阅读:
    golang官网可以打开了 go语言
    TinyMCE添加图片 路径自动处理成相对路径
    谷歌浏览器下载地址 chrome最新版本 百度云地址
    对过度自信的矫正
    一个公司需要解决的7个问题
    git mv 命令 移动或重命名
    工信部备案查询验证码输入错误的原因
    Linux下安装jmeter
    jmeter-请求参数化
    更改jmeter发送邮件样式(转)
  • 原文地址:https://www.cnblogs.com/iamgoodman/p/3710321.html
Copyright © 2011-2022 走看看