Advertisement
Guest User

Untitled

a guest
Oct 20th, 2014
297
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.85 KB | None | 0 0
  1. --------------------------------------
  2. /etc/dahdi/system.conf
  3. --------------------------------------
  4. # Autogenerated by /usr/sbin/dahdi_genconf on Sun Sep 21 09:19:12 2014
  5. # If you edit this file and execute /usr/sbin/dahdi_genconf again,
  6. # your manual changes will be LOST.
  7. # Dahdi Configuration File
  8. #
  9. # This file is parsed by the Dahdi Configurator, dahdi_cfg
  10. #
  11. # Global data
  12.  
  13. loadzone = us
  14. defaultzone = us
  15. fxsks = 4
  16. echocanceller = mg2,3-4
  17.  
  18.  
  19.  
  20. --------------------------------------
  21. /etc/asterisk/chan_dahdi.conf
  22. --------------------------------------
  23. [trunkgroups]
  24. [channels]
  25.  
  26. ;#include /etc/asterisk/dahdi-channels.conf
  27.  
  28. usecallerid=no
  29. hidecallerid=no
  30. callwaiting=no
  31. threewaycalling=no
  32. transfer=yes
  33. canpark=yes
  34.  
  35.  
  36. group=1
  37. context=from-pstn
  38. signalling=fxs_ks
  39. channel=>4
  40.  
  41.  
  42.  
  43. --------------------------------------
  44. Instructions:
  45. --------------------------------------
  46. 1. dahdi_genconf - run this to generate /etc/dahdi/system.conf
  47. 2. add the following lines:
  48. fxsks = 4 ; this specifies the actual analog channel on the FXO card
  49. echocanceller = mg2,3-4 ; always need to set echo cancellation
  50. 3. /etc/asterisk/chan_dahdi.conf
  51. In the included file, the following lines mean:
  52. group=1 ; this is a magic number
  53. context=from-pstn ; dialplan entry point incoming analog line into FXO card
  54. signalling=fxs_ks ; very unlikely to be anything but this, we're only going to be dealing with a
  55. ; single analog line into the pbx
  56. channel=>4 ; this matches up with the channel specified in the system.conf
  57.  
  58. Everything else in this config is basic and will probably stay the same irrespective of the actual card.
  59. 4. Then comment out all the hardware specific drivers in /etc/dahdi/modules that do not match the FXO card.
  60. 5. Stop service dahdi.
  61. 6. Stop service asterisk
  62. 7. Start service dahdi
  63. 8. Start service asterisk
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement