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:
paulc 2008-10-01 12:57:42 +00:00
parent 3d24db224a
commit aa00978f7f
1 changed files with 2 additions and 0 deletions

View File

@ -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));