mgcp.conf.sample 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273
  1. ;
  2. ; MGCP Configuration for Asterisk
  3. ;
  4. [general]
  5. ;port = 2427
  6. ;bindaddr = 0.0.0.0
  7. ;[dlinkgw]
  8. ;host = 192.168.0.64
  9. ;context = default
  10. ;canreinvite = no
  11. ;line => aaln/2
  12. ;line => aaln/1
  13. ;; The MGCP channel supports the following service codes:
  14. ;; # - Transfer
  15. ;; *67 - Calling Number Delivery Blocking
  16. ;; *70 - Cancel Call Waiting
  17. ;; *72 - Call Forwarding Activation
  18. ;; *73 - Call Forwarding Deactivation
  19. ;; *78 - Do Not Disturb Activation
  20. ;; *79 - Do Not Disturb Deactivation
  21. ;; *8 - Call pick-up
  22. ;
  23. ; known to work with Swissvoice IP10s
  24. ;[192.168.1.20]
  25. ;context=local
  26. ;host=192.168.1.20
  27. ;callerid = "John Doe" <123>
  28. ;callgroup=0
  29. ;pickupgroup=0
  30. ;nat=no
  31. ;threewaycalling=yes
  32. ;transfer=yes ; transfer requires threewaycalling=yes. Use FLASH to transfer
  33. ;callwaiting=yes ; this might be a cause of trouble for ip10s
  34. ;cancallforward=yes
  35. ;line => aaln/1
  36. ;
  37. ;[dph100]
  38. ;
  39. ; Supporting the DPH100M requires defining DLINK_BUGGY_FIRMWARE in
  40. ; chan_mgcp.c in addition to enabling the slowsequence mode due to
  41. ; bugs in the D-Link firmware
  42. ;
  43. ;context=local
  44. ;host=dynamic
  45. ;dtmfmode=none ; DTMF Mode can be 'none', 'rfc2833', or 'inband'. Default is none.
  46. ;slowsequence=yes ; The DPH100M does not follow MGCP standards for sequencing
  47. ;line => aaln/1
  48. ; known to work with wave7optics FTTH LMGs
  49. ;[192.168.1.20]
  50. ;context=local
  51. ;host=192.168.1.20
  52. ;nat=no
  53. ;wcardep=aaln/* ; enables wildcard endpoint and sets it to 'aaln/*' another common format is '*'
  54. ;callerid = "Duane Cox" <123>
  55. ;callwaiting=no
  56. ;transfer=no
  57. ;cancallforward=no
  58. ;canreinvite=no
  59. ;dtmfmode=inband
  60. ;singlepath=yes ; This device only supports a single RTP path
  61. ;line => aaln/1
  62. ;callerid = "Duane Cox" <456>
  63. ;callwaiting=no
  64. ;transfer=no
  65. ;cancallforward=no
  66. ;canreinvite=no
  67. ;dtmfmode=inband
  68. ;line => aaln/2