The new ubus call has been created in asterisk to get proper CallStatus
values for line:
ubus call asterisk call_status '{ "line" : X }'
Use it to get proper values according to TR-104 definitions.
Add preferred shift time to the UTC time
ValidLifetime parameter: Replace localtime with UTC time
RouteLifetime parameter: Replace localtime with UTC time
IPv6 PreferredLifetime parameter: Replace localtime with UTC time
Security LastModif parameter: Replace localtime with UTC time
AssociationTime parameter: Replace localtime with UTC time
IPV6 PreferredLifetime, ValidLifetime parameter: Replace localtime with UTC time
DHCPv6 PreferredLifetime, ValidLifetime parameter: Replace localtime with UTC time
Add dm_time_utc_format function to get UTC time format
DHCPv4 LeaseTimeRemaining parameter: Replace localtime with UTC time
DeviceInfo Date parameter: Replace localtime with UTC time
DynamicDNS LastUpdate parameter: Replace localtime with UTC time
VoiceService ExpireTime parameter: Replace localtime with UTC time
Backup() parameter: Replace localtime with UTC time
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>
- Device.Services.VoiceService.{i}.CallControl.Line.{i}.Enable: change the type to boolean instead of string
- Device.Services.VoiceService.{i}.SIP.Network.{i}.ProxyServerPort: define its default value
- Fix static code analysis issue
- Update TR104 JSON mapping
The following parameters has been added/modified:
Device.Services.VoiceService.{i}.CallControl.Line {i}.Enable
Device.Services.VoiceService.{i}.SIP.Client.{i}.RegisterURI
Device.Services.VoiceService.{i}.SIP.Network.{i}.OutboundProxy
Device.Services.VoiceService.{i}.SIP.Network.{i}.OutboundProxyPort
Device.Services.VoiceService.{i}.SIP.Network.{i}.UserAgentTransport
Signed-off-by: Grzegorz Sluja <grzegorz.sluja@iopsys.eu>
The following status code of Client registration are supported:
Registering, Up, Error_Registration, Quiescent, Disabled.
Initializing, Deregistering, Error_Misconfigured, Error_Network
will never be set in tr104 due to not corresponding response from pjsip.
Signed-off-by: Grzegorz Sluja <grzegorz.sluja@iopsys.eu>
- remove unused argument from dmuci_add_section() and dmuci_add_section_bbfdm() functions
- use snprintf instead of dmasptintf
- change function name: add_list_paramameter -> add_list_parameter