sip.conf 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  1. ;!
  2. ;! Automatically generated configuration file
  3. ;! Filename: sip.conf (/etc/asterisk/sip.conf)
  4. ;! Generator: Manager
  5. ;! Creation Date: Wed Jun 10 11:33:08 2015
  6. ;!
  7. [authentication]
  8. [general]
  9. sendrpid = yes
  10. language = cn
  11. callerid = Unknown
  12. context = default
  13. udpbindaddr = 0.0.0.0:5060
  14. tcpenable = no
  15. tcpbindaddr = 0.0.0.0:5060
  16. tlsenable = no
  17. tlsbindaddr = 0.0.0.0:5061
  18. alwaysauthreject = yes
  19. defaultexpiry = 1800
  20. allowguest = no
  21. allowtransfer = yes
  22. dtmfmode = auto
  23. maxcallbitrate = 384
  24. maxexpiry = 3600
  25. minexpiry = 60
  26. t38pt_udptl = yes
  27. faxdetect = no
  28. qualify = yes
  29. nat = force_rport,comedia
  30. allowsubscribe = yes
  31. subscribecontext = default
  32. notifybusy = yes
  33. notifyringing = yes
  34. notifyhold = yes
  35. limitonpeers = yes
  36. relaxdtmf = yes
  37. videosupport = yes
  38. tos_sip = CS3
  39. tos_audio = ef
  40. tos_video = AF41
  41. tlscertfile = /etc/asterisk/keys/asterisk.pem
  42. tlscafile = /etc/asterisk/keys/ca.crt
  43. tlsprivatekey = /etc/asterisk/keys/asterisk.pem
  44. tlscipher = ALL
  45. tlsclientmethod = tlsv1
  46. tlsdontverifyserver = yes
  47. regfailmax = 10
  48. regfailtoblocktime = 30
  49. cos_sip = 3
  50. cos_audio = 5
  51. cos_video = 4
  52. srvlookup = no
  53. usereqphone = no
  54. useragent=VOIP
  55. callcounter = yes
  56. prematuremedia=yes ;SIP 183 yes/no
  57. progressinband=yes ;SIP 183 yes/no/never
  58. realm=coocenter.com
  59. icesupport = no
  60. vmexten = *61
  61. #include sip_registrations.conf