Link stability issue when 2 Sangoma cards in same box

The server has total 14 E1’s configured. All the CIC’s and Signaling Links are up in both cards. Calls are delivering if the box is connected with single card but links getting down as soon as call placed in card 2.

Both cards are tested in separate servers and calls are delivering. The problem occurs only when it connecting to a single box.

Configuration details:

Card Type : AFT A108 8 port
Signalling Type : ss7
Signaling Link : 16th time slot in port 1 card 1 and port 1 card 2
Asterisk Version : 1.6.2
Libss7 version : 1.0.2
port 1 clock : NORMAL ( tried MASTER,
port 9 clock : NORMAL

Linkset status on Asterisk startup ( card 1, card 2 active)

port 10 and 14 are not used but cic’s are assigned for future use.

  • Show quoted text -
    Wanrouter Status:

Device name | Protocol | Station | Status |
wanpipe10 | AFT TE1 | N/A | Disconnected |
wanpipe11 | AFT TE1 | N/A | Connected |
wanpipe12 | AFT TE1 | N/A | Connected |
wanpipe13 | AFT TE1 | N/A | Connected |
wanpipe14 | AFT TE1 | N/A | Disconnected |
wanpipe15 | AFT TE1 | N/A | Connected |
wanpipe16 | AFT TE1 | N/A | Connected |
wanpipe1 | AFT TE1 | N/A | Connected |
wanpipe2 | AFT TE1 | N/A | Connected |
wanpipe3 | AFT TE1 | N/A | Connected |
wanpipe4 | AFT TE1 | N/A | Connected |
wanpipe5 | AFT TE1 | N/A | Connected |
wanpipe6 | AFT TE1 | N/A | Connected |
wanpipe7 | AFT TE1 | N/A | Connected |
wanpipe8 | AFT TE1 | N/A | Connected |
wanpipe9 | AFT TE1 | N/A | Connected |

Link and cic status

  • SS7 Up —
    Resetting CICs 1 to 15
    Resetting CICs 17 to 31
    Resetting CICs 33 to 63
    Resetting CICs 65 to 95
    Resetting CICs 97 to 127
    Resetting CICs 129 to 159
    Resetting CICs 161 to 191
    Resetting CICs 193 to 223
    Resetting CICs 225 to 255
    Resetting CICs 257 to 271
    Resetting CICs 273 to 287
    Resetting CICs 289 to 319
    Resetting CICs 321 to 351
    Resetting CICs 353 to 383
    Resetting CICs 385 to 415
    Resetting CICs 417 to 447
    Resetting CICs 449 to 479
    Resetting CICs 481 to 511
    Got reset acknowledgement from CIC 161 to 191.
    Got reset acknowledgement from CIC 385 to 415.
    Got reset acknowledgement from CIC 65 to 95.
    Got reset acknowledgement from CIC 1 to 15.
    Got reset acknowledgement from CIC 33 to 63.
    Got reset acknowledgement from CIC 193 to 223.
    Got reset acknowledgement from CIC 97 to 127.
    Got reset acknowledgement from CIC 129 to 159.
    Got reset acknowledgement from CIC 225 to 255.
    Got reset acknowledgement from CIC 17 to 31.
    Got reset acknowledgement from CIC 257 to 271.
    Got reset acknowledgement from CIC 321 to 351.
    Got reset acknowledgement from CIC 449 to 479.
    Got reset acknowledgement from CIC 481 to 511.
    Got reset acknowledgement from CIC 353 to 383.
    obd-test*CLI> ss7 show linkset 1
    SS7 linkset 1 status: Up

Logs when call placed to cic 258 (1st E1, card 2)

Attempting call on dahdi/258/7869389649 for s@dialout:1 (Retry 1)
[Jun 14 03:11:40] NOTICE[14465]: channel.c:4051 __ast_request_and_dial: Unable to request channel dahdi/258/7869389649
[Jun 14 03:11:40] NOTICE[14465]: pbx_spool.c:339 attempt_thread: Call failed to go through, reason (0) Call Failure (not BUSY, and not NO_ANSWER, maybe Circuit busy or down?)
[Jun 14 03:11:40] ERROR[14361]: pbx.c:9302 device_state_cb: Received invalid event that had no device IE

Tried these params as guided by Sangoma chat support, (wanpipe1.conf)

TE_CLOCK = MASTER
TE_REF_CLOCK = 1

TE_CLOCK = MASTER
TE_REF_CLOCK = 0

Please advice us how to fix this issue. Do we need to use any timing cable to sync the card clocking or is the card has inbuilt ident wheel to control the order of cards?

[Jun 14 03:11:40] ERROR[14361]: pbx.c:9302 device_state_cb: Received invalid event that had no device IE - is it coz of any IRQ’s