Advertisement
LA_

Asterisk/Beeline settings

LA_
Nov 11th, 2012
309
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. ***** sip.conf *****
  2. [general]
  3. context=default        ; default
  4. allowoverlap=no        ; default
  5. udpbindaddr=0.0.0.0    ; default
  6. tcpenable=no           ; default
  7. tcpbindaddr=0.0.0.0    ; default
  8. transport=udp          ; default
  9. srvlookup=yes          ; default
  10.  
  11. register => [email protected]:password:[email protected]@msk.sip.beeline.ru:5060/7499952XXXX
  12.  
  13. [authentication]       ; default
  14.  
  15. [6000]
  16. type=friend
  17. secret=my_secret
  18. username=6000
  19. host=dynamic
  20. context=sip-in
  21.  
  22. [basic-options](!)               ; default
  23.         dtmfmode=rfc2833
  24.         context=from-office
  25.         type=friend
  26.  
  27. [natted-phone](!,basic-options)  ; default
  28.         directmedia=no
  29.         host=dynamic
  30.  
  31. [public-phone](!,basic-options)  ; default
  32.         directmedia=yes
  33.  
  34. [my-codecs](!)                   ; default
  35.         disallow=all
  36.         allow=ilbc
  37.         allow=g729
  38.         allow=gsm
  39.         allow=g723
  40.         allow=ulaw
  41.  
  42. [ulaw-phone](!)                  ; default
  43.         disallow=all
  44.         allow=ulaw
  45.  
  46.  
  47. ***** extensions.conf *****
  48. [general]              ; default
  49. static=yes
  50. writeprotect=no
  51. clearglobalvars=no
  52.  
  53. [globals]              ; default
  54. CONSOLE=Console/dsp
  55. IAXINFO=guest
  56. TRUNK=DAHDI/G2
  57. TRUNKMSD=1
  58.  
  59. [default]
  60. exten => _X.,1,Hangup
  61.  
  62. [sip-in]
  63. exten => _X.,1,Dial(SIP/beeline/${EXTEN})
  64. same => n,Hangup
  65.  
  66. [beeline]
  67. context=from-beeline
  68. type=peer
  69. secret=password
  70. fromuser=7499952XXXX ; actual number is here
  71. host=sip.beeline.ru
  72. canreinvite=no
  73.  
  74. [from-beeline]
  75. exten => 7499952XXXX,1,Dial(SIP/beeline/7916XXXXXXX) ; actual numbers are here
  76. exten => _X.,n, Hangup
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement