Commit 13beaacc authored by Richard Mudgett's avatar Richard Mudgett

libpri: Make TE-PTP mode respond to MDL TEI check requests.

Some BRI devices in France insist on checking TEI's when in point-to-point
mode.  If they don't get a response for TEI 0 they drop layer 1 even
though libpri keeps trying to bring layer 2 up.

* Made q921_mdl_receive() handle TEI check request messages in TE-PTP
mode.  Had to change q921_mdl_send()/Q921_INIT() because the PTP modes do
not setup a link structure specifically for MDL as the PTMP modes do.

* Fixed q921_tei_check()/t201_expire() to check TEI's even if the network
side doesn't have any assigned.  This should make TE's that request the
TEI verify procedure (Q.921 Section 5.3.5) happy when the network side
doesn't have any TEI's allocated.

Reported by: Denis Alberto Martinez
      jira_pri_165_ptp_respond_tei_check.patch (license #5621) patch uploaded by rmudgett

git-svn-id: 2fbb986a-6c06-0410-b554-c9c1f0a7f128
parent 84b2560d
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment