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
398413ed0a
Ticket refs#3299: bbf: ping operation does not work correctly
2020-09-24 16:10:32 +01:00
Amin Ben Ramdhane
54787c12f8
Ticket refs#3223: USP: Device.DHCPv4.Server.Pool.{i}.StaticAddress.{i}.Enable not available
2020-09-21 18:04:56 +01:00
Omar Kallel
c549dad741
add dmjson_get_string && fix segfault: add tests case ptr != NULL
2020-09-21 17:48:39 +01:00
Omar Kallel
92cdf363f5
Ticket refs #3228 : QEMU - ICWMP is segfaulting
2020-09-21 17:48:26 +01:00
Amin Ben Ramdhane
d26cf63d0b
WiFi: fix issue and update json file
2020-09-21 00:14:23 +01:00
Sukru Senli
e461345405
wifi: correct mapping of some parameters and use defaults
2020-09-20 09:03:54 +02:00
Feten Besbes
c71ea1bb79
24827 - TR181: Segmentation Fault with add_object Device.NAT.PortMapping.
2020-09-19 19:22:03 +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
Amin Ben Ramdhane
affcc1f42a
bbf: remove config/dmmap file
2020-09-17 10:15:08 +01:00
Rohit Topno
3108792152
bbf: Renamed dscp2pbit vendor extension parameter.
2020-09-15 10:31:45 +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
vdutta
ab26cfaea6
get_instances: Added next-level support in instances
2020-09-14 15:56:14 +05:30
Amin Ben Ramdhane
c5ed408707
Device.IP.Interface.: enhance delete all instances
2020-09-12 15:39:43 +01:00
Feten Besbes
88a762d70e
Refs 2978 : GNX-24808:Delete all instances of Device.IP.Interface fails
2020-09-12 16:37:14 +02:00
Rohit Topno
d84a27ef36
bbf: Made dscp2pbit vendor extension configurable through tr-181
2020-09-11 17:01:53 +01:00
Amin Ben Ramdhane
9cd9bb4e74
bbf generator: fix operate issue
2020-09-11 16:47:51 +01:00
Daniel Danzberger
5fe7af87d4
dmoperate: Add arguments to operate helpers
...
Adds input and output arguments for each operate call
Arguments are stored in the data field on USP_LIST_OPERATE
NOTE: Dynamic operates need to be recomplied when running libbbf
with this commit, hence the op_cmd struct has changed
Signed-off-by: Daniel Danzberger <daniel@dd-wrt.com>
2020-09-11 17:33:09 +02:00
Amin Ben Ramdhane
8da2fd3564
db config: get config path in init call
2020-09-11 15:32:40 +01:00
Amin Ben Ramdhane
26e3f3ef27
ieee1905: enhance the code
2020-09-11 16:00:31 +02:00
nevadita.chatterjee
2795f0ded9
bbf:Added topology changes in ieee1905
2020-09-11 16:00:31 +02:00
Amin Ben Ramdhane
e087f42404
db config: use '/lib/db/config' if exists else '/etc/board-db/config' path
2020-09-11 14:55:25 +01:00
Amin Ben Ramdhane
95d1440650
get_instance: return err if find_param=0
2020-09-11 10:53:25 +01:00
vdutta
31db6dab25
instance: Fix instances for all paths
2020-09-11 11:15:33 +02:00
vdutta
a9dff9e621
operate: remove dependency of cmwp uci config
2020-09-11 13:01:35 +05:30
Amin Ben Ramdhane
720d704121
XMPP: update config options
2020-09-10 10:53:15 +01:00
Amin Ben Ramdhane
e9e1f3e886
STUN: add enable option
2020-09-10 10:53:06 +01:00
Amin Ben Ramdhane
bf62e02162
move twamp to its package as dynamic library
2020-09-10 10:52:57 +01:00
Amin Ben Ramdhane
8a96e39cb9
move udpechoserver to its package as dynamic library
2020-09-10 10:52:48 +01:00
Amin Ben Ramdhane
39eef2ada2
move bulkdata to its package as dynamic library
2020-09-10 10:52:38 +01:00
Amin Ben Ramdhane
7057d87e84
move xmpp to its package as dynamic library
2020-09-10 10:52:27 +01:00
Amin Ben Ramdhane
82d001806e
Update config file name
2020-09-10 10:52:14 +01:00
Amin Ben Ramdhane
8d721664e6
db config: move /lib/db -> /etc/board-db due to changes in targets
2020-09-08 12:24:55 +01:00
Feten Besbes
1977b8308f
Refs 2970 : GNX 27788: TR181: call order dependency when creating bridge
2020-09-07 19:10:46 +01:00
Amin Ben Ramdhane
e20b717d17
bbf: update dynamic library generator
2020-09-03 22:34:15 +01: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
Amin Ben Ramdhane
3a807945f9
Update bbf generator and json files
2020-09-03 14:17:04 +01:00
Amin Ben Ramdhane
ef8e6c2000
Bridging: check the dmmap file before calling add object
2020-09-03 11:16:33 +01:00
nevadita.chatterjee
725981c900
bbf: Added ieee1905 code
2020-09-02 18:30:16 +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
Feten Besbes
8780d08ad2
Refs #2862 : TR181 : issues related to Lowerlayers management and order dependency
2020-09-01 18:07:50 +01:00
Amin Ben Ramdhane
bc400a368d
Ticket refs#3005: fix issue in get schema method
2020-08-31 14:59:37 +01:00
Amin Ben Ramdhane
9b2fdc3562
Ticket refs #2845 : fix add object issues
2020-08-31 10:22:31 +01:00
Feten Besbes
450f72bbde
Refs 27780 - TR181: Segfault starting icwmpd in basic bridge configuration
2020-08-28 18:12:09 +01:00
Daniel Danzberger
0e46e0630b
operate: fix memory issues
...
- Fix memleak of not free'd json_tokener_parse memory
- Make read-only memory const
Note that this commit changes the operation input argument from
'char *' to 'json_object *', which breaks older dynamic_operate
implementations from outisde the bbf source tree.
Signed-off-by: Daniel Danzberger <daniel@dd-wrt.com>
2020-08-27 12:43:48 +02:00
Daniel Danzberger
c1501b5077
tr181: implement Device.DeviceInfo.FirmwareImage.
...
This implementation uses the currently running image as image number 1.
An OS dependent implementation with multi Firmware support will be
added in the future.
Signed-off-by: Daniel Danzberger <daniel@dd-wrt.com>
2020-08-26 14:01:51 +02:00
Amin Ben Ramdhane
f9d2c345f1
Ticket refs #2974 : Referenced objects have trailing dot
2020-08-26 11:26:33 +01:00