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