带有 Twilio 的 Vicidial SIP 中继 [英] Vicidial SIP Trunk with Twilio

查看:29
本文介绍了带有 Twilio 的 Vicidial SIP 中继的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我需要一个关于配置 Twilio Elastic SIP Trunk 的分步指南我的 Vicidial 服务器.我已经研究了好几天了.仍然无法拨打外线电话.我在 twilio 上的帐户仍然是一个试用帐户.谢谢你们.:(

I need a step by step guide on configuring Twilio Elastic SIP Trunk on my Vicidial Server. I've been working it out for days now. Still can't make an outbound call. My account on twilio is still a trial account. thank you guys. :(

推荐答案

从 vicidial 管理面板,转到 Admin >> Carriers添加名为myname"的新运营商**用您喜欢的任何内容替换myname",但在整个配置中保持一致.任何您看到myname"的地方都将其替换为相同的值.

From vicidial admin panel, go to Admin >> Carriers Add a new carrier named "myname" **Replace "myname" with whatever you like but keep it consistent throughout the config. Anywhere you see "myname" replace it with the same value.

在帐户条目部分使用此模板:

In the account entry section use this template:

帐户条目:

[myname]
type=peer
secret=mypassword ;if you created a Credentials list in Twilio the password goes here
username=myuser ;the Credentials username goes here
host=mytrunkname.pstn.twilio.com ;in Twilio this is your Termination SIP URI that you created under Elastic SIP Trunk settings
dtmfmode=rfc2833
canreinvite=no
disallow=all
allow=ulaw
insecure=port,invite
fromuser=+18005551234 ;the phone number associated with your trunk goes here
fromdomain=mytrunkname.pstn.twilio.com

全局字符串:DIAL9TRUNK = SIP/myname

拨号方案条目:

exten => _91NXXNXXXXXX,1,AGI(agi://127.0.0.1:4577/call_log)
exten => _91NXXNXXXXXX,n,Dial(${DIAL9TRUNK}/+1${EXTEN:2},,To)
exten => _91NXXNXXXXXX,n,Hangup

exten => _9NXXNXXXXXX,1,AGI(agi://127.0.0.1:4577/call_log)
exten => _9NXXNXXXXXX,n,Dial(${DIAL9TRUNK}/+1${EXTEN:1},,tTo)
exten => _9NXXNXXXXXX,n,Hangup

这应该会激活以数字 9 为前缀的出站呼叫.意思是,先拨 9,然后像往常一样拨打您想要拨打的号码.为了安全起见,您可能希望删除我在设置中的所有评论.如果您需要更多帮助,请使用您当前的配置回帖,我会尽快回复.

That should activate outbound calling prefixed with the number 9. Meaning, dial 9 and then the number you want to dial as usual. You might want to remove all of my comments in the settings just to be safe. If you need any more help post back with your current config and I'll try to respond quickly.

干杯!

这篇关于带有 Twilio 的 Vicidial SIP 中继的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆