Advertisement
LA_

Untitled

LA_
Nov 11th, 2012
315
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 => nickname@sip.beeline.ru:password:7499952XXXX@sip.beeline.ru@msk.sip.beeline.ru:5060/7499952XXXX
  12.  
  13. [authentication]       ; default
  14.  
  15. [6000]
  16. type=friend
  17. secret=pass
  18. username=6000
  19. host=dynamic
  20. context=sip-in
  21.  
  22. [6001]
  23. type=friend
  24. secret=pass
  25. username=6001
  26. host=dynamic
  27. context=sip-in
  28.  
  29. [beeline]
  30. context=from-beeline
  31. type=peer
  32. authname=nickname
  33. fromdomain=sip.beeline.ru
  34. secret=pass
  35. fromuser=nickname
  36. host=sip.beeline.ru
  37. canreinvite=no
  38. insecure=port,invite
  39. outboundproxy=msk.sip.beeline.ru,force
  40. defaultuser=7499952xxxx@sip.beeline.ru
  41. auth=7499952xxxx@sip.beeline.ru
  42.  
  43.  
  44. [basic-options](!)               ; default
  45.         dtmfmode=rfc2833
  46.         context=from-office
  47.         type=friend
  48.  
  49. [natted-phone](!,basic-options)  ; default
  50.         directmedia=no
  51.         host=dynamic
  52.  
  53. [public-phone](!,basic-options)  ; default
  54.         directmedia=yes
  55.  
  56. [my-codecs](!)                   ; default
  57.         disallow=all
  58.         allow=ilbc
  59.         allow=g729
  60.         allow=gsm
  61.         allow=g723
  62.         allow=ulaw
  63.  
  64. [ulaw-phone](!)                  ; default
  65.         disallow=all
  66.         allow=ulaw
  67.  
  68.  
  69. ***** extensions.conf *****
  70. [general]              ; default
  71. static=yes
  72. writeprotect=no
  73. clearglobalvars=no
  74.  
  75. [globals]              ; default
  76. CONSOLE=Console/dsp
  77. IAXINFO=guest
  78. TRUNK=DAHDI/G2
  79. TRUNKMSD=1
  80.  
  81. [default]
  82. exten => _X.,1,Hangup
  83.  
  84. [sip-in]
  85. exten => _X.,1,Dial(SIP/beeline/${EXTEN})
  86. same => n,Hangup
  87.  
  88. [from-beeline]
  89. exten => 7499952xxxx,1,Dial(SIP/beeline/7916xxxxxxx)
  90. same => n,Hangup
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement