Advertisement
Guest User

Untitled

a guest
Aug 7th, 2017
178
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.15 KB | None | 0 0
  1. [global]
  2. type=global
  3. transport=udp,ws,wss
  4.  
  5. [transport-udp]
  6. type=transport
  7. protocol=udp
  8. bind=0.0.0.0
  9.  
  10. [transport-ws]
  11. type=transport
  12. protocol=ws
  13. bind=0.0.0.0
  14.  
  15. [myprofile](!)
  16. type=endpoint
  17. transport=transport-udp
  18. context=from-internal
  19. disallow=all
  20. allow=all
  21.  
  22. [auth_userpass](!)
  23. type=auth
  24. auth_type=userpass
  25.  
  26. [aor_dynamic](!)
  27. type=aor
  28. max_contacts=1
  29.  
  30. [700](myprofile)
  31. auth=700
  32. aors=700
  33. [700](auth_userpass)
  34. password=700
  35. username=700
  36. [700](aor_dynamic)
  37.  
  38. [701](myprofile)
  39. auth=701
  40. aors=701
  41. [701](auth_userpass)
  42. password=701
  43. username=701
  44. [701](aor_dynamic)
  45.  
  46. [702]
  47. type=aor
  48. max_contacts=1
  49. remove_existing=yes
  50. [702]
  51. type=auth
  52. auth_type=userpass
  53. username=702
  54. password=702
  55. [702]
  56. type=endpoint
  57. aors=702
  58. auth=702
  59. use_avpf=yes
  60. media_encryption=dtls
  61. dtls_ca_file=/etc/asterisk/keys/ca.crt
  62. dtls_cert_file=/etc/asterisk/keys/asterisk.pem
  63. dtls_verify=fingerprint
  64. dtls_setup=actpass
  65. ice_support=yes
  66. media_use_received_transport=yes
  67. rtcp_mux=yes
  68. ;context=default
  69. context=from-internal
  70. disallow=all
  71. allow=opus
  72. allow=ulaw
  73.  
  74. [703](myprofile)
  75. auth=703
  76. aors=703
  77. type=transport-ws
  78. [703](auth_userpass)
  79. password=703
  80. username=703
  81. [703](aor_dynamic)
  82.  
  83. [from-internal]
  84. exten=>_7XX,1,Dial(PJSIP/${EXTEN},20)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement