Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [global]
- type=global
- transport=udp,ws,wss
- [transport-udp]
- type=transport
- protocol=udp
- bind=0.0.0.0
- [transport-ws]
- type=transport
- protocol=ws
- bind=0.0.0.0
- [myprofile](!)
- type=endpoint
- transport=transport-udp
- context=from-internal
- disallow=all
- allow=all
- [auth_userpass](!)
- type=auth
- auth_type=userpass
- [aor_dynamic](!)
- type=aor
- max_contacts=1
- [700](myprofile)
- auth=700
- aors=700
- [700](auth_userpass)
- password=700
- username=700
- [700](aor_dynamic)
- [701](myprofile)
- auth=701
- aors=701
- [701](auth_userpass)
- password=701
- username=701
- [701](aor_dynamic)
- [702]
- type=aor
- max_contacts=1
- remove_existing=yes
- [702]
- type=auth
- auth_type=userpass
- username=702
- password=702
- [702]
- type=endpoint
- aors=702
- auth=702
- use_avpf=yes
- media_encryption=dtls
- dtls_ca_file=/etc/asterisk/keys/ca.crt
- dtls_cert_file=/etc/asterisk/keys/asterisk.pem
- dtls_verify=fingerprint
- dtls_setup=actpass
- ice_support=yes
- media_use_received_transport=yes
- rtcp_mux=yes
- ;context=default
- context=from-internal
- disallow=all
- allow=opus
- allow=ulaw
- [703](myprofile)
- auth=703
- aors=703
- type=transport-ws
- [703](auth_userpass)
- password=703
- username=703
- [703](aor_dynamic)
- [from-internal]
- exten=>_7XX,1,Dial(PJSIP/${EXTEN},20)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement