Advertisement
Guest User

Untitled

a guest
Jul 23rd, 2019
87
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.59 KB | None | 0 0
  1. ;===============TRANSPORT
  2.  
  3. [simpletrans]
  4. type=transport
  5. protocol=udp
  6. bind=0.0.0.0
  7.  
  8.  
  9.  
  10. ;======= TRUNKS - TRANSPORTS
  11.  
  12. [mytrunk]
  13. type=registration
  14. outbound_auth=mytrunk
  15. server_uri=sip:9146271@gateway.localphone.com:5060
  16. client_uri=sip:9146271@gateway.localphone.com:5060
  17. ;localphone.com/9146271
  18.  
  19. [mytrunk]
  20. type=auth
  21. auth_type=userpass
  22. password=58844da9
  23. username=9146271
  24.  
  25. [mytrunk]
  26. type=aor
  27. contact=sip:9146271@gateway.localphone.com:5060
  28.  
  29. [mytrunk]
  30. type=endpoint
  31. context=from-external
  32. disallow=all
  33. allow=ulaw
  34. outbound_auth=mytrunk
  35. aors=mytrunk
  36. dtmf_mode=auto
  37.  
  38. [mytrunk]
  39. type=identify
  40. endpoint=mytrunk
  41. match=gateway.localphone.com
  42.  
  43. ;================ Services
  44.  
  45. [2000]
  46. type=endpoint
  47. transport=simpletrans
  48. context=servicepoints
  49. disallow=all
  50. allow=ulaw
  51. allow=alaw
  52.  
  53.  
  54. ;===============ENDPOINT TEMPLATES
  55.  
  56. [endpoint-basic](!)
  57. type=endpoint
  58. transport=simpletrans
  59. context=internal
  60. disallow=all
  61. allow=alaw
  62. allow=ulaw
  63.  
  64. [auth-userpass](!)
  65. type=auth
  66. auth_type=userpass
  67.  
  68. [aor-single-reg](!)
  69. type=aor
  70. max_contacts=10
  71.  
  72. ;===============EXTENSION 6001
  73.  
  74. [6001](endpoint-basic)
  75. auth=auth6001
  76. aors=6001
  77. ;nat=yes
  78. ;host=dynamic
  79.  
  80. [auth6001](auth-userpass)
  81. password=6001g7ve8s0as
  82. username=6001
  83.  
  84. [6001](aor-single-reg)
  85.  
  86. ;===============EXTENSION 6002
  87.  
  88. [6002](endpoint-basic)
  89. auth=auth6002
  90. aors=6002
  91.  
  92. [auth6002](auth-userpass)
  93. password=6002g7ve8s0as
  94. username=6002
  95.  
  96. [6002](aor-single-reg)
  97.  
  98. ;===============EXTENSION 6003
  99.  
  100. [6003](endpoint-basic)
  101. auth=auth6003
  102. aors=6003
  103.  
  104. [auth6003](auth-userpass)
  105. password=6003g7ve8s0as
  106. username=6003
  107.  
  108. [6003](aor-single-reg)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement