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
     
     
  • 相关阅读:
    一个新的Activity跳转到带有Framgment的Activity页面
    安卓图片下载及存储
    安卓4.0以上 UDP 发送端
    安卓 service 后台运行,activity 启动和停止service
    安卓 BaseAdapter ListView和Button
    安卓点击两次返回键退出程序
    安卓 surfaceview 添加点击事件
    Mybatis
    Cookie
    AJAX原生代码
  • 原文地址:https://www.cnblogs.com/iamgoodman/p/3710321.html
Copyright © 2011-2022 走看看