Q.931 status reports now have local network as location.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2247 acf43c95-373e-0410-b603-e72c3f656dc1
This commit is contained in:
parent
3d24db224a
commit
aa00978f7f
|
@ -3076,6 +3076,8 @@ bool ISDNQ931::sendStatus(const char* cause, u_int8_t callRefLen, u_int32_t call
|
|||
state = m_restartCic ? ISDNQ931Call::RestartReq : ISDNQ931Call::Null;
|
||||
// Add IEs
|
||||
ISDNQ931IE* ie = msg->appendIEValue(ISDNQ931IE::Cause,0,cause);
|
||||
// We always send status about the local network
|
||||
ie->addParamPrefix("location","LN");
|
||||
if (diagnostic && ie)
|
||||
ie->addParamPrefix("diagnostic",diagnostic);
|
||||
msg->appendIEValue(ISDNQ931IE::CallState,"state",ISDNQ931Call::stateName(state));
|
||||
|
|
Loading…
Reference in New Issue