Guest User

Untitled

a guest
Jan 24th, 2012
114
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.71 KB | None | 0 0
  1. [general]
  2. context=internal ; Default context for incoming calls
  3. allowoverlap=no ; Disable overlap dialing support. (Default is yes)
  4. udpbindaddr=0.0.0.0 ; IP address to bind UDP listen socket to (0.0.0.0 binds to all)
  5. bindport=5060
  6. bindaddr=0.0.0.0
  7. tcpenable=yes ; Enable server for incoming TCP connections (default is no)
  8. tcpbindaddr=0.0.0.0 ; IP address for TCP server to bind to (0.0.0.0 binds to all interfaces)
  9. srvlookup=yes ; Enable DNS SRV lookups on outbound calls
  10. notifyhold = yes ; Notify subscriptions on HOLD state (default: no)
  11. localnet=10.0.0.0/255.255.255.0
  12. externip=xx.xxx.xxx.xxx
  13. nat=yes
  14.  
  15. [1555] ; A locally attached SIP extension
  16. type=friend
  17. callerid=1555
  18. canreinvite=no
  19. dtmfmode=rfc2833
  20. mailbox=1555
  21. disallow=all
  22. allow=ulaw
  23. transport=udp
  24. secret=1555
  25. host=dynamic
  26. context=internal
  27.  
  28. [Lync_Trunk] ; Our Lync trunk
  29. type=friend
  30. port=5068 ; This is the default Lync Server TCP listening port
  31. host=xx.xxx.xxx ; This should be the IP address of your Lync Server
  32. dtmfmode=rfc2833
  33. context=from-lync
  34. qualify=yes
  35. transport=tcp,udp
  36.  
  37. [general]
  38. static=yes
  39. writeprotect=no
  40.  
  41. [globals]
  42.  
  43. [default]
  44.  
  45. [internal]
  46. ;dialling other extensions starting with 1 followed by three digits
  47. exten=>_1XXX,1,Dial(SIP/${EXTEN},20)
  48. exten=>_1XXX,n,hangup()
  49.  
  50. ;dialling other extensions starting with 2 followed by three digits
  51. exten=>_2XXX,1,Dial(SIP/Lync_Trunk/${EXTEN},20)
  52. exten=>_2XXX,n,hangup()
  53.  
  54. [from-lync]
  55.  
  56. ;dialling other extensions starting with 1 followed by three digits
  57. exten=>_1XXX,1,Dial(SIP/${EXTEN},20)
  58. exten=>_1XXX,n,hangup()
Advertisement
Add Comment
Please, Sign In to add comment