TEI Identity Check Request - no outgoing calls possible

Fellow Asterisk-Friends,

currently I’m implementing a Asterisk Server which is attached over e1 on our company’s phone system. The server should provide SIP phones the possibility to connect with and call internal or out to phones in our telecommunication system.
However I face with the problem, that the external trunk (e1) will not get up, outgoing calls brake up with the message

[Jan 20 14:14:07] VERBOSE[3950][C-00000002] sig_pri.c: -- Requested transfer capability: 0x00 - SPEECH [Jan 20 14:14:07] VERBOSE[3950][C-00000002] app_dial.c: -- Called DAHDI/g1/1354 [Jan 20 14:14:15] VERBOSE[3763][C-00000002] sig_pri.c: -- Span 1: Channel 0/2 got hangup, cause 18 [Jan 20 14:14:15] VERBOSE[3950][C-00000002] chan_dahdi.c: -- Hungup 'DAHDI/i1/1354-3' [Jan 20 14:14:15] VERBOSE[3950][C-00000002] app_dial.c: == Everyone is busy/congested at this time (1:0/0/1)
I tried with number 1354 (my deskphone) and 01354 (0 as prefix) and also the complete number with region information etc.

Configuration
Sangoma A104DE E1 Card
E1 line as External Trunk on our company’s telephone system

Versions:
* Asterisk 11.7 - latest
* Libpri 1.4.14 - latest
* Dahdi 2.8.0.1 - latest
* Sangoma wanpipe drivers 7.0.8

Output of intense PRI debugging on span 1

PRI Span: 1 PRI Span: 1 < TEI: 0 State 7(Multi-frame established) PRI Span: 1 < V(A)=10, V(S)=10, V(R)=0 PRI Span: 1 < K=1, RC=0, l3_initiated=0, reject_except=0, ack_pend=0 PRI Span: 1 < T200_id=0, N200=3, T203_id=8192 PRI Span: 1 < [ fe ff 03 0f 00 00 04 ff ] PRI Span: 1 < Unnumbered frame: PRI Span: 1 < SAPI: 63 C/R: 1 EA: 0 PRI Span: 1 < TEI: 127 EA: 1 PRI Span: 1 < M3: 0 P/F: 0 M2: 0 11: 3 [ UI (unnumbered information) ] PRI Span: 1 < 5 bytes of data PRI Span: 1 < MDL Message: 4(TEI Identity Check Request) PRI Span: 1 < Ri: 0 PRI Span: 1 < Ai: 127 E:1 PRI Span: 1 Not configured for PTMP. Ignoring MDL message: 4(TEI Identity Check Request) PRI Span: 1 PRI Span: 1 < TEI: 0 State 7(Multi-frame established) PRI Span: 1 < V(A)=10, V(S)=10, V(R)=0 PRI Span: 1 < K=1, RC=0, l3_initiated=0, reject_except=0, ack_pend=0 PRI Span: 1 < T200_id=0, N200=3, T203_id=8192 PRI Span: 1 < [ fe ff 03 0f 00 00 04 ff ] PRI Span: 1 < Unnumbered frame: PRI Span: 1 < SAPI: 63 C/R: 1 EA: 0 PRI Span: 1 < TEI: 127 EA: 1 PRI Span: 1 < M3: 0 P/F: 0 M2: 0 11: 3 [ UI (unnumbered information) ] PRI Span: 1 < 5 bytes of data PRI Span: 1 < MDL Message: 4(TEI Identity Check Request) PRI Span: 1 < Ri: 0 PRI Span: 1 < Ai: 127 E:1 PRI Span: 1 Not configured for PTMP. Ignoring MDL message: 4(TEI Identity Check Request) PRI Span: 1 PRI Span: 1 < TEI: 0 State 7(Multi-frame established) PRI Span: 1 < V(A)=10, V(S)=10, V(R)=0 PRI Span: 1 < K=1, RC=0, l3_initiated=0, reject_except=0, ack_pend=0 PRI Span: 1 < T200_id=0, N200=3, T203_id=8192 PRI Span: 1 < [ fe ff 03 0f 00 00 04 ff ] PRI Span: 1 < Unnumbered frame: PRI Span: 1 < SAPI: 63 C/R: 1 EA: 0 PRI Span: 1 < TEI: 127 EA: 1 PRI Span: 1 < M3: 0 P/F: 0 M2: 0 11: 3 [ UI (unnumbered information) ] PRI Span: 1 < 5 bytes of data PRI Span: 1 < MDL Message: 4(TEI Identity Check Request) PRI Span: 1 < Ri: 0 PRI Span: 1 < Ai: 127 E:1 PRI Span: 1 Not configured for PTMP. Ignoring MDL message: 4(TEI Identity Check Request)

cat /etc/dahdi/system.conf

[code]# Span 1: WPE1/0 “wanpipe1 card 0” (MASTER) HDB3/CCS/CRC4
span=1,1,0,ccs,hdb3,crc4

termtype: te

bchan=1-15,17-31
dchan=16
#echocanceller=oslec,1-15,17-31
#hardhdlc=16
echocanceller=mg2,1-15,17-31
[/code]

cat /etc/asterisk/dahdi-channels.conf

; Span 1: WPE1/0 "wanpipe1 card 0" (MASTER) HDB3/CCS/CRC4 group=1 context=from-pstn switchtype = qsig ;signalling = pri_cpe_ptmp signalling = bri_cpe channel => 1-15,17-31 context = default group = 63

cat /etc/wanpipe/wanpipe1.conf[code]
[devices]
wanpipe1 = WAN_AFT_TE1, Comment

[interfaces]
w1g1 = wanpipe1, , TDM_VOICE, Comment

[wanpipe1]
CARD_TYPE = AFT
#S514CPU = A
CommPort = PRI
AUTO_PCISLOT = NO
PCISLOT = 4
PCIBUS = 2
FE_MEDIA = E1
FE_LCODE = HDB3
FE_FRAME = CRC4
FE_LINE = 1
TE_CLOCK = NORMAL
TE_REF_CLOCK = 0

TE_HIGHIMPEDANCE = NO
TE_SIG_MODE = CCS
TE_RX_SLEVEL = 430
HW_RJ45_PORT_MAP = DEFAULT
LBO = 120OH
FE_TXTRISTATE = NO
MTU = 1500
UDPPORT = 9000
TTL = 255
IGNORE_FRONT_END = NO
TDMV_SPAN = 1
TDMV_DCHAN = 0
TE_AIS_MAINTENANCE = NO #NO: defualt YES: Start port in AIS Blue Alarm and keep line down
#wanpipemon -i w1g1 -c Ttx_ais_off to disable AIS maintenance mode
#wanpipemon -i w1g1 -c Ttx_ais_on to enable AIS maintenance mode
TDMV_HW_DTMF = YES # YES: receive dtmf events from hardware
TDMV_HW_FAX_DETECT = NO # YES: receive fax 1100hz events from hardware
HWEC_OPERATION_MODE = OCT_NORMAL # OCT_NORMAL: echo cancelation enabled with nlp (default)
# OCT_SPEECH: improves software tone detection by disabling NLP (echo possible)
# OCT_NO_ECHO:disables echo cancelation but allows VQE/tone functions.
HWEC_DTMF_REMOVAL = NO # NO: default YES: remove dtmf out of incoming media (must have hwdtmf enabled)
HWEC_NOISE_REDUCTION = NO # NO: default YES: reduces noise on the line - could break fax
HWEC_ACUSTIC_ECHO = NO # NO: default YES: enables acustic echo cancelation
HWEC_NLP_DISABLE = NO # NO: default YES: guarantees software tone detection (possible echo)
HWEC_TX_AUTO_GAIN = 0 # 0: disable -40-0: default tx audio level to be maintained (-20 default)
HWEC_RX_AUTO_GAIN = 0 # 0: disable -40-0: default tx audio level to be maintained (-20 default)
HWEC_TX_GAIN = 0 # 0: disable -24-24: db values to be applied to tx signal
HWEC_RX_GAIN = 0 # 0: disable -24-24: db values to be applied to tx signal

[w1g1]
ACTIVE_CH = ALL
TDMV_HWEC = YES
MTU = 8
[/code]

I don’t know much about asterisk and E1 :blush: and it would be great if someone could help me?
Do you need further informations on my implementation?

Thank you in advance! :smiley: :smile:

dahdi show channel 1

Channel: 1 Description: File Descriptor: 16 Span: 1 Extension: Dialing: no Context: from-pstn Caller ID: Calling TON: 0 Caller ID subaddress: Caller ID name: Mailbox: none Destroy: 0 InAlarm: 0 Signalling Type: ISDN BRI Point to Point Radio: 0 Owner: <None> Real: <None> Callwait: <None> Threeway: <None> Confno: -1 Propagated Conference: -1 Real in conference: 0 DSP: no Busy Detection: no TDD: no Relax DTMF: yes Dialing/CallwaitCAS: 0/0 Default law: alaw Fax Handled: no Pulse phone: no Gains (RX/TX): 0.00/0.00 Dynamic Range Compression (RX/TX): 0.00/0.00 DND: no Echo Cancellation: 128 taps (unless TDM bridged) currently OFF Wait for dialtone: 0ms PRI Flags: PRI Logical Span: Implicit Hookstate (FXS only): Onhook