누락 된 것이 있습니다. pjsip
config. 기본 구성은 다음과 같으며 내선 번호가 sipgate 인 설정을 기반으로합니다. 이 구성은 실행중인 상자에서 추출되었습니다 (사용자 이름은 &이지만 제거되었습니다).
[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)})
이 줄
pjsip.conf
는 사용자가 내부적으로 90500xxxxxxx 전화를 걸 때 (0500) 수와 sipgate를 통해 경로를 어떤 무료 전화를 잡기 위해 사용된다;
exten => _90500.,1,Dial(PJSIP/${EXTEN:1}@sipgate-preimum)
sip 구성 파일 및 다이얼 플랜에서 관련 비트로 질문을 업데이트 할 수 있습니까? 나는 당신을 위해 나중에 확인할 수있는 구성 설정을 가지고있다. – user3788685
@ user3788685 안녕하세요 - 저는 특별한 설정이 없습니다. Dialplan은 다이얼 기능 만 있습니다. youur 설정을 주시겠습니까? pjsip.conf 및 트렁크 설정? 나는 실시간 종점 (포스트 그레스)을 가지고있다. – user3025978
완료 - 문제가 있어도 아래 답변에 정보를 변경/변경할 수 있음을 알려주세요 - 내 구성은 정적이며 db는 아예 없습니다 - 죄송합니다. – user3788685