Advertisement
powerponch

ASTERISK FILES

Oct 2nd, 2015
221
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.62 KB | None | 0 0
  1. ***** http.conf *****
  2. [general]
  3. enabled=yes
  4. bindaddr=0.0.0.0
  5. bindport=8088
  6.  
  7.  
  8. **** rtp.conf *****
  9. [general]
  10. rtpstart=19000
  11. rtpend=21000
  12. icesupport=true
  13. stunaddr=stun.l.google.com:19302
  14.  
  15. ***** sip.conf *****
  16. [general]
  17. udpbindaddr=0.0.0.0:5060
  18. rtcachefriends=yes
  19. limitonpeers=yes
  20. callcounter=yes
  21. allowoverlap=no ; Disable overlap dialing support. (Default is yes)
  22. localnet=127.0.0.1/255.255.255.0
  23. externip=192.168.0.9
  24.  
  25. [1000] ;zoiper UA
  26. type=friend
  27. secret=rendezvous080193
  28. qualify=yes
  29. host=dynamic
  30. dtmfmode=rfc2833
  31. context=miContexto
  32. directmedia=no
  33. callerid=Fulano <1000>
  34. disallow=all
  35. allow=gsm
  36. allow=ulaw ; Allow codecs in order of preference
  37. allow=alaw
  38.  
  39. [8000] ;mozilla UA
  40. type=friend
  41. secret=rendezvous080193
  42. context=miContexto
  43. host=dynamic
  44. qualify=yes
  45. callerid=WebRTC <8000>
  46. transport=udp,ws
  47. avpf=yes
  48. force_avp=yes
  49. encryption=yes
  50. icesupport=yes
  51. directmedia=no
  52. dtlsenable=yes
  53. dtlsverify=no
  54. disallow=all
  55. allow=all
  56. dtmf=auto
  57. ;nat=force_rport,comedia
  58. nat=no
  59. dtlsenable=yes ; Tell Asterisk to enable DTLS for this peer
  60. dtlsverify=no ; Tell Asterisk to not verify your DTLS certs
  61. dtlscertfile=/etc/asterisk/keys/asterisk.pem
  62. dtlsprivatekey=/etc/asterisk/keys/asterisk.pem
  63. dtlssetup=actpass
  64.  
  65.  
  66. ***** extensions.conf *****
  67.  
  68. [miContexto]
  69. exten=> 200,1,Answer()
  70. same=> n,Playback(hello-world)
  71. same => n,Hangup()
  72.  
  73. exten=> 1000,1,Dial(SIP/1000)
  74. exten=> 8000,1,Dial(SIP/8000)
  75.  
  76. exten => 600,1,Playback(demo-echotest) ; Let them know what's going on
  77. exten => 600,2,Echo ; Do the echo test
  78. exten => 600,3,Playback(demo-echodone) ; Let them know it's over
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement