<p>Check with sangoma they have ss7 for FreeSWITCH.</p>
<div class="gmail_quote">On Mar 13, 2011 10:19 AM, "Anita Hall" <<a href="mailto:anita.hall@simmortel.com">anita.hall@simmortel.com</a>> wrote:<br type="attribution">> Hi<br>> <br>> I am using Asterisk on Sangoma cards :(<br>
> I know I should have used Digium but now the customer has these cards and I<br>> have to make them work with SS7 :(<br>> <br>> (And FreeSWITCH still does not support SS7 , is that right ?)<br>> <br>> Unable to receive incoming calls on chan_ss7, I have decided to give another<br>
> shot to libss7<br>> <br>> Could someone please share their configuration of dahdi/system.conf,<br>> chan_dahdi.conf, wanpipeX.conf with me for multiple signalling links ?<br>> <br>> I am especially confusing with the numbering schemes of CICs and signalling<br>
> channels. I have signalling links on the first 2 spans, on 16th channel<br>> each.<br>> <br>> So , how do I number after the 2nd channel onwards.<br>> Is it 32-64<br>> or 31-63<br>> or what ?<br>> :)<br>
> <br>> My current config is<br>> <br>> debian:/usr/src# cat /etc/dahdi/system.conf<br>> #autogenerated by /usr/sbin/wancfg_dahdi do not hand edit<br>> #autogenrated on 2011-03-13<br>> #Dahdi Channels Configurations<br>
> #For detailed Dahdi options, view /etc/dahdi/system.conf.bak<br>> loadzone=us<br>> defaultzone=us<br>> <br>> #Sangoma A108 port 1 [slot:4 bus:5 span:1] <wanpipe1><br>> span=1,1,0,ccs,hdb3,crc4<br>
> bchan=1-15,17-31<br>> mtp2=16<br>> <br>> #Sangoma A108 port 2 [slot:4 bus:5 span:2] <wanpipe2><br>> span=2,2,0,ccs,hdb3,crc4<br>> bchan=33-46,48-62<br>> mtp2=47<br>> <br>> #Sangoma A108 port 3 [slot:4 bus:5 span:3] <wanpipe3><br>
> span=3,0,0,ccs,hdb3,crc4<br>> bchan=63-93<br>> <br>> #Sangoma A108 port 4 [slot:4 bus:5 span:4] <wanpipe4><br>> span=4,0,0,ccs,hdb3,crc4<br>> bchan=94-124<br>> <br>> #Sangoma A108 port 5 [slot:4 bus:5 span:5] <wanpipe5><br>
> span=5,0,0,ccs,hdb3,crc4<br>> bchan=125-155<br>> <br>> #Sangoma A108 port 6 [slot:4 bus:5 span:6] <wanpipe6><br>> span=6,0,0,ccs,hdb3,crc4<br>> bchan=156-186<br>> <br>> #Sangoma A108 port 7 [slot:4 bus:5 span:7] <wanpipe7><br>
> span=7,0,0,ccs,hdb3,crc4<br>> bchan=187-217<br>> <br>> #Sangoma A108 port 8 [slot:4 bus:5 span:8] <wanpipe8><br>> span=8,0,0,ccs,hdb3,crc4<br>> bchan=218-248<br>> <br>> #Sangoma A108 port 1 [slot:4 bus:7 span:9] <wanpipe9><br>
> span=9,0,0,ccs,hdb3,crc4<br>> bchan=249-279<br>> <br>> #Sangoma A108 port 2 [slot:4 bus:7 span:10] <wanpipe10><br>> span=10,0,0,ccs,hdb3,crc4<br>> bchan=280-310<br>> <br>> #Sangoma A108 port 3 [slot:4 bus:7 span:11] <wanpipe11><br>
> span=11,0,0,ccs,hdb3,crc4<br>> bchan=311-341<br>> <br>> #Sangoma A108 port 4 [slot:4 bus:7 span:12] <wanpipe12><br>> span=12,0,0,ccs,hdb3,crc4<br>> bchan=342-372<br>> <br>> #Sangoma A108 port 5 [slot:4 bus:7 span:13] <wanpipe13><br>
> span=13,0,0,ccs,hdb3,crc4<br>> bchan=373-403<br>> <br>> #Sangoma A108 port 6 [slot:4 bus:7 span:14] <wanpipe14><br>> span=14,0,0,ccs,hdb3,crc4<br>> bchan=404-434<br>> <br>> #Sangoma A108 port 7 [slot:4 bus:7 span:15] <wanpipe15><br>
> span=15,0,0,ccs,hdb3,crc4<br>> bchan=435-465<br>> <br>> #Sangoma A108 port 8 [slot:4 bus:7 span:16] <wanpipe16><br>> span=16,0,0,ccs,hdb3,crc4<br>> bchan=466-496<br>> <br>> debian:/usr/src# cat /etc/asterisk/chan_dahdi.conf<br>
> ;autogenerated by /usr/sbin/wancfg_dahdi do not hand edit<br>> ;autogenrated on 2011-03-13<br>> ;Dahdi Channels Configurations<br>> ;For detailed Dahdi options, view /etc/asterisk/chan_dahdi.conf.bak<br>> <br>
> [trunkgroups]<br>> <br>> [channels]<br>> context=default<br>> usecallerid=yes<br>> hidecallerid=no<br>> callwaiting=yes<br>> usecallingpres=yes<br>> callwaitingcallerid=yes<br>> threewaycalling=yes<br>
> transfer=yes<br>> canpark=yes<br>> cancallforward=yes<br>> callreturn=yes<br>> echocancel=no<br>> echocancelwhenbridged=no<br>> relaxdtmf=yes<br>> rxgain=0.0<br>> txgain=0.0<br>> group=1<br>
> callgroup=1<br>> pickupgroup=1<br>> immediate=no<br>> <br>> ;Sangoma A108 port 1 [slot:4 bus:5 span:1] <wanpipe1><br>> switchtype=national<br>> context=from-pstn<br>> group=0<br>> echocancel=no<br>
> signalling=ss7<br>> ss7type=itu ;using the ITU variant<br>> ss7_called_nai=dynamic ;NAI for outgoing calls<br>> ss7_calling_nai=dynamic ;NAI for incoming calls<br>> ss7_internationalprefix=00 ;international prefix value for incoming calls<br>
> ss7_nationalprefix=0 ;national prefix value for incoming calls<br>> ss7_subscriberprefix= ;subscriber prefix value for incoming<br>> calls<br>> ss7_unknownprefix= ;unknown prefix value for incoming calls<br>
> ss7_explictacm=yes ;ACM is send as soon as call enters the<br>> dial plan...may not accepted yet though<br>> linkset=1 ;arbitrary name for this set of channels<br>> pointcode=13323 ;the point code for this system...aka<br>
> SPC<br>> adjpointcode=12650 ;the point code for the system that we<br>> are signaling to... aka APC<br>> defaultdpc=12650 ;the point code for the system that the<br>> CICs will be negotiated with...aka DPC<br>
> networkindicator=national_spare ;NI value for MTP3<br>> cicbeginswith=1 ;the starting value of the CICs<br>> channel=2-31 ;the channels that are CICs<br>> sigchan=1 ;the signaling channel<br>
> <br>> ;Sangoma A108 port 2 [slot:4 bus:5 span:2] <wanpipe2><br>> switchtype=national<br>> context=from-pstn<br>> group=0<br>> echocancel=no<br>> signalling=ss7<br>> ss7type=itu ;using the ITU variant<br>
> ss7_called_nai=dynamic ;NAI for outgoing calls<br>> ss7_calling_nai=dynamic ;NAI for incoming calls<br>> ss7_internationalprefix=00 ;international prefix value for incoming calls<br>> ss7_nationalprefix=0 ;national prefix value for incoming calls<br>
> ss7_subscriberprefix= ;subscriber prefix value for incoming<br>> calls<br>> ss7_unknownprefix= ;unknown prefix value for incoming calls<br>> ss7_explictacm=yes ;ACM is send as soon as call enters the<br>
> dial plan...may not accepted yet though<br>> linkset=1 ;arbitrary name for this set of channels<br>> pointcode=13323 ;the point code for this system...aka<br>> SPC<br>
> adjpointcode=12650 ;the point code for the system that we<br>> are signaling to... aka APC<br>> defaultdpc=12650 ;the point code for the system that the<br>> CICs will be negotiated with...aka DPC<br>
> networkindicator=national_spare ;NI value for MTP3<br>> cicbeginswith=1 ;the starting value of the CICs<br>> channel=2-31 ;the channels that are CICs<br>> sigchan=1 ;the signaling channel<br>
> <br>> ;Sangoma A108 port 3 [slot:4 bus:5 span:3] <wanpipe3><br>> switchtype=national<br>> context=from-pstn<br>> group=0<br>> echocancel=no<br>> signalling=ss7<br>> channel =>63-77,79-93<br>
> <br>> ;Sangoma A108 port 4 [slot:4 bus:5 span:4] <wanpipe4><br>> switchtype=national<br>> context=from-pstn<br>> group=0<br>> echocancel=no<br>> signalling=ss7<br>> channel =>94-108,110-124<br>
> <br>> ;Sangoma A108 port 5 [slot:4 bus:5 span:5] <wanpipe5><br>> switchtype=national<br>> context=from-pstn<br>> group=0<br>> echocancel=no<br>> signalling=ss7<br>> channel =>125-139,141-155<br>
> <br>> ;Sangoma A108 port 6 [slot:4 bus:5 span:6] <wanpipe6><br>> switchtype=national<br>> context=from-pstn<br>> group=0<br>> echocancel=no<br>> signalling=ss7<br>> channel =>156-170,172-186<br>
> <br>> ;Sangoma A108 port 7 [slot:4 bus:5 span:7] <wanpipe7><br>> switchtype=national<br>> context=from-pstn<br>> group=0<br>> echocancel=no<br>> signalling=ss7<br>> channel =>187-201,203-217<br>
> <br>> ;Sangoma A108 port 8 [slot:4 bus:5 span:8] <wanpipe8><br>> switchtype=national<br>> context=from-pstn<br>> group=0<br>> echocancel=no<br>> signalling=ss7<br>> channel =>218-232,234-248<br>
> <br>> ;Sangoma A108 port 1 [slot:4 bus:7 span:9] <wanpipe9><br>> switchtype=national<br>> context=from-pstn<br>> group=0<br>> echocancel=no<br>> signalling=ss7<br>> channel =>249-263,265-279<br>
> <br>> ;Sangoma A108 port 2 [slot:4 bus:7 span:10] <wanpipe10><br>> switchtype=national<br>> context=from-pstn<br>> group=0<br>> echocancel=no<br>> signalling=ss7<br>> channel =>280-294,296-310<br>
> <br>> ;Sangoma A108 port 3 [slot:4 bus:7 span:11] <wanpipe11><br>> switchtype=national<br>> context=from-pstn<br>> group=0<br>> echocancel=no<br>> signalling=ss7<br>> channel =>311-325,327-341<br>
> <br>> ;Sangoma A108 port 4 [slot:4 bus:7 span:12] <wanpipe12><br>> switchtype=national<br>> context=from-pstn<br>> group=0<br>> echocancel=no<br>> signalling=ss7<br>> channel =>342-356,358-372<br>
> <br>> ;Sangoma A108 port 5 [slot:4 bus:7 span:13] <wanpipe13><br>> switchtype=national<br>> context=from-pstn<br>> group=0<br>> echocancel=no<br>> signalling=ss7<br>> channel =>373-387,389-403<br>
> <br>> ;Sangoma A108 port 6 [slot:4 bus:7 span:14] <wanpipe14><br>> switchtype=national<br>> context=from-pstn<br>> group=0<br>> echocancel=no<br>> signalling=ss7<br>> channel =>404-418,420-434<br>
> <br>> ;Sangoma A108 port 7 [slot:4 bus:7 span:15] <wanpipe15><br>> switchtype=national<br>> context=from-pstn<br>> group=0<br>> echocancel=no<br>> signalling=ss7<br>> channel =>435-449,451-465<br>
> <br>> ;Sangoma A108 port 8 [slot:4 bus:7 span:16] <wanpipe16><br>> switchtype=national<br>> context=from-pstn<br>> group=0<br>> echocancel=no<br>> signalling=ss7<br>> channel =>466-480,482-496<br>
> <br>> <br>> debian:/usr/src# cat /etc/wanpipe/wanpipe1.conf<br>> #================================================<br>> # WANPIPE1 Configuration File<br>> #================================================<br>
> #<br>> # Date: Wed Dec 6 20:29:03 UTC 2006<br>> #<br>> # Note: This file was generated automatically<br>> # by /usr/local/sbin/setup-sangoma program.<br>> #<br>> # If you want to edit this file, it is<br>
> # recommended that you use wancfg program<br>> # to do so.<br>> #================================================<br>> # Sangoma Technologies Inc.<br>> #================================================<br>
> <br>> [devices]<br>> wanpipe1 = WAN_AFT_TE1, Comment<br>> <br>> [interfaces]<br>> w1g1 = wanpipe1, , TDM_VOICE, Comment<br>> <br>> [wanpipe1]<br>> CARD_TYPE = AFT<br>> S514CPU = A<br>> CommPort = PRI<br>
> AUTO_PCISLOT = NO<br>> PCISLOT = 4<br>> PCIBUS = 5<br>> FE_MEDIA = E1<br>> FE_LCODE = HDB3<br>> FE_FRAME = CRC4<br>> FE_LINE = 1<br>> TE_CLOCK = NORMAL<br>> TE_REF_CLOCK = 0<br>> TE_SIG_MODE = CCS<br>
> TE_HIGHIMPEDANCE = NO<br>> TE_RX_SLEVEL = 430<br>> LBO = 120OH<br>> FE_TXTRISTATE = NO<br>> MTU = 1500<br>> UDPPORT = 9000<br>> TTL = 255<br>> IGNORE_FRONT_END = NO<br>> TDMV_SPAN = 1<br>
> TDMV_DCHAN = 0<br>> TE_AIS_MAINTENANCE = NO #NO: defualt YES: Start port in AIS Blue<br>> Alarm and keep line down<br>> #wanpipemon -i w1g1 -c Ttx_ais_off to<br>> disable AIS maintenance mode<br>
> #wanpipemon -i w1g1 -c Ttx_ais_on to enable AIS maintenance mode<br>> TDMV_HW_DTMF = NO # YES: receive dtmf events from hardware<br>> TDMV_HW_FAX_DETECT = NO # YES: receive fax 1100hz events from hardware<br>> HWEC_OPERATION_MODE = OCT_NORMAL # OCT_NORMAL: echo cancelation<br>
> enabled with nlp (default)<br>> # OCT_SPEECH: improves software tone detection by disabling NLP (echo<br>> possible)<br>> # OCT_NO_ECHO:disables echo cancelation but allows VQE/tone functions.<br>> HWEC_DTMF_REMOVAL = NO # NO: default YES: remove dtmf out of<br>
> incoming media (must have hwdtmf enabled)<br>> HWEC_NOISE_REDUCTION = NO # NO: default YES: reduces noise on the<br>> line - could break fax<br>> HWEC_ACUSTIC_ECHO = NO # NO: default YES: enables acustic echo<br>
> cancelation<br>> HWEC_NLP_DISABLE = NO # NO: default YES: guarantees software tone<br>> detection (possible echo)<br>> HWEC_TX_AUTO_GAIN = 0 # 0: disable -40-0: default tx audio level<br>
> to be maintained (-20 default)<br>> HWEC_RX_AUTO_GAIN = 0 # 0: disable -40-0: default tx audio level<br>> to be maintained (-20 default)<br>> HWEC_TX_GAIN = 0 # 0: disable -24-24: db values to be applied<br>
> to tx signal<br>> HWEC_RX_GAIN = 0 # 0: disable -24-24: db values to be applied<br>> to tx signal<br>> <br>> [w1g1]<br>> ACTIVE_CH = ALL<br>> TDMV_HWEC = NO<br>> MTU = 8<br></div>