mirror of
https://dev.iopsys.eu/bbf/bbfdm.git
synced 2026-02-17 09:41:19 +01:00
VoiceService: Change SessionId parameters to DMT_STRING
SessionId in cdr records can have negative value while we used
unsigned int type for the following corresponding parameters:
Device.Services.VoiceService.{i}.CallLog.{i}.Session.{i}.SessionID
Device.Services.VoiceService.{i}.CallLog.{i}.BBF_VENDOR_PREFIX_SIPSession-ID
Change it to DMT_STRING according to TR-104 standard.
Signed-off-by: Grzegorz Sluja <grzegorz.sluja@iopsys.eu>
This commit is contained in:
parent
6a252f514c
commit
5c1a146fdb
2 changed files with 2 additions and 2 deletions
|
|
@ -229,7 +229,7 @@ DMLEAF tServicesVoiceServiceCallLogSessionParams[] = {
|
|||
/* PARAM, permission, type, getvalue, setvalue, bbfdm_type*/
|
||||
{"Duration", &DMREAD, DMT_UNINT, get_ServicesVoiceServiceCallLog_Duration, NULL, BBFDM_BOTH},
|
||||
{"Start", &DMREAD, DMT_TIME, get_ServicesVoiceServiceCallLog_Start, NULL, BBFDM_BOTH},
|
||||
{"SessionID", &DMREAD, DMT_UNINT, get_ServicesVoiceServiceCallLog_SessionId, NULL, BBFDM_BOTH},
|
||||
{"SessionID", &DMREAD, DMT_STRING, get_ServicesVoiceServiceCallLog_SessionId, NULL, BBFDM_BOTH},
|
||||
{0}
|
||||
};
|
||||
|
||||
|
|
|
|||
|
|
@ -151,7 +151,7 @@ static int get_ServicesVoiceServiceCallLog_Dst_PeakJitter(char *refparam, struct
|
|||
/* *** Device.Services.VoiceService.{i}.CallLog.{i}. *** */
|
||||
DMLEAF tIOPSYS_VoiceServiceCallLogParams[] = {
|
||||
/* PARAM, permission, type, getvalue, setvalue, bbfdm_type*/
|
||||
{BBF_VENDOR_PREFIX"SIPSession-ID", &DMREAD, DMT_UNINT, get_ServicesVoiceServiceCallLog_SessionId, NULL, BBFDM_BOTH},
|
||||
{BBF_VENDOR_PREFIX"SIPSession-ID", &DMREAD, DMT_STRING, get_ServicesVoiceServiceCallLog_SessionId, NULL, BBFDM_BOTH},
|
||||
{BBF_VENDOR_PREFIX"SIPIPAddress", &DMREAD, DMT_STRING, get_ServicesVoiceServiceCallLog_SipIpAddress, NULL, BBFDM_BOTH},
|
||||
{BBF_VENDOR_PREFIX"SIPResponseCode", &DMREAD, DMT_UNINT, get_ServicesVoiceServiceCallLog_SipResponseCode, NULL, BBFDM_BOTH},
|
||||
{0}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue