first commit

This commit is contained in:
2026-07-18 01:25:01 +03:30
parent dee06ba093
commit c18a1c2298
22 changed files with 981 additions and 0 deletions

View File

@@ -0,0 +1,34 @@
[${TRUNK_NAME}-reg]
type=registration
transport=transport-udp
outbound_auth=${TRUNK_NAME}-auth
server_uri=sip:${TRUNK_HOST}
client_uri=sip:${TRUNK_USERNAME}@${TRUNK_HOST}
retry_interval=60
expiration=3600
[${TRUNK_NAME}-auth]
type=auth
auth_type=userpass
username=${TRUNK_USERNAME}
password=${TRUNK_PASSWORD}
[${TRUNK_NAME}]
type=aor
contact=sip:${TRUNK_HOST}
qualify_frequency=60
[${TRUNK_NAME}]
type=endpoint
context=from-trunk
transport=transport-udp
disallow=all
allow=ulaw,alaw
outbound_auth=${TRUNK_NAME}-auth
aors=${TRUNK_NAME}
; --- اضافه کردن این بخش ---
[${TRUNK_NAME}-identify]
type=identify
endpoint=${TRUNK_NAME}
match=${TRUNK_HOST}