Guest User

Untitled

a guest
Jan 11th, 2019
179
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.14 KB | None | 0 0
  1. [localphone]
  2. type=registration
  3. transport=transport-udp
  4. outbound_auth=localphone
  5. client_uri = sip:12345678@localphone.com:5060
  6. server_uri = sip:localphone.com:5060
  7. auth_rejection_permanent=no
  8. contact_user=12345678
  9.  
  10. [localphone]
  11. type=auth
  12. auth_type=userpass
  13. username=12345678
  14. password=mypassword
  15.  
  16. [localphone]
  17. type=aor
  18. max_contacts=100
  19. contact=sip:12345678@localphone.com
  20.  
  21. [localphone]
  22. type=endpoint
  23. transport=transport-udp
  24. context=localphone-inc
  25. disallow = all
  26. allow = ulaw
  27. allow = alaw
  28. rtcp_mux=yes
  29. ice_support=yes
  30. direct_media=no
  31. from_user=12345678
  32. from_domain=localphone.com
  33. outbound_auth=localphone
  34. aors=localphone
  35.  
  36. [localphone]
  37. type = identify
  38. endpoint = localphone
  39. match = 140.153.72.56
  40.  
  41.  
  42. ; This is the WebRTC client
  43.  
  44. [1652]
  45. type=aor
  46. max_contacts=100
  47.  
  48. [auth1652]
  49. type=auth
  50. auth_type=userpass
  51. username=1652
  52. password=complicatedpassword
  53.  
  54. [1652]
  55. type=endpoint
  56. context=localphone-pjsip
  57. aors=1652
  58. auth=auth1652
  59. transport=transport-wss
  60. webrtc=yes
  61. disallow=all
  62. allow=ulaw
  63. allow=alaw
  64. dtls_cert_file=/etc/asterisk/key/asterisk.pem
  65. dtls_private_key=/etc/asterisk/key/asterisk.key
  66.  
  67. [1652]
  68. type = identify
  69. endpoint = 1652
  70. match = 123.123.123.123 ; the public IP of the VPS
Add Comment
Please, Sign In to add comment