随笔 - 272  文章 - 0  评论 - 283  阅读 - 142万

给asterisk1.8.7添加menuselct选项

1、添加addons_test目录

编写文件app_testApp.capp_testApp.exports,这里我只叙述大概过程,具体参考我的博文(http://www.cnblogs.com/MikeZhang/archive/2012/06/05/asterisk187CLIAddOns.html

2、编写addons_test目录里面的Makefile文件

内容如下: 

-include$(ASTTOPDIR)/menuselect.makeopts $(ASTTOPDIR)/menuselect.makedeps
MENUSELECT_CATEGORY=ADDONS_TEST
MENUSELECT_DESCRIPTION=Addons_test
ALL_C_MODS:=app_testApp
all: _all
include$(ASTTOPDIR)/Makefile.moddir_rules
 

3、写主目录里面的Makefile文件(在266行加入addons_test) 

加入后该行内容如下: 

MOD_SUBDIRS:=channels pbx apps codecs formats cdr cel bridges funcs tests main res addons addons_test $(LOCAL_MOD_SUBDIRS) 

4、运行效果 

./configure && make menuselect 

主界面效果:

进入菜单效果: 

 

 

posted on   Mike_Zhang  阅读(683)  评论(0编辑  收藏  举报
(评论功能已被禁用)
编辑推荐:
· 探究高空视频全景AR技术的实现原理
· 理解Rust引用及其生命周期标识(上)
· 浏览器原生「磁吸」效果!Anchor Positioning 锚点定位神器解析
· 没有源码,如何修改代码逻辑?
· 一个奇形怪状的面试题:Bean中的CHM要不要加volatile?
阅读排行:
· 分享4款.NET开源、免费、实用的商城系统
· 全程不用写代码,我用AI程序员写了一个飞机大战
· MongoDB 8.0这个新功能碉堡了,比商业数据库还牛
· 白话解读 Dapr 1.15:你的「微服务管家」又秀新绝活了
· 上周热点回顾(2.24-3.2)
< 2012年6月 >
27 28 29 30 31 1 2
3 4 5 6 7 8 9
10 11 12 13 14 15 16
17 18 19 20 21 22 23
24 25 26 27 28 29 30
1 2 3 4 5 6 7

点击右上角即可分享
微信分享提示