あなたのお見逃しのようです。pjsip
設定。私の基本的な設定は以下の通りで、内線番号がsipgateの設定に基づいています。この設定は実行中のボックスから抽出されました(ユーザ名&のパスワードは削除されましたが)。 sipgate介してこの行は、任意のフリー電話(0500)を捕捉するために使用される
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)})
数および経路をユーザが内部90500xxxxxxxをダイヤルします。
exten => _90500.,1,Dial(PJSIP/${EXTEN:1}@sipgate-preimum)
あなたの質問を、あなたのSIP設定ファイルとダイヤルプランから適切なビットで更新できますか?私はあなたのために後で確認できるconfigsを作っています。 – user3788685
@ user3788685こんにちは - 私は私の設定で特別なものはありません。 Dialplanはダイヤル機能のみです。あなたは私のyouur設定を与えることができますか? pjsip.confとトランクconfig?私はリアルタイムエンドポイント(ポストグル)を持っています。 – user3025978
done - あなたが何か問題があり、私は以下の答えの情報を更新/変更することができます - 私の設定は静的で、DBのものはまったくありません - ごめんなさい。 – user3788685