laforge
/
openbts-osmo
Archived
1
0
Fork 0

Send correct text string with USSD release message.

This commit is contained in:
Alexander Chemeris 2010-09-09 18:06:25 +04:00
parent 86b066da63
commit 77d380565b
1 changed files with 2 additions and 1 deletions

View File

@ -184,7 +184,8 @@ void USSDSend(string USSDString, unsigned InvokeID, unsigned TI, unsigned TIFlag
// recommend to set this string to an empty string.
L3NonCallSSComponentReturnResult* ComponentPtr = new L3NonCallSSComponentReturnResult(L3NonCallSSInvokeID(InvokeID));
ComponentPtr->operationCode(L3NonCallSSOperationCode(GSM::L3NonCallSSOperationCode::ProcessUnstructuredSSRequest));
ComponentPtr->parameters(L3NonCallSSParameters("release"));
// TODO:: How to drop session silently?
ComponentPtr->parameters(L3NonCallSSParameters(USSDString.c_str()));
L3NonCallSSReleaseCompleteMessage ReleaseCompleteMessage(TIFlag, TI);
if (TIFlag == 1)
{