Hi Torrey,<br><br>I've the SGW box configured as normal and the Asterisk box configured as the master clock source.<br><br>SGW wanpipe1.conf:<br><blockquote style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex" class="gmail_quote">
<div>#================================================<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>HW_RJ45_PORT_MAP = DEFAULT<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 Alarm and keep line down<br> #wanpipemon -i w1g1 -c Ttx_ais_off to 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 enabled with nlp (default) <br> # OCT_SPEECH: improves software tone detection by disabling NLP (echo 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 incoming media (must have hwdtmf enabled)<br>
HWEC_NOISE_REDUCTION = NO # NO: default YES: reduces noise on the line - could break fax<br>HWEC_ACUSTIC_ECHO = NO # NO: default YES: enables acustic echo cancelation<br>HWEC_NLP_DISABLE = NO # NO: default YES: guarantees software tone detection (possible echo) <br>
HWEC_TX_AUTO_GAIN = 0 # 0: disable -40-0: default tx audio level to be maintained (-20 default)<br>HWEC_RX_AUTO_GAIN = 0 # 0: disable -40-0: default tx audio level to be maintained (-20 default) <br>
HWEC_TX_GAIN = 0 # 0: disable -24-24: db values to be applied to tx signal<br>HWEC_RX_GAIN = 0 # 0: disable -24-24: db values to be applied to tx signal<br><br>[w1g1]<br>ACTIVE_CH = ALL<br>
TDMV_HWEC = YES<br>MTU = 8<br> </div></blockquote><div><br>Asterisk wanpipe1.conf <br><blockquote style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex" class="gmail_quote">#================================================<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 = 2<br>FE_MEDIA = E1<br>FE_LCODE = HDB3<br>FE_FRAME = CRC4<br>FE_LINE = 1<br>TE_CLOCK = MASTER<br>TE_REF_CLOCK = 0<br>TE_SIG_MODE = CCS<br>TE_HIGHIMPEDANCE = NO<br>TE_RX_SLEVEL = 430<br>
HW_RJ45_PORT_MAP = DEFAULT<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 Alarm and keep line down<br> #wanpipemon -i w1g1 -c Ttx_ais_off to 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 enabled with nlp (default) <br>
# OCT_SPEECH: improves software tone detection by disabling NLP (echo 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 incoming media (must have hwdtmf enabled)<br>HWEC_NOISE_REDUCTION = NO # NO: default YES: reduces noise on the line - could break fax<br>HWEC_ACUSTIC_ECHO = NO # NO: default YES: enables acustic echo cancelation<br>
HWEC_NLP_DISABLE = NO # NO: default YES: guarantees software tone detection (possible echo) <br>HWEC_TX_AUTO_GAIN = 0 # 0: disable -40-0: default tx audio level to be maintained (-20 default)<br>HWEC_RX_AUTO_GAIN = 0 # 0: disable -40-0: default tx audio level to be maintained (-20 default) <br>
HWEC_TX_GAIN = 0 # 0: disable -24-24: db values to be applied to tx signal<br>HWEC_RX_GAIN = 0 # 0: disable -24-24: db values to be applied to tx signal<br><br>[w1g1]<br>ACTIVE_CH = ALL<br>
TDMV_HWEC = NO<br>MTU = 8<br><br></blockquote></div><br><div class="gmail_quote">On Mon, Oct 1, 2012 at 10:44 AM, Torrey Searle <span dir="ltr"><<a href="mailto:tsearle@gmail.com" target="_blank">tsearle@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">With wanpipe cards, I believe you need to also configure the timing<br>
information into the wanpipe config files too.<br>
(/etc/wanpipe/wanpipe*.conf)<br>
<br>
Torrey<br>
<div><div class="h5"><br>
On 1 October 2012 09:11, Victor Neiman <<a href="mailto:victor@blacksheepdev.co.za">victor@blacksheepdev.co.za</a>> wrote:<br>
> Hi,<br>
><br>
> I'm trying to get SS7 communication between Asterisk 1.8.16.0 which has<br>
> libss7 installed and the Mobicents Signalling Gateway , using Sangoma A101<br>
> hardware in two boxes. Both boxes are using wanrouter and dahdi. One box is<br>
> running Asterisk, the other Mobicents. I have been corresponding closely<br>
> with people at Mobicents to get the configuration right for their software<br>
> and am fairly sure it is correct. The problem is that when I start up the<br>
> Mobicents Signalling Gateway, Asterisk on the other side immediately fills<br>
> up with these errors:<br>
><br>
>> [Oct 1 10:55:46] NOTICE[19825]: chan_dahdi.c:3437<br>
>> my_handle_link_exception: SS7 got event: HDLC Abort(6) on span 1/0<br>
><br>
><br>
><br>
> The box that is running the SGW has the following /etc/dahdi/system.conf:<br>
><br>
>> #autogenerated by /usr/sbin/wancfg_dahdi do not hand edit<br>
>> #autogenrated on 2012-09-28<br>
>> #Dahdi Channels Configurations<br>
>> #For detailed Dahdi options, view /etc/dahdi/system.conf.bak<br>
>> loadzone=us<br>
>> defaultzone=us<br>
>><br>
>> #Sangoma A101 port 1 [slot:4 bus:5 span:1] <wanpipe1><br>
>> span=1,1,0,ccs,hdb3,crc4<br>
>> bchan=1-31<br>
><br>
><br>
> This config comes straight from the guys at Mobicents. All channels are<br>
> bchan.<br>
><br>
> The Asterisk side looks like this, /etc/dahdi/sysem.conf<br>
><br>
>> #autogenerated by /usr/sbin/wancfg_dahdi do not hand edit<br>
>> #autogenrated on 2012-09-28<br>
>> #Dahdi Channels Configurations<br>
>> #For detailed Dahdi options, view /etc/dahdi/system.conf.bak<br>
>> loadzone=us<br>
>> defaultzone=us<br>
>><br>
>> #Sangoma A101 port 1 [slot:4 bus:2 span:1] <wanpipe1><br>
>> span=1,0,0,ccs,hdb3,crc4<br>
>> bchan=2-31<br>
>> mtp2=1<br>
><br>
><br>
> /etc/asterisk/chan_dahdi,conf looks like this:<br>
><br>
>> ;autogenerated by /usr/sbin/wancfg_dahdi do not hand edit<br>
>> ;autogenrated on 2012-09-28<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=yes<br>
>> echocancelwhenbridged=yes<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 A102 port 1 [slot:2 bus:6 span:1] <wanpipe1><br>
>> context=from-pstn<br>
>> group=0<br>
>> echocancel=no<br>
>> signaling=ss7 ;this is ss7 signaling<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 calls<br>
>> ss7_unknownprefix= ;unknown prefix value for incoming calls<br>
>> ss7_explictacm=yes ;ACM is send as soon as call enters the dial plan...may<br>
>> not accepted yet though<br>
>> linkset=1 ;arbitrary name for this set of channels<br>
>> pointcode=1 ;the point code for this system...aka SPC<br>
>> adjpointcode=2 ;the point code for the system that we are signaling to...<br>
>> aka APC<br>
>> defaultdpc=2 ;the point code for the system that the CICs will be<br>
>> negotiated with...aka DPC<br>
>> networkindicator=international ;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>
><br>
> Any help would be appreciated. Feels like I'm missing something in the<br>
> configs but I just can't seem to pin it down.<br>
><br>
> Regards<br>
> Victor<br>
><br>
><br>
><br>
</div></div>> --<br>
> _____________________________________________________________________<br>
> -- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com" target="_blank">http://www.api-digital.com</a> --<br>
><br>
> asterisk-ss7 mailing list<br>
> To UNSUBSCRIBE or update options visit:<br>
> <a href="http://lists.digium.com/mailman/listinfo/asterisk-ss7" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-ss7</a><br>
<br>
--<br>
_____________________________________________________________________<br>
-- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com" target="_blank">http://www.api-digital.com</a> --<br>
<br>
asterisk-ss7 mailing list<br>
To UNSUBSCRIBE or update options visit:<br>
<a href="http://lists.digium.com/mailman/listinfo/asterisk-ss7" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-ss7</a><br>
</blockquote></div><br>