PRI Error On Span 1: Received MDL/TEI Management Message, But Configured For Mode Other Than PTMP
Home » Asterisk Users » PRI Error On Span 1: Received MDL/TEI Management Message, But Configured For Mode Other Than PTMP
We are seeing the message ” PRI Error on span 1: Received MDL/TEI management message, but configured for mode other than PTMP” on one of our Asterisk boxes on a PRI. A Google search turns up a number of hits for this error, but they are all for BRI not PRI.
I’m reasonably sure there are no recent updates or config changes.
Running Asterisk 1.4.37. We can update to 1.4.44 if it will help. At this time we cannot upgrade to anything later.
Does anyone know how I might troubleshoot this?
Recommended
Recent Questions
- Asterisk Release 21.1.0
- Asterisk Release 20.6.0
- Asterisk Release 18.21.0
- Mailing List Shutdown Reminder
- Aeap Wss Connection
- SIP_HEADER GET_TRANSFERRER_DATA Chan_pjsip
- Chan_iax2.c:4739 __auto_congest: Auto-congesting Call Due To Slow Response
- Asterisk Release 21.0.2
- Asterisk Release 20.5.2
- Asterisk Release 18.20.2
Frequent Terms
AMI
Anyone
app
application
asterisk
Asterisk Development Team
call
caller
callerid
chan
cli
com
connection
Dahdi
default
Digium
dtmf
error
exten
extension
file
google
hangup
IAX
incoming calls
linkedin
linux
message
module
pbx
phone
port
PRI
PSTN
queue
realtime
sip
sip phone
source
support
system
thanks in advance
time
trunk
www api
Categories
- Advanced Dialplan
- Asterisk Announces
- Asterisk System Management
- Asterisk Tips
- Asterisk Tutorial
- Asterisk Users
- Book Reviews
- Dialplan Basics
- General
- Initial Configuration of Asterisk
- Installing Asterisk
- IT Jobs
- Java News
- Off Topic News
- Preparing a System for Asterisk
- programming
- Technical News
- Uncategorized
- VoIP News
FAQs Archive
- January 2024 (7)
- December 2023 (12)
- November 2023 (6)
- October 2023 (5)
- September 2023 (7)
- August 2023 (13)
- July 2023 (23)
- June 2023 (17)
- May 2023 (18)
- April 2023 (15)
- March 2023 (5)
- February 2023 (8)
- January 2023 (10)
- December 2022 (9)
- November 2022 (13)
- October 2022 (14)
- September 2022 (10)
- August 2022 (15)
- July 2022 (14)
- June 2022 (7)
- May 2022 (17)
- April 2022 (9)
- March 2022 (14)
- February 2022 (14)
- January 2022 (10)
- December 2021 (15)
- November 2021 (23)
- October 2021 (18)
- September 2021 (12)
- August 2021 (13)
- July 2021 (11)
- June 2021 (13)
- May 2021 (16)
- April 2021 (8)
- March 2021 (11)
- February 2021 (11)
- January 2021 (26)
- December 2020 (36)
- November 2020 (14)
- October 2020 (25)
- September 2020 (21)
- August 2020 (10)
- July 2020 (20)
- June 2020 (37)
- May 2020 (30)
- April 2020 (22)
- March 2020 (22)
- February 2020 (26)
- January 2020 (24)
- December 2019 (26)
- November 2019 (38)
- October 2019 (32)
- September 2019 (23)
- August 2019 (15)
- July 2019 (32)
- June 2019 (20)
- May 2019 (19)
- April 2019 (22)
- March 2019 (31)
- February 2019 (35)
- January 2019 (49)
- December 2018 (35)
- November 2018 (21)
- October 2018 (36)
- September 2018 (18)
- August 2018 (26)
- July 2018 (34)
- June 2018 (34)
- May 2018 (29)
- April 2018 (24)
- March 2018 (31)
- February 2018 (46)
- January 2018 (31)
- December 2017 (39)
- November 2017 (38)
- October 2017 (29)
- September 2017 (28)
- August 2017 (25)
- July 2017 (30)
- June 2017 (43)
- May 2017 (37)
- April 2017 (49)
- March 2017 (36)
- February 2017 (37)
- January 2017 (32)
- December 2016 (45)
- November 2016 (68)
- October 2016 (67)
- September 2016 (65)
- August 2016 (54)
- July 2016 (44)
- June 2016 (59)
- May 2016 (71)
- April 2016 (55)
- March 2016 (77)
- February 2016 (83)
- January 2016 (55)
- December 2015 (44)
- November 2015 (37)
- October 2015 (65)
- September 2015 (68)
- August 2015 (54)
- July 2015 (68)
- June 2015 (78)
- May 2015 (69)
- April 2015 (83)
- March 2015 (113)
- February 2015 (55)
- January 2015 (70)
- December 2014 (68)
- November 2014 (61)
- October 2014 (85)
- September 2014 (72)
- April 2014 (45)
- March 2014 (95)
- February 2014 (72)
- January 2014 (101)
- December 2013 (3)
- November 2013 (1)
- May 2013 (3)
- March 2013 (2)
- February 2013 (1)
- December 2012 (9)
- November 2012 (1)
- October 2012 (2)
- September 2012 (1)
- August 2012 (2)
- July 2012 (3)
- June 2012 (2)
- April 2012 (7)
- March 2012 (5)
- February 2012 (9)
- January 2012 (6)
- December 2011 (11)
- November 2011 (5)
- October 2011 (18)
- September 2011 (12)
- August 2011 (4)
- July 2011 (18)
- June 2011 (5)
- May 2011 (1)
- March 2011 (1)
- February 2011 (2)
- January 2011 (1)
- December 2010 (3)
- November 2010 (3)
- October 2010 (2)
- September 2010 (2)
- August 2010 (1)
Recommended
Frequent Terms
AMI
Anyone
app
application
asterisk
Asterisk Development Team
call
caller
callerid
chan
cli
com
connection
Dahdi
default
Digium
dtmf
error
exten
extension
file
google
hangup
IAX
incoming calls
linkedin
linux
message
module
pbx
phone
port
PRI
PSTN
queue
realtime
sip
sip phone
source
support
system
thanks in advance
time
trunk
www api
Recent Questions
- Asterisk Release 21.1.0
- Asterisk Release 20.6.0
- Asterisk Release 18.21.0
- Mailing List Shutdown Reminder
- Aeap Wss Connection
- SIP_HEADER GET_TRANSFERRER_DATA Chan_pjsip
- Chan_iax2.c:4739 __auto_congest: Auto-congesting Call Due To Slow Response
- Asterisk Release 21.0.2
- Asterisk Release 20.5.2
- Asterisk Release 18.20.2
Categories
- Advanced Dialplan
- Asterisk Announces
- Asterisk System Management
- Asterisk Tips
- Asterisk Tutorial
- Asterisk Users
- Book Reviews
- Dialplan Basics
- General
- Initial Configuration of Asterisk
- Installing Asterisk
- IT Jobs
- Java News
- Off Topic News
- Preparing a System for Asterisk
- programming
- Technical News
- Uncategorized
- VoIP News
FAQs Archive
- January 2024 (7)
- December 2023 (12)
- November 2023 (6)
- October 2023 (5)
- September 2023 (7)
- August 2023 (13)
- July 2023 (23)
- June 2023 (17)
- May 2023 (18)
- April 2023 (15)
- March 2023 (5)
- February 2023 (8)
- January 2023 (10)
- December 2022 (9)
- November 2022 (13)
- October 2022 (14)
- September 2022 (10)
- August 2022 (15)
- July 2022 (14)
- June 2022 (7)
- May 2022 (17)
- April 2022 (9)
- March 2022 (14)
- February 2022 (14)
- January 2022 (10)
- December 2021 (15)
- November 2021 (23)
- October 2021 (18)
- September 2021 (12)
- August 2021 (13)
- July 2021 (11)
- June 2021 (13)
- May 2021 (16)
- April 2021 (8)
- March 2021 (11)
- February 2021 (11)
- January 2021 (26)
- December 2020 (36)
- November 2020 (14)
- October 2020 (25)
- September 2020 (21)
- August 2020 (10)
- July 2020 (20)
- June 2020 (37)
- May 2020 (30)
- April 2020 (22)
- March 2020 (22)
- February 2020 (26)
- January 2020 (24)
- December 2019 (26)
- November 2019 (38)
- October 2019 (32)
- September 2019 (23)
- August 2019 (15)
- July 2019 (32)
- June 2019 (20)
- May 2019 (19)
- April 2019 (22)
- March 2019 (31)
- February 2019 (35)
- January 2019 (49)
- December 2018 (35)
- November 2018 (21)
- October 2018 (36)
- September 2018 (18)
- August 2018 (26)
- July 2018 (34)
- June 2018 (34)
- May 2018 (29)
- April 2018 (24)
- March 2018 (31)
- February 2018 (46)
- January 2018 (31)
- December 2017 (39)
- November 2017 (38)
- October 2017 (29)
- September 2017 (28)
- August 2017 (25)
- July 2017 (30)
- June 2017 (43)
- May 2017 (37)
- April 2017 (49)
- March 2017 (36)
- February 2017 (37)
- January 2017 (32)
- December 2016 (45)
- November 2016 (68)
- October 2016 (67)
- September 2016 (65)
- August 2016 (54)
- July 2016 (44)
- June 2016 (59)
- May 2016 (71)
- April 2016 (55)
- March 2016 (77)
- February 2016 (83)
- January 2016 (55)
- December 2015 (44)
- November 2015 (37)
- October 2015 (65)
- September 2015 (68)
- August 2015 (54)
- July 2015 (68)
- June 2015 (78)
- May 2015 (69)
- April 2015 (83)
- March 2015 (113)
- February 2015 (55)
- January 2015 (70)
- December 2014 (68)
- November 2014 (61)
- October 2014 (85)
- September 2014 (72)
- April 2014 (45)
- March 2014 (95)
- February 2014 (72)
- January 2014 (101)
- December 2013 (3)
- November 2013 (1)
- May 2013 (3)
- March 2013 (2)
- February 2013 (1)
- December 2012 (9)
- November 2012 (1)
- October 2012 (2)
- September 2012 (1)
- August 2012 (2)
- July 2012 (3)
- June 2012 (2)
- April 2012 (7)
- March 2012 (5)
- February 2012 (9)
- January 2012 (6)
- December 2011 (11)
- November 2011 (5)
- October 2011 (18)
- September 2011 (12)
- August 2011 (4)
- July 2011 (18)
- June 2011 (5)
- May 2011 (1)
- March 2011 (1)
- February 2011 (2)
- January 2011 (1)
- December 2010 (3)
- November 2010 (3)
- October 2010 (2)
- September 2010 (2)
- August 2010 (1)
10 thoughts on - PRI Error On Span 1: Received MDL/TEI Management Message, But Configured For Mode Other Than PTMP
MDL/TEI is pretty low level.
Which card are you using?
chan_dahdi.conf?
Card config?
PCAP trace? Q.931 and Q.921 messages are relatively easy to debug with wireshark.
jg
I was not aware Wireshark worked on PRI spans. What interface should I tell it to watch? 8-|
Card is: wanpipe: AFT-A101-SH PCI T1/E1 card found (HDLC (DS) rev.37), cpu(s) 1
chan_dahdi.conf has a timestamp of Jun 25 of last year
# cat /etc/asterisk/chan_dahdi.conf
;autogenerated by /usr/sbin/wancfg_dahdi do not hand edit
;autogenrated on 2012-05-29
;Dahdi Channels Configurations
;For detailed Dahdi options, view /etc/asterisk/chan_dahdi.conf.bak
[trunkgroups]
[channels]
usecallerid=yes echocancel=yes echocancelwhenbridged=yes rxgain=0.0
txgain=0.0
group=1
immediate=no pridialplan=unknown resetinterval=never
;Sangoma A101 port 1 [slot:2 bus:17 span:1]
switchtype=national context=pbxmax group=1
echocancel=yes signalling=pri_cpe channel =>1-23
PRI debug:
seidelnj*CLI> pri debug span 1
Enabled debugging on span 1
TEI=0 Got SABME from network peer. TEI=0 Sending UA
TEI=0 MDL-ERROR (F): SABME in state 7(Multi-frame established)
TEI=0 Got SABME from network peer. TEI=0 Sending UA
TEI=0 MDL-ERROR (F): SABME in state 7(Multi-frame established)
TEI=0 Got SABME from network peer. TEI=0 Sending UA
TEI=0 MDL-ERROR (F): SABME in state 7(Multi-frame established)
TEI=0 Got SABME from network peer. TEI=0 Sending UA
TEI=0 MDL-ERROR (F): SABME in state 7(Multi-frame established)
TEI=0 Got SABME from network peer. TEI=0 Sending UA
TEI=0 MDL-ERROR (F): SABME in state 7(Multi-frame established)
TEI=0 Got SABME from network peer. TEI=0 Sending UA
TEI=0 MDL-ERROR (F): SABME in state 7(Multi-frame established)
TEI=0 Got SABME from network peer. TEI=0 Sending UA
TEI=0 MDL-ERROR (F): SABME in state 7(Multi-frame established)
TEI=0 Got SABME from network peer. TEI=0 Sending UA
TEI=0 MDL-ERROR (F): SABME in state 7(Multi-frame established)
TEI=0 Got SABME from network peer. TEI=0 Sending UA
TEI=0 MDL-ERROR (F): SABME in state 7(Multi-frame established)
TEI=0 Got SABME from network peer. TEI=0 Sending UA
TEI=0 MDL-ERROR (F): SABME in state 7(Multi-frame established)
TEI=0 Got SABME from network peer. TEI=0 Sending UA
TEI=0 MDL-ERROR (F): SABME in state 7(Multi-frame established)
TEI=0 Got SABME from network peer. TEI=0 Sending UA
TEI=0 MDL-ERROR (F): SABME in state 7(Multi-frame established)
TEI=0 Got SABME from network peer. TEI=0 Sending UA
TEI=0 MDL-ERROR (F): SABME in state 7(Multi-frame established)
—–Original Message—
Hi,
http://wiki.sangoma.com/wanpipe-wireshark-pcap-pri-bri-wan-t1-e1-tracing
In case anyone is confused about the message reported not showin up in pri debug. They show up in the Asterisk logs.
[2014-02-13 14:39:31] WARNING[2932] chan_dahdi.c: PRI Error on span 1: Received MDL/TEI managemement message, but configured for mode other than PTMP!
[2014-02-13 14:39:34] WARNING[2932] chan_dahdi.c: PRI Error on span 1: Received MDL/TEI managemement message, but configured for mode other than PTMP!
[2014-02-13 14:39:35] WARNING[2932] chan_dahdi.c: PRI Error on span 1: Received MDL/TEI managemement message, but configured for mode other than PTMP!
[2014-02-13 14:39:39] WARNING[2932] chan_dahdi.c: PRI Error on span 1: Received MDL/TEI managemement message, but configured for mode other than PTMP!
[2014-02-13 14:39:40] WARNING[2932] chan_dahdi.c: PRI Error on span 1: Received MDL/TEI managemement message, but configured for mode other than PTMP!
[2014-02-13 14:39:44] WARNING[2932] chan_dahdi.c: PRI Error on span 1: Received MDL/TEI managemement message, but configured for mode other than PTMP!
[2014-02-13 14:39:45] WARNING[2932] chan_dahdi.c: PRI Error on span 1: Received MDL/TEI managemement message, but configured for mode other than PTMP!
[2014-02-13 14:39:48] WARNING[2932] chan_dahdi.c: PRI Error on span 1: Received MDL/TEI managemement message, but configured for mode other than PTMP!
[2014-02-13 14:39:49] WARNING[2932] chan_dahdi.c: PRI Error on span 1: Received MDL/TEI managemement message, but configured for mode other than PTMP!
[2014-02-13 14:39:53] WARNING[2932] chan_dahdi.c: PRI Error on span 1: Received MDL/TEI managemement message, but configured for mode other than PTMP!
[2014-02-13 14:39:54] WARNING[2932] chan_dahdi.c: PRI Error on span 1: Received MDL/TEI managemement message, but configured for mode other than PTMP!
[2014-02-13 14:39:58] WARNING[2932] chan_dahdi.c: PRI Error on span 1: Received MDL/TEI managemement message, but configured for mode other than PTMP!
[2014-02-13 14:39:59] WARNING[2932] chan_dahdi.c: PRI Error on span 1: Received MDL/TEI managemement message, but configured for mode other than PTMP!
[2014-02-13 14:40:02] WARNING[2932] chan_dahdi.c: PRI Error on span 1: Received MDL/TEI managemement message, but configured for mode other than PTMP!
[2014-02-13 14:40:03] WARNING[2932] chan_dahdi.c: PRI Error on span 1: Received MDL/TEI managemement message, but configured for mode other than PTMP!
[2014-02-13 14:40:06] WARNING[2932] chan_dahdi.c: PRI Error on span 1: Received MDL/TEI managemement message, but configured for mode other than PTMP!
—–Original Message—
Nifty! I never knew that.
Here is a pcap:
http://help.nyigc.net/tmp/isdn.pcap
—–Original Message—
Eric,
since you seem to have a Sangoma card, you should contact Sangoma’s excellent technical support. I’ll have a look at your pcap trace tomorrow. You can also download the relevant Q.931 and Q.921
docs from ITU’s web server.
Sangoma’s wanpipe drivers allow you to configure a few hardware things. Can you post the config of one of your spans?
Besides this, what is your libpri version? Maybe this relates to your problem
(https://issues.asterisk.org/jira/browse/PRI-152?page=com.atlassian.streams.streams-jira-plugin:activity-stream-issue-tab)
jg
My recent experiences with Sangoma tech support have been less than good. I admit the issue was rather wieid. We had an issue about a year ago where Sangoma PCI cards would not work in the servers we were purchasing unless you used a PCI/PCI-X converter/riser card. Everything would load but card would not work. On analog cards, the ports stayed red even after pluggin lines, on PRIs the span would appear to come up, but no interrupts were seen on the card. After 2 weeks of Sangoma blaming the circuit I finally gave up and ordered riser cards for all our remaining PCI Sangoma cards. Once all the older PCI cards were used from stock we started using PCI-X cards and didn’t have the problem again.
We will be rebooting the server after hours, if that doesn’t fix it, I’ll update to a recent DAHDI, latest libpri, latest wanpipe, and latest Asterisk 1.4.x and see if the issue continues. I suspect a change on the telco side, but I can’t prove it.
—–Original Message—
It seems a layer 2 problem, should check about references point (network or terminal equipment), it assume your Asterisk box is connected to ISDN PSTN provided, just in case check at you side if all related configuration files are configured as signalling=pri_cpe (Card config, wan_cfg, chan_dahdi.conf), PSTN side if network configuration or in service mode, should both side work and debug in the same time.
Mc GRATH Ricardo E-Mail mcgrathr@mail2web.com
Eric!
The pcap trace seems to contain only idle data, and there is nothing unusual.
As far as I know, PRI always uses the static TEI value of 0, as there is only a single
“terminal equipment (TE). The TEI assignment procedure is only relevant if there is a BRI
connection on a so called “S0 bus” and the TE operates in point-to-multipoint mode. Then the automatically assigned TEI is within the range 64 to 126. Sangoma ISDN products using DAHDI/libpri do not have any problem with this in any mode.
There are always spurious MDL (related to supervisory frames, or so) messages, but they have no impact on actual calls.
If there many calls on ISDN lines and you need to restart Asterisk/DAHDI/Wanpipe, then it is likely that the system is in an inconsistent state. Some phones ring, but cannot be answered, or answered and the other side cannot hear the other side, and stuff like that. I don’t see right now how this relates to your problem, but you could try to capture the SETUP (followed by CALL
PROCEEDING, ALERTING, CONNECT, STATUS, …) messages from in- and outbound calls and log what happens.
jg
A reboot of the system after hours appears to have solved the issue.
—–Original Message—