X-Git-Url: http://git.eversberg.eu/gitweb.cgi?p=lcr.git;a=blobdiff_plain;f=dss1.cpp;h=1dd009e5c3ce5491a684310445bb6153f2a902b7;hp=c819835f6bec6be8130c6c41964ebd3522f903e8;hb=590407f7f5d19e06ad41850d9e09b31c158f1bbb;hpb=97aa0881beacf536e3a2296381c055887583db8f diff --git a/dss1.cpp b/dss1.cpp index c819835..1dd009e 100644 --- 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 */ - 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;