Commit graph

52 commits

Author SHA1 Message Date
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
Amin Ben Ramdhane
027d8fb599 bbf: save diagnostics data under '/etc/bbfdm/dmmap_diagnostics' instead of '/vat/state/cwmp' 2020-09-28 10:08:13 +01:00
Amin Ben Ramdhane
ca9e778c6d Ticket refs #3228: QEMU - ICWMP is segfaulting
Fix missing objects
2020-09-26 17:24:18 +01:00
Amin Ben Ramdhane
2c6163bb0b Voice: remove unsupported object 2020-09-26 17:24:09 +01:00
Amin Ben Ramdhane
6868ec3af5 Voice: enhance code 2020-09-26 17:23:58 +01:00
Yalu Zhang
0210b2165b Solve problems found in the first round of internal test
The major changes are for more TR-104 compliant.
- Changes those static objects to dynamic ones although they can have only one instance
- Make some paraters' values compliant to the data model
2020-09-25 13:39:13 +02:00
Amin Ben Ramdhane
615b68507c Voice: fix segfault and add dependency to asterisk config file 2020-09-18 15:05:28 +01:00
Amin Ben Ramdhane
c6cf0acd30 Device.Services.VoiceService.{i}.POTS.FXS.{i}.: fix instance number 2020-09-17 10:36:46 +01:00
Yalu Zhang
a5ab6cefc5 TR-104: add some missing parameters that are requested by BT
Device.Services.VoiceService.{i}.SIP.Network.{i}.Enable
Device.Services.VoiceService.{i}.VoIPProfile.{i}.RTP.SRTP.KeyingMethods
Device.Services.VoiceService.{i}.VoIPProfile.{i}.RTP.SRTP.EncryptionKeySizes

Note that KeyingMethods and EncryptionKeySizes are not configurable in Asterisk
so writting to these two parameters will return FAULT_9000.
2020-09-14 17:20:19 +02:00
Amin Ben Ramdhane
99705ac5f9 bbf: fix compiler warnings 2020-09-03 21:47:26 +01:00
Yalu Zhang
5bb35f740c TR-104: the correct range of telephone-event payload type shall be 96-127
Refer to https://www.iana.org/assignments/rtp-parameters/rtp-parameters.xhtml#rtp-parameters-1
2020-09-03 17:49:49 +02:00
Yalu Zhang
efdef65178 TR-104: reimplementation of voice service Device.Services.VoiceService. as per tr-104-2-0-2-usp
- Configurations
- Capabilities
- Status
- Call logs
2020-09-01 20:06:23 +02:00
Amin Ben Ramdhane
9b2fdc3562 Ticket refs #2845: fix add object issues 2020-08-31 10:22:31 +01:00
Amin Ben Ramdhane
bbecdd7444 Ticket refs #2845: bbf: add support the case uci config is updated manually 2020-08-22 16:37:32 +01:00
Amin Ben Ramdhane
2e4bc3688b UCI: added get value functions with a default value 2020-06-28 19:02:09 +01:00
Sukru Senli
bb6b54e3ef voiceservice: adapt new country codes 2020-06-11 18:20:26 +02:00
Sukru Senli
9ee0484353 tr104: adapt to voice_client->asterisk config change 2020-06-08 17:19:39 +02:00
Amin Ben Ramdhane
4354aa2117 Ticket refs #2511: libbbf: JSON schema support for Alias and Link 2020-05-17 15:33:52 +01:00
Amin Ben Ramdhane
61a1c57664 Add sysfs and procfs mapping + update mapping of some parameters + clean up 2020-05-12 00:05:40 +01:00
Amin Ben Ramdhane
974309dc77 Fix compile errors on x86 environment 2020-04-26 13:44:26 +01:00
Amin Ben Ramdhane
00c60187fb Ticket refs #2483: TR-181: most Alias values are empty 2020-04-20 00:18:52 +01:00
Amin Ben Ramdhane
8f500aab97 Revert "Ticket refs #2483: TR-181: most Alias values are empty" 2020-04-17 13:45:45 +01:00
Amin Ben Ramdhane
4c4d298b0d Ticket refs #2483: TR-181: most Alias values are empty 2020-04-17 13:04:51 +01:00
Amin Ben Ramdhane
67891bd0e4 Fix compiler errors on x86 environment 2020-04-12 17:58:39 +01:00
Sukru Senli
d76b77d537 vendor extensions are more aligned with standard naming convention 2020-04-11 13:49:23 +02:00
Amin Ben Ramdhane
198c207e6e VoiceService: fix some issues according to the standard
- VoiceService.{i}.VoiceProfile.{i}.Name : add set value
 - Fix the value of some parameters
2020-03-16 17:50:55 +01:00
Amin Ben Ramdhane
a1f7ce98cf Ticket refs #1254: Improvement validation parameters 2020-03-13 16:28:32 +01:00
Amin Ben Ramdhane
488066671c tr104,tr157: Remove unused functions 2020-03-10 23:43:37 +01:00
Amin Ben Ramdhane
323b40d8aa Only export symbols to the library that belong to the API interface (complement: tr104, tr143 and tr157) 2020-03-10 23:32:03 +01:00
Amin Ben Ramdhane
905d78844c Ticket refs #1254: TR-x69: add support for parameter validation 2020-02-20 23:25:49 +01:00
Amin Ben Ramdhane
ff14c27fc3 clean up the source code
- remove unused variables
- fix coding style of most function (Indentation, Tabulation, ..)
- check the source code using cppcheck tool
- change sprintf by snprintf
2020-02-12 19:08:49 +01:00
Amin Ben Ramdhane
4ab526b9f2 Ticket refs#1598: libbbfdm: plug-in based with support for dynamic loading of libraries + separate libbbfdm into two libraries: libbbf_api (API) and libbbfdm (data model) 2020-01-21 22:43:37 +01:00
Amin Ben Ramdhane
6441cc6001 Fix the value of Device.Services.VoiceService.{i}.VoiceProfile.{i}.Line.{i}.SIP.URI parameter 2019-12-17 17:52:46 +01:00
Sukru Senli
1e11720828 Change License to LGPLv2.1 2019-12-04 09:52:05 +01:00
Amin Ben Ramdhane
8ab504585c Fix memory leaks and all warnings 2019-11-11 10:46:10 +01:00
Amin Ben Ramdhane
d4298475a3 Ticket refs #1262: bbf-datamodels: dynamic addition of datamodel parameters 2019-10-17 15:58:22 +01:00
Amin Ben Ramdhane
4be7fe3c20 Add tr-104 json file 2019-09-18 12:16:10 +01:00
Amin Ben Ramdhane
4777b9166f change cwmp -> bbfdm 2019-09-15 11:52:54 +01:00
Amin Ben Ramdhane
8655b0a37d change icwmp,icwmpd -> bbfdm 2019-09-03 15:24:55 +01:00