Commit graph

90 commits

Author SHA1 Message Date
Grzegorz Sluja
80103f73ed TR104: Implementation for Line and Extension callStatus 2021-11-24 10:16:19 +01:00
Amin Ben Ramdhane
35633a3bc8 Ticket refs #6623: remove static code analysis warnings 2021-11-22 11:47:14 +01:00
Hemlata
cf1780fc70 libbbf changes for asterisk UCI config restructuring 2021-11-16 17:07:02 +00:00
Arun Muthusamy
2977240eb0 Fix: voice, Dialling long number causes CalledPartyNumber overrun 2021-11-05 08:56:56 +00:00
Amin Ben Ramdhane
7f8d825a52 Improve memory api 2021-10-22 12:35:32 +01:00
vdutta
1aee6718b0 Fix compilation errors for gcc-11 2021-10-19 18:00:41 +05:30
Arun Muthusamy
361db56939 TR104: Added support for missing 'Alias' parameters 2021-10-11 11:55:13 +00:00
Amin Ben Ramdhane
c56a828512 Ticket refs #6166: vendorid, hostname and clientid cannot be set via TR069 2021-10-01 17:35:35 +01:00
Amin Ben Ramdhane
4226c94946 Add more configs to cover all datamdoel and fix some memory leaks 2021-09-30 14:55:32 +01:00
vdutta
27914a1336 TR104: Added dect handset names paramter 2021-09-27 18:57:07 +05:30
Vivek Kumar Dutta
5a1cf076a7 Voice: Add support for VoiceService.{i}.DECT.Portable.{i}.Name parameter 2021-09-24 14:22:50 +00:00
vdutta
db8c194551 TR104: Added Dect repeater support enabled param 2021-09-16 15:43:47 +05:30
Hemlata Bhatt
64e79d2ca4 Digitmap DM parameters implemented 2021-09-13 12:32:28 +01:00
Amin Ben Ramdhane
4d936c798f Ticket refs #5860: Voice: CallLog data model entries not populated
- Increase buffer size
2021-09-10 11:51:36 +01:00
Amin Ben Ramdhane
42bc8e95a7 Ticket refs #5773: improve and simplify handle instance in browser and add functions 2021-09-09 16:56:02 +00:00
Grzegorz Sluja
0e101a4c48 VoiceService: Get CallStatus values using new dedicated ubus call
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.
2021-09-08 13:47:13 +00:00
Vivek Kumar Dutta
3ad0978f8d TR104: Added dect datamodel parameters 2021-09-08 13:46:01 +00:00
Wenpeng Song
6b2a1e8ed5 TR104: Rotate CDR csv call log 2021-08-25 07:48:21 +00:00
Arun Muthusamy
87b3664f95 Bug_5668: Fix time refrences in dm object
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
2021-08-04 09:44:02 +02:00
Grzegorz Sluja
5c1a146fdb 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>
2021-07-23 08:17:43 +02:00
Grzegorz Sluja
3584e1699d VoiceService: Fix for unanswered incoming call log record
Signed-off-by: Grzegorz Sluja <grzegorz.sluja@iopsys.eu>
2021-07-15 08:32:50 +02:00
vdutta
6b73dea0f6 Update mapping to fix DirectoryNumber and RegisterURI clash 2021-06-30 17:53:50 +05:30
Grzegorz Sluja
24fc0240f2 VoiceService: Add CallLog parameters including RTP statistics
Signed-off-by: Grzegorz Sluja <grzegorz.sluja@iopsys.eu>
2021-06-22 15:25:42 +01:00
Amin Ben Ramdhane
0d5afce5f1 VoiceService: Fix some issues
- 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
2021-05-25 15:11:29 +01:00
Grzegorz Sluja
20d4d3022b bbf: Adjust tr104 VoiceService parameters to customer's requirements
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>
2021-05-25 13:24:18 +02:00
vdutta
27687c93de B#5008: SIP Client AuthPassword should return empty string on read 2021-04-26 19:17:03 +05:30
Grzegorz Sluja
45b823fe47 Fix TR-104: VoiceService.{i}.SIP.Client.{i}.Status
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>
2021-04-22 08:23:55 +02:00
Sukru Senli
8d1451f423 voice: adapt to new dtmfmode option value 2021-03-25 20:44:16 +01:00
Amin Ben Ramdhane
5e97bdb5e4 bbf: add support for vendor extension 2021-03-25 16:06:31 +01:00
Amin Ben Ramdhane
cdad11d92d Ticket refs #4386: dm_validate_string in libbbf_api requires length of enumeration and pattern arrays to be hardcoded at caller
- use NULL-terminated arrays instead of providing length by the caller
2021-02-15 21:13:18 +01:00
Amin Ben Ramdhane
92d1f62cab bbf: cleanup
- fix flawfinder and cppcheck issues
 - remove all unused functions
2021-02-10 17:31:55 +01:00
Hemlata Bhatt
562530a205 Ticket 4176: TR-104: incorrect implementation of CallControl.Line.{i}.DirectoryNumber parameter 2021-02-03 17:14:33 +01:00
Amin Ben Ramdhane
c113f8a8a0 bbf: fix the crash on startup 2021-01-13 17:58:50 +01:00
Amin Ben Ramdhane
9464e6e04f Device.Services.VoiceService.{i}.CodecProfile.{i}.Codec: must be readable and its value must refer to 'Device.Services.VoiceService.{i}.Capabilities.Codec.{i}.' according to standard 2020-12-30 20:44:53 +01:00
Amin Ben Ramdhane
b9a12b057b remove tr064 feature and cleanup 2020-12-16 10:03:25 +01:00
Amin Ben Ramdhane
3906faa12d Ticket refs #3730: bbf: fix Static Code Analysis 2020-12-16 10:00:19 +01:00
Amin Ben Ramdhane
44b6c08273 Fix add method based on the latest changes
update_instance: read config and type section from the passed section
2020-12-07 21:59:00 +01:00
Amin Ben Ramdhane
5d10fba083 bbf: improve and cleanup the code
- update_instance_alias: read config and type section from the passed section in handle_update_instance
 - remove append_dot_to_string() function
2020-12-06 22:18:18 +01:00
Amin Ben Ramdhane
370bad0724 TR-104: Fix indentation and default value 2020-11-26 11:46:22 +01:00
Hemlata Bhatt
44824549b6 3847 Fix: Asterisk: Remote Configuration of Asterisk can't enable TLS 2020-11-26 10:31:26 +00:00
Amin Ben Ramdhane
18643f29b3 bbf: enhance the code
- 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
2020-11-23 10:58:48 +01:00
Omar Kallel
c8de221c11 Ticket refs #3725: bbf: remove unnecessary arguments from object/parameter definition 2020-11-17 16:21:11 +01:00
Yalu Zhang
001b7800ee TR104: convert CallLog.{i}.Start to ISO 8601 date-time format 2020-11-16 15:17:53 +01:00
Amin Ben Ramdhane
8ba74d624b bbf: add unique_keys argument to the comment
-  change (const char *[]) -> LIST_KEY
2020-10-17 14:54:33 +01:00
Amin Ben Ramdhane
5839164c29 TR-181: Fixed invalid int && unsignedInt && hexBinary parameter values 2020-10-17 14:08:40 +01:00
Amin Ben Ramdhane
40873019ff tr104: fix compiler warning
-  strncpy size out of bounds.
2020-10-16 11:49:20 +01:00
Amin Ben Ramdhane
a07102c32b Get_schema: add the missing unique keys for TR181 and TR104
- Update JSON files for tr181 and tr104
- Update the generator
2020-10-14 16:33:02 +01:00
Amin Ben Ramdhane
2d113c576d Ticket refs#3484: TR-181: Invalid dateTime parameter values 2020-10-12 18:57:48 +01:00
Amin Ben Ramdhane
240b7b7488 Voice: fix the Get/Set value of CodecList parameter 2020-09-29 19:11:18 +01:00
Yalu Zhang
bbce1a47af Solve problems found in the second round of internal test
Make CallStatus and CallLog's parameters more TR-104 compliant.
2020-09-29 17:08:16 +02:00