它看起来像你从你丢失的东西pjsip
配置。我的基本配置如下,基于内部扩展的sipgate设置。此配置已从运行框中提取(尽管用户名&密码已被删除);
pjsip.conf
[transport-udp]
type = transport
protocol = udp
bind = 0.0.0.0
[reg_sipgate_premium]
type = registration
retry_interval = 20
max_retries = 10
contact_user = 0000000
expiration = 120
transport = transport-udp
outbound_auth = auth_sipgate_premium
client_uri = sip:[email protected]:5060
server_uri = sip:sipgate.co.uk:5060
[auth_sipgate_premium]
type = auth
username = 0000000
password = password
[sipgate_aor_premium]
type = aor
contact = sip:[email protected]
[sipgate-preimum]
type = endpoint
context = incomingsipgate
dtmf_mode = rfc4733
disallow = all
allow = alaw
rtp_symmetric = yes
force_rport = yes
rewrite_contact = yes
timers = yes
from_user = 0000000
from_domain = sipgate.co.uk
language = en
outbound_auth = auth_sipgate_premium
aors = sipgate_aor_premium
extensions.conf
[incomingsipgate]
exten => 0000000,1,Goto(sipgate-in-premium,0000000,1)
[sipgate-in-premium]
exten => 0000000,1,Verbose(Incoming call from Sipgate line CallerID=${CALLERID(all)})
exten => 0000000,2,Goto(internal-ext,120,1)
[internal-ext]
exten => 120,1,Dial(SCCP/120,20,o,CallerID=${CALLERID(all)})
这条线用于捕获任何游离电话(0500)号,并经由sipgate路线它当用户拨打内部90500xxxxxxx;
exten => _90500.,1,Dial(PJSIP/${EXTEN:1}@sipgate-preimum)
你可以用你的SIP配置文件中的相关位更新你的问题,并请拨打计划。我有工作配置,我可以稍后检查你的。 – user3788685
@ user3788685嗨 - 我没有什么特别的配置。拨号方案只是拨号功能。你能给我你的配置吗? pjsip.conf和中继配置?我有实时端点(postgres)。 – user3025978
完成 - 让我知道如果你有任何问题,我可以更新/更改下面的答案中的信息 - 我的配置是静态的,没有数据库的东西 - 对不起。应该让你去,虽然 – user3788685