first commit
This commit is contained in:
64
asterisk/config/pjsip.conf
Normal file
64
asterisk/config/pjsip.conf
Normal file
@@ -0,0 +1,64 @@
|
||||
[global]
|
||||
type=global
|
||||
user_agent=Pline-AI
|
||||
|
||||
[transport-udp]
|
||||
type=transport
|
||||
protocol=udp
|
||||
bind=0.0.0.0:5060
|
||||
|
||||
; ======================
|
||||
; Test Extension
|
||||
; ======================
|
||||
|
||||
[1000]
|
||||
type=endpoint
|
||||
context=from-internal
|
||||
disallow=all
|
||||
allow=ulaw,alaw
|
||||
auth=1000-auth
|
||||
aors=1000
|
||||
|
||||
[1000-auth]
|
||||
type=auth
|
||||
auth_type=userpass
|
||||
username=1000
|
||||
password=1000
|
||||
|
||||
[1000]
|
||||
type=aor
|
||||
max_contacts=5
|
||||
[121-reg]
|
||||
type=registration
|
||||
transport=transport-udp
|
||||
outbound_auth=121-auth
|
||||
server_uri=sip:192.168.102.253
|
||||
client_uri=sip:121@192.168.102.253
|
||||
retry_interval=60
|
||||
expiration=3600
|
||||
|
||||
[121-auth]
|
||||
type=auth
|
||||
auth_type=userpass
|
||||
username=121
|
||||
password=121
|
||||
|
||||
[121]
|
||||
type=aor
|
||||
contact=sip:192.168.102.253
|
||||
qualify_frequency=60
|
||||
|
||||
[121]
|
||||
type=endpoint
|
||||
context=from-trunk
|
||||
transport=transport-udp
|
||||
disallow=all
|
||||
allow=ulaw,alaw
|
||||
outbound_auth=121-auth
|
||||
aors=121
|
||||
|
||||
; --- اضافه کردن این بخش ---
|
||||
[121-identify]
|
||||
type=identify
|
||||
endpoint=121
|
||||
match=192.168.102.253
|
||||
Reference in New Issue
Block a user