ss7.txt 4.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117
  1. ("Taken from the README in libss7")
  2. Tested Switches:
  3. ================
  4. Siemens EWSD - (ITU style) MTP2 and MTP3 comes up, ISUP inbound and outbound calls work as well.
  5. DTI DXC 4K - (ANSI style) 56kbps link, MTP2 and MTP3 come up, ISUP inbound and outbound calls work as well.
  6. Huawei M800 - (ITU style) MTP2 and MTP3 comes up, ISUP National, International inbound and outbound calls work as well, CallerID presentation&screening work.
  7. and MORE~!
  8. Thanks:
  9. =======
  10. Mark Spencer, for writing Asterisk and libpri and being such a great friend and boss.
  11. Luciano Ramos, for donating a link in getting the first "real" ITU switch working.
  12. Collin Rose and John Lodden, John for introducing me to Collin, and Collin for the first
  13. "real" ANSI link and for holding my hand through the remaining changes that had to be
  14. done for ANSI switches.
  15. To Use:
  16. =======
  17. In order to use libss7, you must get at least the following versions of DAHDI and Asterisk:
  18. DAHDI: 2.0.x
  19. libss7: trunk (currently, there *only* is a trunk release).
  20. Asterisk: 1.6.x
  21. You must then do a `make; make install` in each of the directories that you installed
  22. in the given order (DAHDI first, libss7 second, and Asterisk last).
  23. NOTE: In order to check out the code, you must have the subversion client installed. This
  24. is how to check them out from the public subversion server.
  25. These are the commands you would type to install them:
  26. `svn co http://svn.digium.com/svn/dahdi/linux/trunk dahdi-trunk`
  27. `cd dahdi-trunk`
  28. `make; make install`
  29. `svn co http://svn.digium.com/svn/dahdi/tools/trunk dahdi-tools`
  30. `cd dahdi-tools`
  31. `./configure; make; make install`
  32. `svn co http://svn.digium.com/svn/libss7/trunk libss7-trunk`
  33. `cd libss7-trunk`
  34. `make; make install`
  35. `svn co http://svn.digium.com/svn/asterisk/trunk asterisk-trunk`
  36. `cd asterisk-trunk`
  37. `./configure; make; make install;`
  38. This should build DAHDI, libss7, and Asterisk with SS7 support.
  39. In the past, there was a special asterisk-ss7 branch to use which contained the SS7 code.
  40. That code has been merged back into the trunk version of Asterisk, and the old asterisk-ss7
  41. branch has been deprecated and removed. If you are still using the asterisk-ss7 branch, it
  42. will not work against the current version of libss7, and you should switch to asterisk-trunk
  43. instead.
  44. CONFIGURATION:
  45. In /etc/dahdi/system.conf, your signalling channel(s) should be a "dchan" and your bearers should
  46. be set as "bchan".
  47. The sample chan_dahdi.conf contains sample configuration for setting up an E1 link.
  48. In brief, here is a simple ss7 linkset setup:
  49. signalling = ss7
  50. ss7type = itu ; or ansi if you are using an ANSI link
  51. linkset = 1 ; Pick a number for your linkset identifier in chan_dahdi.conf
  52. pointcode = 28 ; The decimal form of your point code. If you are using an
  53. ; ANSI linkset, you can use the xxx-xxx-xxx notation for
  54. ; specifying your linkset pointcode.
  55. adjpointcode = 2 ; The point code of the switch adjacent to your linkset
  56. defaultdpc = 3 ; The point code of the switch you want to send your ISUP
  57. ; traffic to. A lot of the time, this is the same as your
  58. ; adjpointcode.
  59. ; Now we configure our Bearer channels (CICs)
  60. cicbeginswith = 1 ; Number to start counting the CICs from. So if DAHDI/1 to
  61. ; DAHDI/15 are CICs 1-15, you would set this to 1 before you
  62. ; declare channel=1-15
  63. channel=1-15 ; Use DAHDI/1-15 and assign them to CICs 1-15
  64. cicbeginswith = 17 ; Now for DAHDI/17 to DAHDI/31, they are CICs 17-31 so we initialize
  65. ; cicbeginswith to 17 before we declare those channels
  66. channel = 17-31 ; This assigns CICs 17-31 to channels 17-31
  67. sigchan = 16 ; This is where you declare which DAHDI channel is your signalling
  68. ; channel. In our case it is DAHDI/16. You can add redundant
  69. ; signalling channels by adding additional sigchan= lines.
  70. ; If we want an alternate redundant signalling channel add this
  71. sigchan = 48 ; This would put two signalling channels in our linkset, one at
  72. ; DAHDI/16 and one at DAHDI/48 which both would be used to send/receive
  73. ; ISUP traffic.
  74. ; End of chan_dahdi.conf
  75. This is how a basic linkset is setup. For more detailed chan_dahdi.conf SS7 config information
  76. as well as other options available for that file, see the default chan_dahdi.conf that comes
  77. with the samples in asterisk. If you would like, you can do a `make samples` in your
  78. asterisk-trunk directory and it will install a sample chan_dahdi.conf for you that contains
  79. more information about SS7 setup.
  80. For more information, please use the asterisk-ss7 or asterisk-dev mailing
  81. lists (I monitor them regularly) or email me directly.
  82. Matthew Fredrickson
  83. creslin@digium.com