Advertisement
LA_

Untitled

LA_
Nov 11th, 2012
424
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=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=[email protected]
  41.  
  42.  
  43. [basic-options](!)               ; default
  44.         dtmfmode=rfc2833
  45.         context=from-office
  46.         type=friend
  47.  
  48. [natted-phone](!,basic-options)  ; default
  49.         directmedia=no
  50.         host=dynamic
  51.  
  52. [public-phone](!,basic-options)  ; default
  53.         directmedia=yes
  54.  
  55. [my-codecs](!)                   ; default
  56.         disallow=all
  57.         allow=ilbc
  58.         allow=g729
  59.         allow=gsm
  60.         allow=g723
  61.         allow=ulaw
  62.  
  63. [ulaw-phone](!)                  ; default
  64.         disallow=all
  65.         allow=ulaw
  66.  
  67.  
  68. ***** extensions.conf *****
  69. [general]              ; default
  70. static=yes
  71. writeprotect=no
  72. clearglobalvars=no
  73.  
  74. [globals]              ; default
  75. CONSOLE=Console/dsp
  76. IAXINFO=guest
  77. TRUNK=DAHDI/G2
  78. TRUNKMSD=1
  79.  
  80. [default]
  81. exten => _X.,1,Hangup
  82.  
  83. [sip-in]
  84. exten => _X.,1,Dial(SIP/beeline/${EXTEN})
  85. same => n,Hangup
  86.  
  87. [from-beeline]
  88. exten => 7499952xxxx,1,Dial(SIP/beeline/7916xxxxxxx)
  89. same => n,Hangup
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement