首页 技术 正文
技术 2022年11月19日
0 收藏 937 点赞 3,921 浏览 779 个字

方案一 Gateway

Elastix GOIP 网关配合

Elastix GOIP 网关配合

disallow=all
allow=alaw&ulaw
canreinvite=no
dtmfmode=rfc2833
host=192.168.1.108
insecure=port,invite
username=ada
secret=123ada
from-user=ada
type=peer
qualify=yes

disallow=all
allow=alaw&ulaw
canreinvite=no
context=from-internal
dtmfmode=rfc2833
host=192.168.1.108
insecure=port,invite
type=friend
qualify=yes

方案二 适用与我自己

Elastix GOIP 网关配合

Elastix GOIP 网关配合

813就成了中转打出的线路  需要通过813打出 的分机设置context gsmcall gsmcall的定义加在 工具集pbx  asterisk文件编辑器   extensions_custom.conf 末尾

[gsmcall]
exten => _XXXXX.,1,Dial(SIP/813/${EXTEN},20)
exten => _XXXXX.,n,Hangup
exten => _.,1,Dial(SIP/${EXTEN},20)
exten => _.,n,Hangup

这样打入打出就解决了

GOIP的配置文件备份

千万别用系统自己加的分机 要用以下格式  这里我还没有搞明白为啥

千万记得删除 sip_additional.conf文件下的分机中的 这句 有这句 上车的号码不能透传

callerid=device <813>

其他文件修改

sip_general_additional.conf 系统基本设置文件

sip_additional.conf 分机号码文件

extensions_custom.conf  Context规则文件

extensions.conf  Context

相关推荐
python开发_常用的python模块及安装方法
adodb:我们领导推荐的数据库连接组件bsddb3:BerkeleyDB的连接组件Cheetah-1.0:我比较喜欢这个版本的cheeta…
日期:2022-11-24 点赞:878 阅读:9,031
Educational Codeforces Round 11 C. Hard Process 二分
C. Hard Process题目连接:http://www.codeforces.com/contest/660/problem/CDes…
日期:2022-11-24 点赞:807 阅读:5,520
下载Ubuntn 17.04 内核源代码
zengkefu@server1:/usr/src$ uname -aLinux server1 4.10.0-19-generic #21…
日期:2022-11-24 点赞:569 阅读:6,368
可用Active Desktop Calendar V7.86 注册码序列号
可用Active Desktop Calendar V7.86 注册码序列号Name: www.greendown.cn Code: &nb…
日期:2022-11-24 点赞:733 阅读:6,148
Android调用系统相机、自定义相机、处理大图片
Android调用系统相机和自定义相机实例本博文主要是介绍了android上使用相机进行拍照并显示的两种方式,并且由于涉及到要把拍到的照片显…
日期:2022-11-24 点赞:512 阅读:7,781
Struts的使用
一、Struts2的获取  Struts的官方网站为:http://struts.apache.org/  下载完Struts2的jar包,…
日期:2022-11-24 点赞:671 阅读:4,862