Advertisement
Guest User

Untitled

a guest
Feb 26th, 2020
163
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.29 KB | None | 0 0
  1. ;--
  2. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  3. Non mapped elements start
  4. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  5.  
  6. [general]
  7. allowoverlap = no
  8.  
  9. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  10. Non mapped elements end
  11. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  12. --;
  13.  
  14. [global]
  15. type=global
  16. max_forwards=20
  17. user_agent=SHANS SIP Client
  18.  
  19. [transport-udp]
  20. type = transport
  21. protocol = udp
  22. bind = 192.168.98.17:8888
  23.  
  24. [transport-tls]
  25. type = transport
  26. protocol = tls
  27. bind = 192.168.98.17:9999
  28. cert_file = /etc/asterisk/ssl/ast1.pem
  29. priv_key_file = /etc/asterisk/ssl/ast1.key
  30. method = sslv23
  31. allow_reload=true
  32.  
  33. [transport-wss]
  34. type=transport
  35. protocol=wss
  36. bind=192.168.98.17
  37.  
  38. [gateway]
  39. type=aor
  40. contact=sip:192.168.98.41:9595
  41. qualify_frequency=300
  42.  
  43. [gateway]
  44. type=endpoint
  45. transport=transport-udp
  46. context=core_plan
  47. disallow=all
  48. allow=alaw
  49. allow=ulaw
  50. aors=gateway
  51. from_domain=192.168.98.17
  52. direct_media=no
  53. force_rport=yes
  54.  
  55. [gateway]
  56. type=identify
  57. endpoint=gateway
  58. match=192.168.98.41
  59.  
  60. [120]
  61. type=aor
  62. max_contacts=5
  63. remove_existing=yes
  64.  
  65. [120]
  66. type=auth
  67. auth_type=userpass
  68. username=120
  69. password=test120
  70.  
  71. [120]
  72. type=endpoint
  73. webrtc=yes
  74. aors=120
  75. auth=120
  76. dtls_auto_generate_cert=yes
  77. context=core_plan
  78. disallow=all
  79. allow=opus,ulaw
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement