projects
/
lcr.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fixed missing channel IE in some cases.
[lcr.git]
/
dss1.cpp
diff --git
a/dss1.cpp
b/dss1.cpp
index
c80a672
..
1dd009e
100644
(file)
--- a/
dss1.cpp
+++ b/
dss1.cpp
@@
-2036,7
+2036,7
@@
void Pdss1::message_setup(unsigned int epoint_id, int message_id, union paramete
l3m = create_l3msg();
l1l2l3_trace_header(p_m_mISDNport, this, L3_SETUP_REQ, DIRECTION_OUT);
/* channel information */
l3m = create_l3msg();
l1l2l3_trace_header(p_m_mISDNport, this, L3_SETUP_REQ, DIRECTION_OUT);
/* channel information */
- if (
channel >= 0) /* it should
*/
+ if (
p_m_d_ntmode || channel != CHANNEL_ANY) /* only omit channel id in te-mode/any channel
*/
enc_ie_channel_id(l3m, exclusive, channel);
/* caller information */
plan = 1;
enc_ie_channel_id(l3m, exclusive, channel);
/* caller information */
plan = 1;
@@
-2897,7
+2897,7
@@
int stack2manager(struct mISDNport *mISDNport, unsigned int cmd, unsigned int pi
port = port_first;
while(port) {
/* are we ISDN ? */
port = port_first;
while(port) {
/* are we ISDN ? */
- if ((port->p_type & PORT_CLASS_mISDN_MASK) == PORT_CLASS_
mISDN_
DSS1) {
+ if ((port->p_type & PORT_CLASS_mISDN_MASK) == PORT_CLASS_DSS1) {
pdss1 = (class Pdss1 *)port;
/* check out correct stack and id */
if (pdss1->p_m_mISDNport == mISDNport) {
pdss1 = (class Pdss1 *)port;
/* check out correct stack and id */
if (pdss1->p_m_mISDNport == mISDNport) {