processCalledNo: Fix typo / copy+paste error
Surely, the treatment of the *called* party type/plan should not depend on the *calling* party type/plan.
This commit is contained in:
parent
22aabade2d
commit
498dc6bcc7
|
@ -459,9 +459,9 @@ bool ISDNQ931IEData::processCalledNo(ISDNQ931Message* msg, bool add,
|
|||
if (add) {
|
||||
ISDNQ931IE* ie = new ISDNQ931IE(ISDNQ931IE::CalledNo);
|
||||
ie->addParam("number",m_calledNo);
|
||||
if (!m_callerType.null())
|
||||
if (!m_calledType.null())
|
||||
ie->addParam("type",m_calledType);
|
||||
if (!m_callerPlan.null())
|
||||
if (!m_calledPlan.null())
|
||||
ie->addParam("plan",m_calledPlan);
|
||||
msg->appendSafe(ie);
|
||||
return true;
|
||||
|
|
Loading…
Reference in New Issue