随笔分类 -  asterisk

摘要:asterisk 1.8.16+chan_ss7 version 2.1.1b ${CALLERID(rdnis)}变量取不到信息问题,解决 编辑 funcs/func_callerid.c chan->redirecting.from.number.valid值为空,致使号码号码赋值不生效 注释掉 阅读全文

posted @ 2016-02-19 17:17 NooBkey 阅读(488) 评论(0) 推荐(0) |

摘要:在asterisk中,对于呼叫个数是可以通过call-limit进行限制的。限制办法是通过修改asterisk.conf中maxcalls参数,设置允许的最大呼叫数。这里的最大呼叫数是包括所有的呼叫数,出境、入境、分机间等呼叫。为了分别限制出境/入境/分机间呼叫,可以通过GROUP函数来完成。在as... 阅读全文

posted @ 2015-12-01 09:50 NooBkey 阅读(485) 评论(0) 推荐(0) |

摘要:[macro-recording]exten =>s,1,Set(CALLFILENAME=${STRFTIME(${EPOCH},UTC-8,%Y-%m-%d-%H-%M-%S)}-${CALLERID(dnid)})exten =>s,n,Set(PATH=/var/spool/asterisk... 阅读全文

posted @ 2015-11-30 10:05 NooBkey 阅读(318) 评论(0) 推荐(0) |

摘要:Early media refers to any media that is played to the initial caller’s phone before the remote party has picked up the phone. That “brrrrrrrring!” noi... 阅读全文

posted @ 2015-06-09 00:21 NooBkey 阅读(359) 评论(0) 推荐(0) |

摘要:Asterisk cli下面可以执行很多命令,originate的用途是发起一个呼叫然后连接到指定的应用或上下文。跟.call呼叫文件和AMI管理接口里的外呼功能一样,有两种语法格式:呼叫成功转应用:originate application appdata呼叫成功转流程:originate ... 阅读全文

posted @ 2015-04-23 16:13 NooBkey 阅读(1312) 评论(0) 推荐(0) |

摘要:击:23098 基于SS7的开源解决方案在国内已经安装了很多。很多用户都使用chan_ss7 开源协议栈作为呼叫中心,400电话,计费结算的系统。随着国内对开源Asterisk的认可程度越来越高。 Asterisk让我们中小型软件公司站在了巨人肩上,你可以拥有昂贵的SS7/ISDN通信设备,而且... 阅读全文

posted @ 2015-04-22 11:43 NooBkey 阅读(2276) 评论(0) 推荐(0) |

摘要:SynopsisGets, sets or clears the channel group. Each channel can only be member of exactly one group per category; categories can be employed for more fine grained group management, and thus can help to assign more than one group name per channel.DescriptionGROUP([category])NotesA channel may belong 阅读全文

posted @ 2013-09-26 11:57 NooBkey 阅读(301) 评论(0) 推荐(0) |

摘要:LinuxCentOSRedHatInstalling a binary distribution of Asterisk makes it easier to maintain your system. Using the package management tools that are included with your Linux distribution, you can install and update software without manually managing dependencies (libraries and utilities on which appli 阅读全文

posted @ 2013-09-25 15:04 NooBkey 阅读(326) 评论(0) 推荐(0) |

摘要:1 针对用编译的方式安装时的卸载第一步 :先停止你的asterisk>asterisk -rx ‘stop now’然后要验证一下是否真的被停了. >ps aux|grep “asterisk”|grep -v grep 如果有输出信息,那我们来个猛的 >killall -9 asterisk 第二步 :如果你装了zaptel驱动,你需要把你的zaptel驱动删除掉,如果你没装,那就跳过这一步吧.>lsmod | grep zaptel zaptel 213028 4 zttranscode,ztdummy crc_ccitt 2113 1 zaptel 如果你看到以上 阅读全文

posted @ 2013-09-25 15:01 NooBkey 阅读(609) 评论(0) 推荐(0) |

摘要:asterisk在正常通话过程中执行拨号计划中动作是通过feature.conf中的[applicationmap ]下定义的,举例如下:nway-start => *0,callee,Macro,nway-start nway-zhustart => *0,caller,Macro,nway-zhustartnway-inv => *7,caller,Macro,nway-ok nway-noinv => *9,self,Macro,nway-notokzhugoto-meeting => *5,caller,Macro,zhugoto-meeting goto 阅读全文

posted @ 2013-09-25 14:57 NooBkey 阅读(580) 评论(0) 推荐(0) |

摘要:在dialplan中要截取字符串可用如下几种方式:1.转到agi中由php进行处理,这种方法比较简单,在这里不再缀述2.在dialplan中利用内置的方法进行截取 如 [test] exten => 123456,1,answer() exten => 123456,n,noop(${CALLID:2}) //这里是指将主叫截取成 3456 exten => 123456,n,noop(${LEN(abcd)}) //这里是指查看abcd字符串的长度 exten => 123456,n,noop(${LEN(${CALLER})}) //这里是指查看主叫号码中的长度 e 阅读全文

posted @ 2013-09-25 14:40 NooBkey 阅读(583) 评论(0) 推荐(0) |

摘要:asterisk的安装在ubuntu上自我感觉还是很方便的,虽然也会遇到一些小的问题。下面是本人遇到的一些问题和解决方法。1》在ubuntu10.04上安装asterisk#apt-get install asterisk一般都能成功安装,这里不再赘述 2》安装asterisk-gui #mkdir/asterisk/因为asterisk-gui和asterisk相互独立,因此单独创建一个目录,方便管理 #cd/asterisk #svn checkout http://svn.digium.com/svn/asterisk-gui/branches/2.0 asterisk-gui将ast. 阅读全文

posted @ 2013-08-23 16:19 NooBkey 阅读(1270) 评论(0) 推荐(0) |

摘要:Compile, configure, and install the latest FreeTDS package:[pre] tar -zxvf freetds-0.62.4.tar.gz && cd freetds-0.62.4 && ./configure --prefix=/usr --with-tdsver=7.0 make && make install [/pre]Compile, or recompile, asterisk so that it will now add supportfor cdr_tds.[pre] mak 阅读全文

posted @ 2013-07-30 14:41 NooBkey 阅读(346) 评论(0) 推荐(0) |

摘要:Linkset one:1-31 Incoming33-58 Outgoing58-63 Emergency TrafficLinkset two:1-31 Incoming33-58 Outgoing58-63 Emergency TrafficUsing the standard Dial command we cannot select on which CICs to sendout traffic, since chan_ss7 will by default use all CICs:Dial(SS7/Linkset1/number)To overcome this problem 阅读全文

posted @ 2013-06-17 10:25 NooBkey 阅读(231) 评论(0) 推荐(0) |

摘要:第一步 :先停止你的asterisk>asterisk -rx ‘stop now’然后要验证一下是否真的被停了.>ps aux|grep “asterisk”|grep -v grep如果有输出信息,那我们来个猛的>killall -9 asterisk 第二步 :如果你装了zaptel驱动,你需要把你的zaptel驱动删除掉,如果你没装,那就跳过这一步吧.>lsmod | grep zaptel zaptel 213028 4 zttranscode,ztdummy crc_ccitt 2113 1 zaptel 如果你看到以上信息,那行,你得把这些都 Remove 阅读全文

posted @ 2013-06-09 13:41 NooBkey 阅读(206) 评论(0) 推荐(0) |

摘要:占用带宽= 包长度×每秒包数= 包长度×(1/打包周期)=(Ethernet头+IP头+UDP头+RTP头+有效载荷)×(1/打包周期)=(208bit +160bit+64bit+96bit +有效载荷)×(1/打包周期)=(528bit+(打包周期(秒)×每秒的比特数))×(1/打包周期)= ( 528 / 打包周期 ) + 每秒比特数按照上面的计算公式:G711:20ms打包,为 ( 528/20 + 64) Kbit/s=90.4 Kbit/sG729:20ms打包,为 ( 528/20 + 8 ) Kbit/s= 34.4 阅读全文

posted @ 2013-03-01 10:12 NooBkey 阅读(737) 评论(0) 推荐(0) |

博客园  ©  2004-2025
浙公网安备 33010602011771号 浙ICP备2021040463号-3