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
     
     
  • 相关阅读:
    python-裴波那契数列
    python-装饰器
    登录权限,认证
    sevlet面试题总结
    ssm整合
    配置文件sshmvc
    利用反射来实现动态代理
    springmvc spring hibernate整合
    中期项目总结
    web servlet 网址http://www.cnblogs.com/mengdd/tag/Servlet/
  • 原文地址:https://www.cnblogs.com/iamgoodman/p/3710321.html
Copyright © 2011-2022 走看看