Hi !<br><br>We are not receiving incoming call on our chan_ss7 sangoma asterisk wanpipe set-up. Outgoing calls are going fine and link is up. <br><br>I have attached a pcap dump which in wireshark shows that <br><br>9 145.570000 12650 13323 ISUP(ITU) IAM (CIC 63)<br>
10 145.572001 13323 12650 ISUP(ITU) REL (CIC 63) <br>11 145.602000 12650 13323 ISUP(ITU) RLC (CIC 63) <br><br>So, the telco is sending me an IAM but I send them a REL instead of sending an ACM. <br>
Is this behaviour correct ?<br><br>When I receive an incoming call, then the asterisk CLI does show that I am getting an IAM but then nothing happens after that. <br><br>debian*CLI> ss7 link status <br>
linkset set1, link l1/16 NOT_ALIGNED, sls 0, total: 0, 32<br>
linkset set1, link l2/16 INSERVICE, sls 1, total: 1240754336, 1240753744<br>
<br>
I have two ss7 links, one of which is down. But that is not a problem
because I am able to make outgoing calls with the second link that is
up. <br>
<br>
debian*CLI> dialplan show ss7 <br>
[ Context 'ss7' created by 'pbx_config' ]<br>
's' => 1. Goto(dtmf,s,1) [pbx_config]<br>
<br>
-= 1 extension (1 priority) in 1 context. =-<br>
<br><br>The incoming calls are told by ss7.conf to go to context ss7 in dialplan, and that context does exist. <br><br>Please help me. <br><br>Thanks !<br>Anita. <br><br>Here is my config. <br><br><br><br># dahdi_hardware <br>
pci:0000:05:04.0 wanpipe- 1923:0100 Sangoma Technologies Corp. A104d QUAD T1/E1 AFT card<br>pci:0000:07:04.0 wanpipe- 1923:0100 Sangoma Technologies Corp. A104d QUAD T1/E1 AFT card<br><br># dahdi_test <br>
Opened pseudo dahdi interface, measuring accuracy...<br>99.999% 99.996% 99.986% 99.990% <br>--- Results after 4 passes ---<br>Best: 99.999 -- Worst: 99.986 -- Average: 99.992722, Difference: 99.997705<br><br># cat /etc/dahdi/system.conf<br>
#autogenerated by /usr/sbin/wancfg_dahdi do not hand edit<br>#autogenrated on 2011-01-04<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<br>bchan=1-31<br>#echocanceller=mg2,1-15,17-31<br><br>#Sangoma A108 port 2 [slot:4 bus:5 span:2] <wanpipe2><br>span=2,2,0,ccs,hdb3<br>
bchan=32-62<br>#echocanceller=mg2,32-46,48-62<br><br>#Sangoma A108 port 3 [slot:4 bus:5 span:3] <wanpipe3><br>span=3,3,0,ccs,hdb3<br>bchan=63-93<br>#echocanceller=mg2,63-77,79-93<br>#hardhdlc=78<br><br>#Sangoma A108 port 4 [slot:4 bus:5 span:4] <wanpipe4><br>
span=4,4,0,ccs,hdb3<br>bchan=94-124<br>#echocanceller=mg2,94-108,110-124<br>#hardhdlc=109<br><br>#Sangoma A108 port 5 [slot:4 bus:5 span:5] <wanpipe5><br>span=5,5,0,ccs,hdb3<br>bchan=125-155<br>#echocanceller=mg2,125-139,141-155<br>
#hardhdlc=140<br><br>#Sangoma A108 port 6 [slot:4 bus:5 span:6] <wanpipe6><br>span=6,6,0,ccs,hdb3<br>bchan=156-186<br>#echocanceller=mg2,156-170,172-186<br>#hardhdlc=171<br><br>#Sangoma A108 port 7 [slot:4 bus:5 span:7] <wanpipe7><br>
span=7,7,0,ccs,hdb3<br>bchan=187-217<br>#echocanceller=mg2,187-201,203-217<br>#hardhdlc=202<br><br>#Sangoma A108 port 8 [slot:4 bus:5 span:8] <wanpipe8><br>span=8,8,0,ccs,hdb3<br>bchan=218-248<br>#echocanceller=mg2,218-232,234-248<br>
#hardhdlc=233<br><br>#Sangoma A108 port 1 [slot:4 bus:7 span:9] <wanpipe9><br>span=9,9,0,ccs,hdb3<br>bchan=249-279<br>#echocanceller=mg2,249-263,265-279<br>#hardhdlc=264<br><br>#Sangoma A108 port 2 [slot:4 bus:7 span:10] <wanpipe10><br>
span=10,10,0,ccs,hdb3<br>bchan=280-310<br>#echocanceller=mg2,280-294,296-310<br>#hardhdlc=295<br><br>#Sangoma A108 port 3 [slot:4 bus:7 span:11] <wanpipe11><br>span=11,11,0,ccs,hdb3<br>bchan=311-341<br>#echocanceller=mg2,311-325,327-341<br>
#hardhdlc=326<br><br>#Sangoma A108 port 4 [slot:4 bus:7 span:12] <wanpipe12><br>span=12,12,0,ccs,hdb3<br>bchan=342-372<br>#echocanceller=mg2,342-356,358-372<br>#hardhdlc=357<br><br>#Sangoma A108 port 5 [slot:4 bus:7 span:13] <wanpipe13><br>
span=13,13,0,ccs,hdb3<br>bchan=373-403<br>#echocanceller=mg2,373-387,389-403<br>#hardhdlc=388<br><br>#Sangoma A108 port 6 [slot:4 bus:7 span:14] <wanpipe14><br>span=14,14,0,ccs,hdb3<br>bchan=404-434<br>#echocanceller=mg2,404-418,420-434<br>
#hardhdlc=419<br><br>#Sangoma A108 port 7 [slot:4 bus:7 span:15] <wanpipe15><br>span=15,15,0,ccs,hdb3<br>bchan=435-465<br>#echocanceller=mg2,435-449,451-465<br>#hardhdlc=450<br><br>#Sangoma A108 port 8 [slot:4 bus:7 span:16] <wanpipe16><br>
span=16,16,0,ccs,hdb3<br>bchan=466-496<br>#echocanceller=mg2,466-480,482-496<br>#hardhdlc=481<br><br># 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 = NCRC4<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 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># cat /etc/asterisk/ss7.conf <br>[linkset-set1]<br>enabled => yes<br>enable_st => no<br>use_connect => yes<br>hunting_policy => even_mru<br>context => ss7<br>language => da<br>
t35 => 15000,timeout<br>subservice => auto<br><br><br>; To use the remote mtp3 service, use 'schannel => remote,16'<br>[link-l1]<br>linkset => set1 <br>channels => 1-15,17-31<br>schannel => 16<br>
firstcic => 1 <br>enabled => yes<br>sltm => no ;NSN switch does not send SLTA<br>;sls => 1 ;signaling link selection<br><br>[link-l2]<br>linkset => set1<br>channels => 1-15,17-31<br>schannel => 16 <br>
firstcic => 33<br>enabled => yes<br>sltm => no ;NSN switch does not send SLTA<br>;sls => 1 ;signaling link selection<br><br>[link-l3]<br>linkset => set1<br>channels => 1-31<br>schannel =><br>
firstcic => 65<br>enabled => yes<br>sltm => no<br><br>[link-l4]<br>linkset => set1<br>channels => 1-31<br>schannel =><br>firstcic => 97<br>enabled => yes<br>sltm => no<br><br>[link-l5]<br>linkset => set1<br>
channels => 1-31<br>schannel =><br>firstcic => 129<br>enabled => yes<br>sltm => no<br><br>[link-l6]<br>linkset => set1<br>channels => 1-31<br>schannel =><br>firstcic => 161<br>enabled => yes<br>
sltm => no<br><br>[link-l7]<br>linkset => set1<br>channels => 1-31<br>schannel =><br>firstcic => 193<br>enabled => yes<br>sltm => no<br><br>[link-l8]<br>linkset => set1<br>channels => 1-31<br>schannel =><br>
firstcic => 225<br>enabled => yes<br>sltm => no<br><br>[link-l9]<br>linkset => set1<br>channels => 1-31<br>schannel =><br>firstcic => 257<br>enabled => yes<br>sltm => no<br><br>[link-l10]<br>linkset => set1<br>
channels => 1-31<br>schannel =><br>firstcic => 289<br>enabled => yes<br>sltm => no<br><br>[link-l11]<br>linkset => set1<br>channels => 1-31<br>schannel =><br>firstcic => 321<br>enabled => yes<br>
sltm => no<br><br>[link-l12]<br>linkset => set1<br>channels => 1-31<br>schannel =><br>firstcic => 353<br>enabled => yes<br>sltm => no<br><br>[link-l13]<br>linkset => set1<br>channels => 1-31<br>
schannel =><br>firstcic => 385<br>enabled => yes<br>sltm => no<br><br>[link-l14]<br>linkset => set1<br>channels => 1-31<br>schannel =><br>firstcic => 417<br>enabled => yes<br>sltm => no<br><br>
[link-l15]<br>linkset => set1<br>channels => 1-31<br>schannel =><br>firstcic => 449<br>enabled => yes<br>sltm => no<br><br>[link-l16]<br>linkset => set1<br>channels => 1-31<br>schannel =><br>firstcic => 481<br>
enabled => yes<br>sltm => no<br><br><br>[host-debian]<br>; chan_ss7 auto-configures by matching the machines host name with the host-<name><br>; section in the configuration file, in this case 'gentoo1'. The same<br>
; configuration file can thus be used on several hosts. <br>enabled => yes<br>opc => 13323<br>dpc => set1:12650<br><br># wanrouter status<br><br>Devices currently active:<br> wanpipe1 wanpipe10 wanpipe11 wanpipe12 wanpipe13 wanpipe14 wanpipe15 wanpipe16 wanpipe2 wanpipe3 wanpipe4 wanpipe5 wanpipe6 wanpipe7 wanpipe8 wanpipe9<br>
<br><br>Wanpipe Config:<br><br>Device name | Protocol Map | Adapter | IRQ | Slot/IO | If's | CLK | Baud rate |<br>wanpipe10 | N/A | A101/1D/A102/2D/4/4D/8| 17 | 4 | 1 | N/A | 0 |<br>wanpipe11 | N/A | A101/1D/A102/2D/4/4D/8| 17 | 4 | 1 | N/A | 0 |<br>
wanpipe12 | N/A | A101/1D/A102/2D/4/4D/8| 17 | 4 | 1 | N/A | 0 |<br>wanpipe13 | N/A | A101/1D/A102/2D/4/4D/8| 17 | 4 | 1 | N/A | 0 |<br>wanpipe14 | N/A | A101/1D/A102/2D/4/4D/8| 17 | 4 | 1 | N/A | 0 |<br>
wanpipe15 | N/A | A101/1D/A102/2D/4/4D/8| 17 | 4 | 1 | N/A | 0 |<br>wanpipe16 | N/A | A101/1D/A102/2D/4/4D/8| 17 | 4 | 1 | N/A | 0 |<br>wanpipe1 | N/A | A101/1D/A102/2D/4/4D/8| 16 | 4 | 1 | N/A | 0 |<br>
wanpipe2 | N/A | A101/1D/A102/2D/4/4D/8| 16 | 4 | 1 | N/A | 0 |<br>wanpipe3 | N/A | A101/1D/A102/2D/4/4D/8| 16 | 4 | 1 | N/A | 0 |<br>wanpipe4 | N/A | A101/1D/A102/2D/4/4D/8| 16 | 4 | 1 | N/A | 0 |<br>
wanpipe5 | N/A | A101/1D/A102/2D/4/4D/8| 16 | 4 | 1 | N/A | 0 |<br>wanpipe6 | N/A | A101/1D/A102/2D/4/4D/8| 16 | 4 | 1 | N/A | 0 |<br>wanpipe7 | N/A | A101/1D/A102/2D/4/4D/8| 16 | 4 | 1 | N/A | 0 |<br>
wanpipe8 | N/A | A101/1D/A102/2D/4/4D/8| 16 | 4 | 1 | N/A | 0 |<br>wanpipe9 | N/A | A101/1D/A102/2D/4/4D/8| 17 | 4 | 1 | N/A | 0 |<br><br>Wanrouter Status:<br><br>
Device name | Protocol | Station | Status |<br>wanpipe10 | AFT TE1 | N/A | Connected |<br>wanpipe11 | AFT TE1 | N/A | Connected |<br>wanpipe12 | AFT TE1 | N/A | Connected |<br>wanpipe13 | AFT TE1 | N/A | Connected |<br>
wanpipe14 | AFT TE1 | N/A | Connected |<br>wanpipe15 | AFT TE1 | N/A | Connected |<br>wanpipe16 | AFT TE1 | N/A | Connected |<br>wanpipe1 | AFT TE1 | N/A | Connected |<br>wanpipe2 | AFT TE1 | N/A | Disconnected |<br>
wanpipe3 | AFT TE1 | N/A | Connected |<br>wanpipe4 | AFT TE1 | N/A | Connected |<br>wanpipe5 | AFT TE1 | N/A | Connected |<br>wanpipe6 | AFT TE1 | N/A | Connected |<br>wanpipe7 | AFT TE1 | N/A | Connected |<br>
wanpipe8 | AFT TE1 | N/A | Connected |<br>wanpipe9 | AFT TE1 | N/A | Connected |<br><br><br><br><br><br> <br><br>