Advertisement
Guest User

Untitled

a guest
Feb 5th, 2023
68
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.54 KB | None | 0 0
  1. [transport-tls]
  2. type=transport
  3. protocol=tls
  4. bind=0.0.0.0
  5. cert_file=/etc/ssl/certs/asterisk1.blu.priv.crt
  6. priv_key_file= /etc/ssl/private/asterisk1.blu.priv.key
  7. ca_list_file= /etc/ssl/certs/blu.priv.crt
  8. method=tlsv1_2
  9.  
  10. [transport-udp]
  11. type=transport
  12. protocol=udp
  13. bind=0.0.0.0:5060
  14.  
  15. [telefono1]
  16. type=aor
  17. max_contacts=10
  18.  
  19. [telefono1]
  20. type=auth
  21. auth_type=userpass
  22. username=telefono1
  23. password=*****************; replace
  24.  
  25. [telefono1]
  26. type=endpoint
  27. context=local
  28. allow=!all,alaw,ulaw,g729,g723,ilbc
  29. direct_media=yes
  30. callerid="*******" <************> ;replace with yourid
  31. media_encryption=sdes
  32. inband_progress=yes
  33. tone_zone=it
  34. language=it
  35. auth=telefono1
  36. aors=telefono1
  37.  
  38. [reg_192.168.0.1]
  39. type=registration
  40. retry_interval=20
  41. max_retries=10
  42. expiration=120
  43. transport=transport-udp
  44. outbound_auth=auth_reg_192.168.0.1
  45. client_uri=sip:asterisk01@192.168.0.1
  46. server_uri=sip:192.168.0.1
  47.  
  48. [auth_reg_192.168.0.1]
  49. type=auth
  50. password=************************ ; replace with the pass for phone on FritzBox
  51. username=asterisk01
  52.  
  53. [asterisk01]
  54. type=aor
  55. contact=sip:asterisk01@192.168.0.1
  56.  
  57. [asterisk01]
  58. type=identify
  59. endpoint=asterisk01
  60. match=192.168.0.1
  61.  
  62. [asterisk01]
  63. type=auth
  64. username=asterisk01
  65. password=*************************; replace with the pass for phone on FritzBox
  66.  
  67. [asterisk01]
  68. type=endpoint
  69. context=uscita
  70. allow=!all,alaw,ulaw,g729,g723,ilbc
  71. direct_media=no
  72. inband_progress=yes
  73. from_user=asterisk01
  74. from_domain=192.168.0.1
  75. tone_zone=it
  76. language=it
  77. auth=asterisk01
  78. outbound_auth=asterisk01
  79. aors=asterisk01
  80.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement