提交 a90ef152 authored 作者: Anthony Minessale's avatar Anthony Minessale

update

git-svn-id: http://svn.openzap.org/svn/openzap/trunk@468 a93c3328-9c30-0410-af19-c9cd2b2d52af
上级 bb92c324
...@@ -772,7 +772,7 @@ L3INT Q931ProcReleaseTE(Q931_TrunkInfo_t *pTrunk, L3UCHAR * buf, L3INT iFrom) ...@@ -772,7 +772,7 @@ L3INT Q931ProcReleaseTE(Q931_TrunkInfo_t *pTrunk, L3UCHAR * buf, L3INT iFrom)
} else { } else {
ret = Q931ProcUnexpectedMessage(pTrunk, buf, iFrom); ret = Q931ProcUnexpectedMessage(pTrunk, buf, iFrom);
} }
if (pMes->CRV) { if (pMes->CRV && iFrom == 2) {
/* Find the call using CRV */ /* Find the call using CRV */
if ((Q931FindCRV(pTrunk, pMes->CRV, &callIndex)) != Q931E_NO_ERROR) if ((Q931FindCRV(pTrunk, pMes->CRV, &callIndex)) != Q931E_NO_ERROR)
return ret; return ret;
...@@ -797,16 +797,17 @@ L3INT Q931ProcReleaseCompleteTE(Q931_TrunkInfo_t *pTrunk, L3UCHAR * buf, L3INT i ...@@ -797,16 +797,17 @@ L3INT Q931ProcReleaseCompleteTE(Q931_TrunkInfo_t *pTrunk, L3UCHAR * buf, L3INT i
{ {
/* TODO Add proc here*/ /* TODO Add proc here*/
ret = Q931Tx34(pTrunk,buf,pMes->Size); ret = Q931Tx34(pTrunk,buf,pMes->Size);
} } else {
if (pMes->CRV) { if (pMes->CRV) {
/* Find the call using CRV */ /* Find the call using CRV */
ret = Q931FindCRV(pTrunk, pMes->CRV, &callIndex); ret = Q931FindCRV(pTrunk, pMes->CRV, &callIndex);
if(ret != Q931E_NO_ERROR) if(ret != Q931E_NO_ERROR)
return ret; return ret;
pTrunk->call[callIndex].InUse = 0; pTrunk->call[callIndex].InUse = 0;
} }
}
return ret; return ret;
} }
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论